Skip to content

Commit 2921fc1

Browse files
authored
Add Some new target features for x86
1 parent 67cfc3a commit 2921fc1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: compiler/rustc_target/src/target_features.rs

+13
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,11 @@ const X86_ALLOWED_FEATURES: &[(&str, Stability)] = &[
192192
// tidy-alphabetical-start
193193
("adx", Stable),
194194
("aes", Stable),
195+
("amx-bf16", Stable),
196+
("amx-complex", Stable),
197+
("amx-fp16", Stable),
198+
("amx-int8", Stable),
199+
("amx-tile", Stable),
195200
("avx", Stable),
196201
("avx2", Stable),
197202
("avx512bf16", Unstable(sym::avx512_target_feature)),
@@ -208,6 +213,11 @@ const X86_ALLOWED_FEATURES: &[(&str, Stability)] = &[
208213
("avx512vnni", Unstable(sym::avx512_target_feature)),
209214
("avx512vp2intersect", Unstable(sym::avx512_target_feature)),
210215
("avx512vpopcntdq", Unstable(sym::avx512_target_feature)),
216+
("avxifma", Unstable(sym::avx512_target_feature)),
217+
("avxneconvert", Unstable(sym::avx512_target_feature)),
218+
("avxvnni", Unstable(sym::avx512_target_feature)),
219+
("avxvnniint16", Unstable(sym::avx512_target_feature)),
220+
("avxvnniint8", Unstable(sym::avx512_target_feature)),
211221
("bmi1", Stable),
212222
("bmi2", Stable),
213223
("cmpxchg16b", Stable),
@@ -226,6 +236,9 @@ const X86_ALLOWED_FEATURES: &[(&str, Stability)] = &[
226236
("rdseed", Stable),
227237
("rtm", Unstable(sym::rtm_target_feature)),
228238
("sha", Stable),
239+
("sha512", Stable),
240+
("sm3", Stable),
241+
("sm4", Stable),
229242
("sse", Stable),
230243
("sse2", Stable),
231244
("sse3", Stable),

0 commit comments

Comments
 (0)