diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-10 21:15:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 21:15:44 +0100 |
| commit | 93316d7f28b06ac2cc86526dec143952ad2a4b25 (patch) | |
| tree | ebf13e37584221633299dc40b92f6e625f182a16 /compiler/rustc_codegen_ssa | |
| parent | b5de0089e1fffe344edb26b2b633961da986c05e (diff) | |
| parent | d3cbedd49eeb3d4495902ba7fc0f593460b18599 (diff) | |
| download | rust-93316d7f28b06ac2cc86526dec143952ad2a4b25.tar.gz rust-93316d7f28b06ac2cc86526dec143952ad2a4b25.zip | |
Rollup merge of #107711 - calebzulawski:movbe, r=pnkfelix
Stabilize movbe target feature Almost all "old" x86 target features are stable. As far as I can tell, these are the last two unstable features in the `x86-64-v2` or `x86-64-v3` microarchitecture levels, so I'm not sure if it was an oversight or if they're still unstable for a reason (see #106323 for `f16c`). Note that this only stabilizes the target features, and not the intrinsics. cc ```@Amanieu``` r? ```@rust-lang/lang```
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/target_features.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_ssa/src/target_features.rs b/compiler/rustc_codegen_ssa/src/target_features.rs index 576e90ae66b..ac61f04ae69 100644 --- a/compiler/rustc_codegen_ssa/src/target_features.rs +++ b/compiler/rustc_codegen_ssa/src/target_features.rs @@ -192,7 +192,7 @@ const X86_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[ ("fxsr", None), ("gfni", Some(sym::avx512_target_feature)), ("lzcnt", None), - ("movbe", Some(sym::movbe_target_feature)), + ("movbe", None), ("pclmulqdq", None), ("popcnt", None), ("rdrand", None), @@ -394,7 +394,6 @@ pub fn from_target_feature( Some(sym::sse4a_target_feature) => rust_features.sse4a_target_feature, Some(sym::tbm_target_feature) => rust_features.tbm_target_feature, Some(sym::wasm_target_feature) => rust_features.wasm_target_feature, - Some(sym::movbe_target_feature) => rust_features.movbe_target_feature, Some(sym::rtm_target_feature) => rust_features.rtm_target_feature, Some(sym::ermsb_target_feature) => rust_features.ermsb_target_feature, Some(sym::bpf_target_feature) => rust_features.bpf_target_feature, |
