We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c991b0 commit 47fc132Copy full SHA for 47fc132
compiler/rustc_codegen_llvm/src/llvm_util.rs
@@ -163,12 +163,6 @@ pub fn to_llvm_features<'a>(sess: &Session, s: &'a str) -> SmallVec<[&'a str; 2]
163
("x86", "rdrand") => smallvec!["rdrnd"],
164
("x86", "bmi1") => smallvec!["bmi"],
165
("x86", "cmpxchg16b") => smallvec!["cx16"],
166
- // FIXME: These aliases are misleading, and should be removed before avx512_target_feature is
167
- // stabilized. They must remain until std::arch switches off them.
168
- // rust#100752
169
- ("x86", "avx512vaes") => smallvec!["vaes"],
170
- ("x86", "avx512gfni") => smallvec!["gfni"],
171
- ("x86", "avx512vpclmulqdq") => smallvec!["vpclmulqdq"],
172
("aarch64", "rcpc2") => smallvec!["rcpc-immo"],
173
("aarch64", "dpb") => smallvec!["ccpp"],
174
("aarch64", "dpb2") => smallvec!["ccdp"],
compiler/rustc_codegen_ssa/src/target_features.rs
@@ -172,16 +172,13 @@ const X86_ALLOWED_FEATURES: &[(&str, Option<Symbol>)] = &[
("avx512dq", Some(sym::avx512_target_feature)),
("avx512er", Some(sym::avx512_target_feature)),
("avx512f", Some(sym::avx512_target_feature)),
175
- ("avx512gfni", Some(sym::avx512_target_feature)),
176
("avx512ifma", Some(sym::avx512_target_feature)),
177
("avx512pf", Some(sym::avx512_target_feature)),
178
- ("avx512vaes", Some(sym::avx512_target_feature)),
179
("avx512vbmi", Some(sym::avx512_target_feature)),
180
("avx512vbmi2", Some(sym::avx512_target_feature)),
181
("avx512vl", Some(sym::avx512_target_feature)),
182
("avx512vnni", Some(sym::avx512_target_feature)),
183
("avx512vp2intersect", Some(sym::avx512_target_feature)),
184
- ("avx512vpclmulqdq", Some(sym::avx512_target_feature)),
185
("avx512vpopcntdq", Some(sym::avx512_target_feature)),
186
("bmi1", None),
187
("bmi2", None),
0 commit comments