diff options
| author | surechen <chenshuo17@huawei.com> | 2021-04-03 15:50:59 +0800 |
|---|---|---|
| committer | surechen <chenshuo17@huawei.com> | 2021-04-03 15:50:59 +0800 |
| commit | 944b53eb75e7b7e64fa8479f06aeaca0fd7e34bb (patch) | |
| tree | bb1c9e058d74b105e0cdb4935d79502cba337018 /compiler/rustc_codegen_ssa/src | |
| parent | 138fd56cf9598b4bf016634c768dca128a83a5d7 (diff) | |
| download | rust-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.rs | 1 |
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]. |
