]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_ssa/src/target_features.rs
Remove the reg_thumb register class for asm! on ARM
[rust.git] / compiler / rustc_codegen_ssa / src / target_features.rs
index b4420df5df417a67196e3b4c70c7013449ea2cff..ba72e3cfafce2e01bdc607ee1978f4a4c69b6218 100644 (file)
@@ -35,6 +35,7 @@
     // since it should be enabled per-function using #[instruction_set], not
     // #[target_feature].
     ("thumb-mode", Some(sym::arm_target_feature)),
+    ("thumb2", Some(sym::arm_target_feature)),
 ];
 
 const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[