diff options
| author | Adam Gemmell <adam.gemmell@arm.com> | 2021-04-28 17:54:44 +0100 |
|---|---|---|
| committer | Adam Gemmell <adam.gemmell@arm.com> | 2021-04-28 17:54:44 +0100 |
| commit | 3f5f54cd8bf73e7a271955582834fda9e707429d (patch) | |
| tree | 1741848e205de4d559a56cb4653708d7e2e8e666 /compiler/rustc_codegen_llvm/src | |
| parent | 20040fa332c04b2d17925345163957d196cfbfe6 (diff) | |
| download | rust-3f5f54cd8bf73e7a271955582834fda9e707429d.tar.gz rust-3f5f54cd8bf73e7a271955582834fda9e707429d.zip | |
Update list of allowed aarch64 features
These features were recently added to std_detect. Features not supported by LLVM 9, the current minimum version for Rust, are commented.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm_util.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm_util.rs b/compiler/rustc_codegen_llvm/src/llvm_util.rs index b44553e4f6d..f0a2c91c018 100644 --- a/compiler/rustc_codegen_llvm/src/llvm_util.rs +++ b/compiler/rustc_codegen_llvm/src/llvm_util.rs @@ -152,6 +152,12 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str { ("x86", "avx512vpclmulqdq") => "vpclmulqdq", ("aarch64", "fp") => "fp-armv8", ("aarch64", "fp16") => "fullfp16", + ("aarch64", "fhm") => "fp16fml", + ("aarch64", "lse2") => "outline-atomics", + ("aarch64", "rcpc2") => "rcpc-immo", + ("aarch64", "dpb") => "ccpp", + ("aarch64", "dpb2") => "ccdp", + ("aarch64", "fcma") => "complxnum", (_, s) => s, } } |
