]> 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 caeeb23feb471bf48f86dcc753c44daf94adf7b1..ba72e3cfafce2e01bdc607ee1978f4a4c69b6218 100644 (file)
@@ -20,6 +20,7 @@
     ("aes", Some(sym::arm_target_feature)),
     ("sha2", Some(sym::arm_target_feature)),
     ("i8mm", Some(sym::arm_target_feature)),
+    ("dotprod", Some(sym::arm_target_feature)),
     ("v5te", Some(sym::arm_target_feature)),
     ("v6", Some(sym::arm_target_feature)),
     ("v6k", Some(sym::arm_target_feature)),
@@ -34,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>)] = &[