From 14007eca0a3e6cbf040158c6af124c0063deb007 Mon Sep 17 00:00:00 2001 From: SparrowLii Date: Wed, 20 Oct 2021 10:19:23 +0800 Subject: [PATCH 1/2] enable `i8mm` target feature on aarch64 --- compiler/rustc_codegen_ssa/src/target_features.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index 8d7e9612f4749..109bd15f12f89 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -90,7 +90,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option)] = &[ // FEAT_FRINTTS ("frintts", Some(sym::aarch64_target_feature)), // FEAT_I8MM - // ("i8mm", Some(sym::aarch64_target_feature)), + ("i8mm", Some(sym::aarch64_target_feature)), // FEAT_F32MM // ("f32mm", Some(sym::aarch64_target_feature)), // FEAT_F64MM From b88fcc1ea3d9637bd3c1d6860d15718b0f21f92a Mon Sep 17 00:00:00 2001 From: SparrowLii Date: Mon, 25 Oct 2021 15:10:14 +0800 Subject: [PATCH 2/2] enable `i8mm` on arm --- compiler/rustc_codegen_ssa/src/target_features.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index 109bd15f12f89..dbffb266be88c 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -19,6 +19,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option)] = &[ ("crypto", Some(sym::arm_target_feature)), ("aes", Some(sym::arm_target_feature)), ("sha2", Some(sym::arm_target_feature)), + ("i8mm", Some(sym::arm_target_feature)), ("v5te", Some(sym::arm_target_feature)), ("v6", Some(sym::arm_target_feature)), ("v6k", Some(sym::arm_target_feature)),