diff options
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 1 | ||||
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/target_features.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index c734d3e0af9..6394f15f6a9 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -156,6 +156,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str { ("aarch64", "rcpc2") => "rcpc-immo", ("aarch64", "dpb") => "ccpp", ("aarch64", "dpb2") => "ccdp", + ("aarch64", "frintts") => "fptoint", ("aarch64", "fcma") => "complxnum", (_, s) => s, } diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index 5a8f0b6d6db..646f21fa10f 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -88,7 +88,7 @@ const AARCH64_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ // FEAT_SVE2_BitPerm ("sve2-bitperm", Some(sym::aarch64_target_feature)), // FEAT_FRINTTS - ("fptoint", Some(sym::aarch64_target_feature)), + ("frintts", Some(sym::aarch64_target_feature)), // FEAT_I8MM // ("i8mm", Some(sym::aarch64_target_feature)), // FEAT_F32MM |
