Skip to content

Commit fec654e

Browse files
Rollup merge of rust-lang#90079 - SparrowLii:i8mm, r=Amanieu
enable `i8mm` target feature on aarch64 and arm As in rust-lang/stdarch#1233, `i8mm` needs to be turned on to support the implementation of `vmmla` and `vusmmla`neon instructions in stdarch. r? `@Amanieu`
2 parents 56077b5 + b88fcc1 commit fec654e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_codegen_ssa/src/target_features.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
1919
("crypto", Some(sym::arm_target_feature)),
2020
("aes", Some(sym::arm_target_feature)),
2121
("sha2", Some(sym::arm_target_feature)),
22+
("i8mm", Some(sym::arm_target_feature)),
2223
("v5te", Some(sym::arm_target_feature)),
2324
("v6", Some(sym::arm_target_feature)),
2425
("v6k", Some(sym::arm_target_feature)),
@@ -90,7 +91,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
9091
// FEAT_FRINTTS
9192
("frintts", Some(sym::aarch64_target_feature)),
9293
// FEAT_I8MM
93-
// ("i8mm", Some(sym::aarch64_target_feature)),
94+
("i8mm", Some(sym::aarch64_target_feature)),
9495
// FEAT_F32MM
9596
// ("f32mm", Some(sym::aarch64_target_feature)),
9697
// FEAT_F64MM

0 commit comments

Comments
 (0)