Skip to content

Commit c413b2f

Browse files
committed
Update platform-support.md to reflect improvements in returning floats on 32-bit x86
1 parent 1c8af5b commit c413b2f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

+5-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

@@ -203,6 +203,9 @@ target | std | notes
203203
[`x86_64-unknown-uefi`](platform-support/unknown-uefi.md) | ? | 64-bit UEFI
204204

205205
[^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].
206+
207+
[x86-32-float-issue]: https://github.com/rust-lang/rust/issues/114479]
208+
206209
[wasi-rename]: https://github.com/rust-lang/compiler-team/issues/607
207210

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

0 commit comments

Comments
 (0)