@@ -217,9 +217,6 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
217
217
( "flagm2" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
218
218
// We forbid directly toggling just `fp-armv8`; it must be toggled with `neon`.
219
219
( "fp-armv8" , Stability :: Forbidden { reason : "Rust ties `fp-armv8` to `neon`" } , & [ ] ) ,
220
- // FEAT_FP16
221
- // Rust ties FP and Neon: https://github.com/rust-lang/rust/pull/91608
222
- ( "fp16" , Stable , & [ "neon" ] ) ,
223
220
// FEAT_FP8
224
221
( "fp8" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "faminmax" , "lut" , "bf16" ] ) ,
225
222
// FEAT_FP8DOT2
@@ -228,6 +225,9 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
228
225
( "fp8dot4" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "fp8fma" ] ) ,
229
226
// FEAT_FP8FMA
230
227
( "fp8fma" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "fp8" ] ) ,
228
+ // FEAT_FP16
229
+ // Rust ties FP and Neon: https://github.com/rust-lang/rust/pull/91608
230
+ ( "fp16" , Stable , & [ "neon" ] ) ,
231
231
// FEAT_FRINTTS
232
232
( "frintts" , Stable , & [ ] ) ,
233
233
// FEAT_HBC
@@ -241,10 +241,10 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
241
241
( "lor" , Stable , & [ ] ) ,
242
242
// FEAT_LSE
243
243
( "lse" , Stable , & [ ] ) ,
244
- // FEAT_LSE128
245
- ( "lse128" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "lse" ] ) ,
246
244
// FEAT_LSE2
247
245
( "lse2" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
246
+ // FEAT_LSE128
247
+ ( "lse128" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "lse" ] ) ,
248
248
// FEAT_LUT
249
249
( "lut" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
250
250
// FEAT_MOPS
@@ -293,14 +293,14 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
293
293
( "sme" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "bf16" ] ) ,
294
294
// FEAT_SME_B16B16
295
295
( "sme-b16b16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "bf16" , "sme2" , "sve-b16b16" ] ) ,
296
- // FEAT_SME_F16F16
297
- ( "sme-f16f16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme2" ] ) ,
298
- // FEAT_SME_F64F64
299
- ( "sme-f64f64" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme" ] ) ,
300
296
// FEAT_SME_F8F16
301
297
( "sme-f8f16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme-f8f32" ] ) ,
302
298
// FEAT_SME_F8F32
303
299
( "sme-f8f32" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme2" , "fp8" ] ) ,
300
+ // FEAT_SME_F16F16
301
+ ( "sme-f16f16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme2" ] ) ,
302
+ // FEAT_SME_F64F64
303
+ ( "sme-f64f64" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme" ] ) ,
304
304
// FEAT_SME_FA64
305
305
( "sme-fa64" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme" , "sve2" ] ) ,
306
306
// FEAT_SME_I16I64
@@ -386,15 +386,16 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
386
386
( "amx-avx512" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
387
387
( "amx-bf16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
388
388
( "amx-complex" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
389
- ( "amx-fp16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
390
389
( "amx-fp8" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
390
+ ( "amx-fp16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
391
391
( "amx-int8" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
392
392
( "amx-movrs" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
393
393
( "amx-tf32" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
394
394
( "amx-tile" , Unstable ( sym:: x86_amx_intrinsics) , & [ ] ) ,
395
395
( "amx-transpose" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
396
396
( "apxf" , Unstable ( sym:: apx_target_feature) , & [ ] ) ,
397
397
( "avx" , Stable , & [ "sse4.2" ] ) ,
398
+ ( "avx2" , Stable , & [ "avx" ] ) ,
398
399
(
399
400
"avx10.1" ,
400
401
Unstable ( sym:: avx10_target_feature) ,
@@ -415,7 +416,6 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
415
416
] ,
416
417
) ,
417
418
( "avx10.2" , Unstable ( sym:: avx10_target_feature) , & [ "avx10.1" ] ) ,
418
- ( "avx2" , Stable , & [ "avx" ] ) ,
419
419
( "avx512bf16" , Stable , & [ "avx512bw" ] ) ,
420
420
( "avx512bitalg" , Stable , & [ "avx512bw" ] ) ,
421
421
( "avx512bw" , Stable , & [ "avx512f" ] ) ,
@@ -433,8 +433,8 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
433
433
( "avxifma" , Stable , & [ "avx2" ] ) ,
434
434
( "avxneconvert" , Stable , & [ "avx2" ] ) ,
435
435
( "avxvnni" , Stable , & [ "avx2" ] ) ,
436
- ( "avxvnniint16" , Stable , & [ "avx2" ] ) ,
437
436
( "avxvnniint8" , Stable , & [ "avx2" ] ) ,
437
+ ( "avxvnniint16" , Stable , & [ "avx2" ] ) ,
438
438
( "bmi1" , Stable , & [ ] ) ,
439
439
( "bmi2" , Stable , & [ ] ) ,
440
440
( "cmpxchg16b" , Stable , & [ ] ) ,
@@ -493,12 +493,12 @@ static POWERPC_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
493
493
( "altivec" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
494
494
( "msync" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
495
495
( "partword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
496
- ( "power10-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power9-vector" ] ) ,
497
496
( "power8-altivec" , Unstable ( sym:: powerpc_target_feature) , & [ "altivec" ] ) ,
498
497
( "power8-crypto" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-altivec" ] ) ,
499
498
( "power8-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "vsx" , "power8-altivec" ] ) ,
500
499
( "power9-altivec" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-altivec" ] ) ,
501
500
( "power9-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-vector" , "power9-altivec" ] ) ,
501
+ ( "power10-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power9-vector" ] ) ,
502
502
( "quadword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
503
503
( "vsx" , Unstable ( sym:: powerpc_target_feature) , & [ "altivec" ] ) ,
504
504
// tidy-alphabetical-end
@@ -530,8 +530,8 @@ static RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
530
530
( "unaligned-scalar-mem" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
531
531
( "unaligned-vector-mem" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
532
532
( "v" , Unstable ( sym:: riscv_target_feature) , & [ "zvl128b" , "zve64d" ] ) ,
533
- ( "za128rs" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
534
533
( "za64rs" , Unstable ( sym:: riscv_target_feature) , & [ "za128rs" ] ) , // Za64rs ⊃ Za128rs
534
+ ( "za128rs" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
535
535
( "zaamo" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
536
536
( "zabha" , Unstable ( sym:: riscv_target_feature) , & [ "zaamo" ] ) ,
537
537
( "zacas" , Unstable ( sym:: riscv_target_feature) , & [ "zaamo" ] ) ,
@@ -608,18 +608,18 @@ static RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
608
608
( "zvksg" , Unstable ( sym:: riscv_target_feature) , & [ "zvks" , "zvkg" ] ) ,
609
609
( "zvksh" , Unstable ( sym:: riscv_target_feature) , & [ "zve32x" ] ) ,
610
610
( "zvkt" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
611
- ( "zvl1024b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl512b" ] ) ,
611
+ ( "zvl32b" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
612
+ ( "zvl64b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32b" ] ) ,
612
613
( "zvl128b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl64b" ] ) ,
613
- ( "zvl16384b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl8192b" ] ) ,
614
- ( "zvl2048b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl1024b" ] ) ,
615
614
( "zvl256b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl128b" ] ) ,
616
- ( "zvl32768b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl16384b" ] ) ,
617
- ( "zvl32b" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
618
- ( "zvl4096b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl2048b" ] ) ,
619
615
( "zvl512b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl256b" ] ) ,
620
- ( "zvl64b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32b" ] ) ,
621
- ( "zvl65536b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32768b" ] ) ,
616
+ ( "zvl1024b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl512b" ] ) ,
617
+ ( "zvl2048b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl1024b" ] ) ,
618
+ ( "zvl4096b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl2048b" ] ) ,
622
619
( "zvl8192b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl4096b" ] ) ,
620
+ ( "zvl16384b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl8192b" ] ) ,
621
+ ( "zvl32768b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl16384b" ] ) ,
622
+ ( "zvl65536b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl32768b" ] ) ,
623
623
// tidy-alphabetical-end
624
624
] ;
625
625
@@ -646,13 +646,13 @@ const BPF_FEATURES: &[(&str, Stability, ImpliedFeatures)] =
646
646
647
647
static CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
648
648
// tidy-alphabetical-start
649
- ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
650
649
( "2e3" , Unstable ( sym:: csky_target_feature) , & [ "e2" ] ) ,
651
650
( "3e3r1" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
652
651
( "3e3r2" , Unstable ( sym:: csky_target_feature) , & [ "3e3r1" , "doloop" ] ) ,
653
652
( "3e3r3" , Unstable ( sym:: csky_target_feature) , & [ "doloop" ] ) ,
654
653
( "3e7" , Unstable ( sym:: csky_target_feature) , & [ "2e3" ] ) ,
655
654
( "7e10" , Unstable ( sym:: csky_target_feature) , & [ "3e7" ] ) ,
655
+ ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
656
656
( "cache" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
657
657
( "doloop" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
658
658
( "dsp1e2" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
0 commit comments