mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
c6727fc9b5
Ensure floats are returned losslessly by the Rust ABI on 32-bit x86 Solves #115567 for the (default) `"Rust"` ABI. When compiling for 32-bit x86, this PR changes the `"Rust"` ABI to return floats indirectly instead of in x87 registers (with the exception of single `f32`s, which this PR returns in general purpose registers as they are small enough to fit in one). No change is made to the `"C"` ABI as that ABI requires x87 register usage and therefore will need a different solution. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |