Skip to content

Commit bc45080

Browse files
Tropix126max-niederman
authored andcommitted
adjust armv7a-vex-v5 target features for more aggressive hardware optimization
1 parent f1c1755 commit bc45080

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ pub(crate) fn target() -> Target {
1515
data_layout: "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64".into(),
1616
arch: "arm".into(),
1717
options: TargetOptions {
18-
abi: "eabi".into(),
18+
cpu: "cortex-a9".into(),
19+
abi: "eabihf".into(),
1920
linker_flavor: LinkerFlavor::Gnu(Cc::No, Lld::Yes),
2021
linker: Some("rust-lld".into()),
2122
link_script: Some(LINK_SCRIPT.into()),
22-
features: "+v7,+thumb2,+soft-float,-neon,+strict-align".into(),
23+
features: "+v7,+thumb2,+vfp3,+neon".into(),
2324
relocation_model: RelocModel::Static,
2425
disable_redzone: true,
2526
max_atomic_width: Some(64),

0 commit comments

Comments
 (0)