about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorSparrowLii <liyuan179@huawei.com>2021-11-08 16:24:50 +0800
committerSparrowLii <liyuan179@huawei.com>2021-11-08 16:24:50 +0800
commit03f4fe6a66c1feec7fab81a383467c37ab23e3b7 (patch)
tree631052586ec8e746430c90108ea8ff25ecbf6bd9 /compiler/rustc_codegen_ssa/src
parent43192ca3d72ed0ca42ba913137585219ba0a691f (diff)
downloadrust-03f4fe6a66c1feec7fab81a383467c37ab23e3b7.tar.gz
rust-03f4fe6a66c1feec7fab81a383467c37ab23e3b7.zip
enable `dotprod` target feature in arm
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/target_features.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs
index caeeb23feb4..b4420df5df4 100644
--- a/compiler/rustc_codegen_ssa/src/target_features.rs
+++ b/compiler/rustc_codegen_ssa/src/target_features.rs
@@ -20,6 +20,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     ("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)),