diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-31 02:10:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-31 02:10:49 +0100 |
| commit | bb91a192c0b3b56d1cf88a1db13b767aa3c890d0 (patch) | |
| tree | 3fc1df65a23466e4b26f90b4858a42d0472607f1 /src/librustc_codegen_llvm | |
| parent | dfc8ff549fdcfadd67f7cd74b572e7ba7f17296f (diff) | |
| parent | a3f0af2e672055cddef1e87b56caff763322e6d9 (diff) | |
| download | rust-bb91a192c0b3b56d1cf88a1db13b767aa3c890d0.tar.gz rust-bb91a192c0b3b56d1cf88a1db13b767aa3c890d0.zip | |
Rollup merge of #57999 - jethrogb:jb/movbe-feature, r=alexcrichton
Add MOVBE x86 CPU feature I have no idea if this is correct. I basically copied the ADX feature. I verified the feature is also called `movbe` in LLVM. I marked this to become stable immediately, as part of the RFC 2045. r? @alexcrichton
Diffstat (limited to 'src/librustc_codegen_llvm')
| -rw-r--r-- | src/librustc_codegen_llvm/llvm_util.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs index e2d0e558d3b..b46e6ef84b9 100644 --- a/src/librustc_codegen_llvm/llvm_util.rs +++ b/src/librustc_codegen_llvm/llvm_util.rs @@ -147,6 +147,7 @@ const X86_WHITELIST: &[(&str, Option<&str>)] = &[ ("fxsr", None), ("lzcnt", None), ("mmx", Some("mmx_target_feature")), + ("movbe", Some("movbe_target_feature")), ("pclmulqdq", None), ("popcnt", None), ("rdrand", None), |
