@@ -212,9 +212,6 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
212
212
( "flagm2" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
213
213
// We forbid directly toggling just `fp-armv8`; it must be toggled with `neon`.
214
214
( "fp-armv8" , Stability :: Forbidden { reason : "Rust ties `fp-armv8` to `neon`" } , & [ ] ) ,
215
- // FEAT_FP16
216
- // Rust ties FP and Neon: https://github.com/rust-lang/rust/pull/91608
217
- ( "fp16" , Stable , & [ "neon" ] ) ,
218
215
// FEAT_FP8
219
216
( "fp8" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "faminmax" , "lut" , "bf16" ] ) ,
220
217
// FEAT_FP8DOT2
@@ -223,6 +220,9 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
223
220
( "fp8dot4" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "fp8fma" ] ) ,
224
221
// FEAT_FP8FMA
225
222
( "fp8fma" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "fp8" ] ) ,
223
+ // FEAT_FP16
224
+ // Rust ties FP and Neon: https://github.com/rust-lang/rust/pull/91608
225
+ ( "fp16" , Stable , & [ "neon" ] ) ,
226
226
// FEAT_FRINTTS
227
227
( "frintts" , Stable , & [ ] ) ,
228
228
// FEAT_HBC
@@ -236,10 +236,10 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
236
236
( "lor" , Stable , & [ ] ) ,
237
237
// FEAT_LSE
238
238
( "lse" , Stable , & [ ] ) ,
239
- // FEAT_LSE128
240
- ( "lse128" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "lse" ] ) ,
241
239
// FEAT_LSE2
242
240
( "lse2" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
241
+ // FEAT_LSE128
242
+ ( "lse128" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "lse" ] ) ,
243
243
// FEAT_LUT
244
244
( "lut" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
245
245
// FEAT_MOPS
@@ -283,14 +283,14 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
283
283
( "sme" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "bf16" ] ) ,
284
284
// FEAT_SME_B16B16
285
285
( "sme-b16b16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "bf16" , "sme2" , "sve-b16b16" ] ) ,
286
- // FEAT_SME_F16F16
287
- ( "sme-f16f16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme2" ] ) ,
288
- // FEAT_SME_F64F64
289
- ( "sme-f64f64" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme" ] ) ,
290
286
// FEAT_SME_F8F16
291
287
( "sme-f8f16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme-f8f32" ] ) ,
292
288
// FEAT_SME_F8F32
293
289
( "sme-f8f32" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme2" , "fp8" ] ) ,
290
+ // FEAT_SME_F16F16
291
+ ( "sme-f16f16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme2" ] ) ,
292
+ // FEAT_SME_F64F64
293
+ ( "sme-f64f64" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme" ] ) ,
294
294
// FEAT_SME_FA64
295
295
( "sme-fa64" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme" , "sve2" ] ) ,
296
296
// FEAT_SME_I16I64
@@ -376,15 +376,16 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
376
376
( "amx-avx512" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
377
377
( "amx-bf16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
378
378
( "amx-complex" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
379
- ( "amx-fp16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
380
379
( "amx-fp8" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
380
+ ( "amx-fp16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
381
381
( "amx-int8" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
382
382
( "amx-movrs" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
383
383
( "amx-tf32" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
384
384
( "amx-tile" , Unstable ( sym:: x86_amx_intrinsics) , & [ ] ) ,
385
385
( "amx-transpose" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
386
386
( "apxf" , Unstable ( sym:: apx_target_feature) , & [ ] ) ,
387
387
( "avx" , Stable , & [ "sse4.2" ] ) ,
388
+ ( "avx2" , Stable , & [ "avx" ] ) ,
388
389
(
389
390
"avx10.1" ,
390
391
Unstable ( sym:: avx10_target_feature) ,
@@ -405,7 +406,6 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
405
406
] ,
406
407
) ,
407
408
( "avx10.2" , Unstable ( sym:: avx10_target_feature) , & [ "avx10.1" ] ) ,
408
- ( "avx2" , Stable , & [ "avx" ] ) ,
409
409
( "avx512bf16" , Stable , & [ "avx512bw" ] ) ,
410
410
( "avx512bitalg" , Stable , & [ "avx512bw" ] ) ,
411
411
( "avx512bw" , Stable , & [ "avx512f" ] ) ,
@@ -423,8 +423,8 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
423
423
( "avxifma" , Stable , & [ "avx2" ] ) ,
424
424
( "avxneconvert" , Stable , & [ "avx2" ] ) ,
425
425
( "avxvnni" , Stable , & [ "avx2" ] ) ,
426
- ( "avxvnniint16" , Stable , & [ "avx2" ] ) ,
427
426
( "avxvnniint8" , Stable , & [ "avx2" ] ) ,
427
+ ( "avxvnniint16" , Stable , & [ "avx2" ] ) ,
428
428
( "bmi1" , Stable , & [ ] ) ,
429
429
( "bmi2" , Stable , & [ ] ) ,
430
430
( "cmpxchg16b" , Stable , & [ ] ) ,
@@ -498,12 +498,12 @@ static POWERPC_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
498
498
( "altivec" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
499
499
( "msync" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
500
500
( "partword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
501
- ( "power10-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power9-vector" ] ) ,
502
501
( "power8-altivec" , Unstable ( sym:: powerpc_target_feature) , & [ "altivec" ] ) ,
503
502
( "power8-crypto" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-altivec" ] ) ,
504
503
( "power8-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "vsx" , "power8-altivec" ] ) ,
505
504
( "power9-altivec" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-altivec" ] ) ,
506
505
( "power9-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-vector" , "power9-altivec" ] ) ,
506
+ ( "power10-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power9-vector" ] ) ,
507
507
( "quadword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
508
508
( "vsx" , Unstable ( sym:: powerpc_target_feature) , & [ "altivec" ] ) ,
509
509
// tidy-alphabetical-end
@@ -535,8 +535,8 @@ static RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
535
535
( "unaligned-scalar-mem" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
536
536
( "unaligned-vector-mem" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
537
537
( "v" , Unstable ( sym:: riscv_target_feature) , & [ "zvl128b" , "zve64d" ] ) ,
538
- ( "za128rs" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
539
538
( "za64rs" , Unstable ( sym:: riscv_target_feature) , & [ "za128rs" ] ) , // Za64rs ⊃ Za128rs
539
+ ( "za128rs" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
540
540
( "zaamo" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
541
541
( "zabha" , Unstable ( sym:: riscv_target_feature) , & [ "zaamo" ] ) ,
542
542
( "zacas" , Unstable ( sym:: riscv_target_feature) , & [ "zaamo" ] ) ,
@@ -613,18 +613,18 @@ static RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
613
613
( "zvksg" , Unstable ( sym:: riscv_target_feature) , & [ "zvks" , "zvkg" ] ) ,
614
614
( "zvksh" , Unstable ( sym:: riscv_target_feature) , & [ "zve32x" ] ) ,
615
615
( "zvkt" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
616
- ( "zvl1024b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl512b" ] ) ,
616
+ ( "zvl32b" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
617
+ ( "zvl64b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32b" ] ) ,
617
618
( "zvl128b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl64b" ] ) ,
618
- ( "zvl16384b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl8192b" ] ) ,
619
- ( "zvl2048b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl1024b" ] ) ,
620
619
( "zvl256b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl128b" ] ) ,
621
- ( "zvl32768b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl16384b" ] ) ,
622
- ( "zvl32b" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
623
- ( "zvl4096b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl2048b" ] ) ,
624
620
( "zvl512b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl256b" ] ) ,
625
- ( "zvl64b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32b" ] ) ,
626
- ( "zvl65536b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32768b" ] ) ,
621
+ ( "zvl1024b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl512b" ] ) ,
622
+ ( "zvl2048b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl1024b" ] ) ,
623
+ ( "zvl4096b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl2048b" ] ) ,
627
624
( "zvl8192b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl4096b" ] ) ,
625
+ ( "zvl16384b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl8192b" ] ) ,
626
+ ( "zvl32768b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl16384b" ] ) ,
627
+ ( "zvl65536b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32768b" ] ) ,
628
628
// tidy-alphabetical-end
629
629
] ;
630
630
@@ -651,13 +651,13 @@ const BPF_FEATURES: &[(&str, Stability, ImpliedFeatures)] =
651
651
652
652
static CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
653
653
// tidy-alphabetical-start
654
- ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
655
654
( "2e3" , Unstable ( sym:: csky_target_feature) , & [ "e2" ] ) ,
656
655
( "3e3r1" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
657
656
( "3e3r2" , Unstable ( sym:: csky_target_feature) , & [ "3e3r1" , "doloop" ] ) ,
658
657
( "3e3r3" , Unstable ( sym:: csky_target_feature) , & [ "doloop" ] ) ,
659
658
( "3e7" , Unstable ( sym:: csky_target_feature) , & [ "2e3" ] ) ,
660
659
( "7e10" , Unstable ( sym:: csky_target_feature) , & [ "3e7" ] ) ,
660
+ ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
661
661
( "cache" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
662
662
( "doloop" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
663
663
( "dsp1e2" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
@@ -726,12 +726,12 @@ const IBMZ_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
726
726
( "guarded-storage" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
727
727
( "high-word" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
728
728
// LLVM does not define message-security-assist-extension versions 1, 2, 6, 10 and 11.
729
- ( "message-security-assist-extension12" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
730
729
( "message-security-assist-extension3" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
731
730
( "message-security-assist-extension4" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
732
731
( "message-security-assist-extension5" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
733
732
( "message-security-assist-extension8" , Unstable ( sym:: s390x_target_feature) , & [ "message-security-assist-extension3" ] ) ,
734
733
( "message-security-assist-extension9" , Unstable ( sym:: s390x_target_feature) , & [ "message-security-assist-extension3" , "message-security-assist-extension4" ] ) ,
734
+ ( "message-security-assist-extension12" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
735
735
( "miscellaneous-extensions-2" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
736
736
( "miscellaneous-extensions-3" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
737
737
( "miscellaneous-extensions-4" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
0 commit comments