You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
armv7a-none-eabi sets both fpregs and soft-float features #162471
Not enabling fp registers at all would be consistent with the aarch64 softfloat targets. The platform support docs say this:
Rust targets ending with eabi use the so-called soft-float ABI: functions which take f32 or f64 as arguments will have those values packed into integer registers. This means that an FPU is not required from an ABI perspective, but within a function floating-point instructions may still be used if the code is compiled with a target-cpu or target-feature option that enables FPU support.
which implies that this behaviour wasn't intended to be the default.
Activity
jonathanpallant commentedon Sep 8, 2026
Spotted whilst reviewing #160911
cc @adamgemmell
adamgemmell commentedon Sep 8, 2026
Not enabling fp registers at all would be consistent with the aarch64 softfloat targets. The platform support docs say this:
which implies that this behaviour wasn't intended to be the default.
jonathanpallant commentedon Sep 8, 2026
I would be surprised if I was using an
*-eabitarget andrustclet me use FPU registers in an inline assembly block.Which this target currently allows: https://rust.godbolt.org/z/z4s9Yabsr
jonathanpallant commentedon Sep 8, 2026
I think this will do the trick: