Skip to content

Commit 0e1c832

Browse files
committed
Update platform-support.md to reflect improvements in returning floats on 32-bit x86
1 parent 952becc commit 0e1c832

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/doc/rustc/src/platform-support.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ target | notes
4141
`x86_64-pc-windows-msvc` | 64-bit MSVC (Windows 10+)
4242
`x86_64-unknown-linux-gnu` | 64-bit Linux (kernel 3.2+, glibc 2.17+)
4343

44-
[^x86_32-floats-return-ABI]: Due to limitations of the C ABI, floating-point support on `i686` targets is non-compliant: floating-point return values are passed via an x87 register, so NaN payload bits can be lost. See [issue #114479][x86-32-float-issue].
44+
[^x86_32-floats-return-ABI]: Due to limitations of the C ABI, floating-point support on `i686` targets is non-compliant: floating-point return values are passed via an x87 register, so NaN payload bits can be lost. Functions with the default Rust ABI are not affected. See [issue #115567][x86-32-float-return-issue].
4545

4646
[77071]: https://github.com/rust-lang/rust/issues/77071
47-
[x86-32-float-issue]: https://github.com/rust-lang/rust/issues/114479
47+
[x86-32-float-return-issue]: https://github.com/rust-lang/rust/issues/115567
4848

4949
## Tier 1
5050

@@ -207,6 +207,8 @@ target | std | notes
207207

208208
[^x86_32-floats-x87]: Floating-point support on `i586` targets is non-compliant: the `x87` registers and instructions used for these targets do not provide IEEE-754-compliant behavior, in particular when it comes to rounding and NaN payload bits. See [issue #114479][x86-32-float-issue].
209209

210+
[x86-32-float-issue]: https://github.com/rust-lang/rust/issues/114479
211+
210212
[wasi-rename]: https://github.com/rust-lang/compiler-team/issues/607
211213

212214
[Fortanix ABI]: https://edp.fortanix.com/

0 commit comments

Comments
 (0)