diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-04-04 00:19:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-04 00:19:39 +0900 |
| commit | d0266e3c1bfab9747e362f0cdc4c0ac9a2d560a2 (patch) | |
| tree | 611f328e94e87c9de12a4a45d6208c58b3f35bd1 /compiler/rustc_codegen_ssa/src | |
| parent | 6a436aaabfa81d5f5030e128aea1705aa940d0b3 (diff) | |
| parent | 944b53eb75e7b7e64fa8479f06aeaca0fd7e34bb (diff) | |
| download | rust-d0266e3c1bfab9747e362f0cdc4c0ac9a2d560a2.tar.gz rust-d0266e3c1bfab9747e362f0cdc4c0ac9a2d560a2.zip | |
Rollup merge of #83803 - surechen:add_target_feature, r=petrochenkov
add fp-armv8 for ARM_ALLOWED_FEATURES For fixing err in https://github.com/rust-lang/stdarch/pull/1105.
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]. |
