vfp2sp is the LLVM target feature that enables hard float operations on f32. It is implied by vfp2 (f32 and f64 operations) which is in the baseline for targets like armv7-unknown-linux-gnueabihf, but vfp2sp is also in the baseline of a number of targets that don't have vfp2 such as thumbv7em-none-eabihf.
We should expose this so it's possible to gate 32-bit hard float operations on cfg(target_feature = "vfp2sp").
Some context at rust-lang/compiler-builtins#1300 (comment).
@rustbot ping arm-maintainers
vfp2spis the LLVM target feature that enables hard float operations onf32. It is implied byvfp2(f32 and f64 operations) which is in the baseline for targets likearmv7-unknown-linux-gnueabihf, butvfp2spis also in the baseline of a number of targets that don't havevfp2such asthumbv7em-none-eabihf.We should expose this so it's possible to gate 32-bit hard float operations on
cfg(target_feature = "vfp2sp").Some context at rust-lang/compiler-builtins#1300 (comment).
@rustbot ping arm-maintainers