Skip to content

Commit 753936f

Browse files
authored
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`
2 parents c2f095a + 03f4fe6 commit 753936f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_codegen_ssa/src/target_features.rs

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
2020
("aes", Some(sym::arm_target_feature)),
2121
("sha2", Some(sym::arm_target_feature)),
2222
("i8mm", Some(sym::arm_target_feature)),
23+
("dotprod", Some(sym::arm_target_feature)),
2324
("v5te", Some(sym::arm_target_feature)),
2425
("v6", Some(sym::arm_target_feature)),
2526
("v6k", Some(sym::arm_target_feature)),

0 commit comments

Comments
 (0)