Skip to content

Commit ed57739

Browse files
committed
switch to +vfp3d16 LLVM feature in armv7a-vex-v5
The Cortex-A9 only has 16 double-precision registers (`d0`-`d15`), so this is the correct VFP instructionset to use.
1 parent 034467f commit ed57739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/spec/targets/armv7a_vex_v5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub(crate) fn target() -> Target {
2121
env: "v5".into(),
2222
cpu: "cortex-a9".into(),
2323
abi: "eabihf".into(),
24-
features: "+v7,+neon,+vfp3,+thumb2".into(),
24+
features: "+v7,+neon,+vfp3d16,+thumb2".into(),
2525
linker: Some("rust-lld".into()),
2626
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
2727
link_script: Some(LINK_SCRIPT.into()),

0 commit comments

Comments
 (0)