about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-11-09 22:02:24 +0900
committerGitHub <noreply@github.com>2021-11-09 22:02:24 +0900
commit753936f7690d4f5eccf54da37dcec3ed1b082bad (patch)
tree4d8e8324fa0093bf87a5228d4697e115f145bec2 /compiler/rustc_codegen_ssa/src
parentc2f095a37bd566be1f3fdb5b586025c724f25684 (diff)
parent03f4fe6a66c1feec7fab81a383467c37ab23e3b7 (diff)
downloadrust-753936f7690d4f5eccf54da37dcec3ed1b082bad.tar.gz
rust-753936f7690d4f5eccf54da37dcec3ed1b082bad.zip
Rollup merge of #90688 - SparrowLii:dotprod, r=Amanieu
enable `dotprod` target feature in arm

To implement `vdot` neon insturction in stdarch, we need to enable `dotprod` target feature in arm in rustc.
r? `@Amanieu`
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)),