mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
abi.rs | ||
assoc.rs | ||
common_traits.rs | ||
consts.rs | ||
errors.rs | ||
implied_bounds.rs | ||
instance.rs | ||
layout_sanity_check.rs | ||
layout.rs | ||
lib.rs | ||
needs_drop.rs | ||
opaque_types.rs | ||
representability.rs | ||
sig_types.rs | ||
structural_match.rs | ||
ty.rs |