]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #90688 - SparrowLii:dotprod, r=Amanieu
authorYuki Okushi <jtitor@2k36.org>
Tue, 9 Nov 2021 13:02:24 +0000 (22:02 +0900)
committerGitHub <noreply@github.com>
Tue, 9 Nov 2021 13:02:24 +0000 (22:02 +0900)
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`

compiler/rustc_codegen_ssa/src/target_features.rs

index caeeb23feb471bf48f86dcc753c44daf94adf7b1..b4420df5df417a67196e3b4c70c7013449ea2cff 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)),