about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
diff options
context:
space:
mode:
authorsurechen <chenshuo17@huawei.com>2021-04-03 15:50:59 +0800
committersurechen <chenshuo17@huawei.com>2021-04-03 15:50:59 +0800
commit944b53eb75e7b7e64fa8479f06aeaca0fd7e34bb (patch)
treebb1c9e058d74b105e0cdb4935d79502cba337018 /compiler/rustc_codegen_ssa/src
parent138fd56cf9598b4bf016634c768dca128a83a5d7 (diff)
downloadrust-944b53eb75e7b7e64fa8479f06aeaca0fd7e34bb.tar.gz
rust-944b53eb75e7b7e64fa8479f06aeaca0fd7e34bb.zip
add fp-armv8 for ARM_ALLOWED_FEATURES
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-rw-r--r--compiler/rustc_codegen_ssa/src/target_features.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs
index fd18f42f2dd..a69e6d2b86d 100644
--- a/compiler/rustc_codegen_ssa/src/target_features.rs
+++ b/compiler/rustc_codegen_ssa/src/target_features.rs
@@ -26,6 +26,7 @@ const ARM_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
     ("vfp2", Some(sym::arm_target_feature)),
     ("vfp3", Some(sym::arm_target_feature)),
     ("vfp4", Some(sym::arm_target_feature)),
+    ("fp-armv8", Some(sym::arm_target_feature)),
     // This is needed for inline assembly, but shouldn't be stabilized as-is
     // since it should be enabled per-function using #[instruction_set], not
     // #[target_feature].