Rollup merge of #48565 - alexcrichton:rename-bmi, r=cramertj
rustc: Rename `bmi` feature to `bmi1`
This is what [Intel calls it][bmi1] and will [remove a special case][stdsimd]
when verifying intrinsics in stdsimd.
[bmi1]: https://software.intel.com/sites/landingpage/IntrinsicsGuide/#othertechs=BMI1
[stdsimd]: bed25b2a9f/crates/stdsimd-verify/tests/x86-intel.rs (L252-L258)
This commit is contained in:
commit
fed0c4201c
@ -87,7 +87,7 @@ unsafe fn configure_llvm(sess: &Session) {
|
||||
"avx512cd", "avx512dq", "avx512er",
|
||||
"avx512f", "avx512ifma", "avx512pf",
|
||||
"avx512vbmi", "avx512vl", "avx512vpopcntdq",
|
||||
"bmi", "bmi2", "fma", "fxsr",
|
||||
"bmi1", "bmi2", "fma", "fxsr",
|
||||
"lzcnt", "mmx", "pclmulqdq",
|
||||
"popcnt", "rdrand", "rdseed",
|
||||
"sse", "sse2", "sse3", "sse4.1",
|
||||
@ -108,6 +108,7 @@ pub fn to_llvm_feature(s: &str) -> &str {
|
||||
match s {
|
||||
"pclmulqdq" => "pclmul",
|
||||
"rdrand" => "rdrnd",
|
||||
"bmi1" => "bmi",
|
||||
s => s,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user