@@ -212,9 +212,6 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
212212 ( "flagm2" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
213213 // We forbid directly toggling just `fp-armv8`; it must be toggled with `neon`.
214214 ( "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" ] ) ,
218215 // FEAT_FP8
219216 ( "fp8" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "faminmax" , "lut" , "bf16" ] ) ,
220217 // FEAT_FP8DOT2
@@ -223,6 +220,9 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
223220 ( "fp8dot4" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "fp8fma" ] ) ,
224221 // FEAT_FP8FMA
225222 ( "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" ] ) ,
226226 // FEAT_FRINTTS
227227 ( "frintts" , Stable , & [ ] ) ,
228228 // FEAT_HBC
@@ -236,10 +236,10 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
236236 ( "lor" , Stable , & [ ] ) ,
237237 // FEAT_LSE
238238 ( "lse" , Stable , & [ ] ) ,
239- // FEAT_LSE128
240- ( "lse128" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "lse" ] ) ,
241239 // FEAT_LSE2
242240 ( "lse2" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
241+ // FEAT_LSE128
242+ ( "lse128" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "lse" ] ) ,
243243 // FEAT_LUT
244244 ( "lut" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ ] ) ,
245245 // FEAT_MOPS
@@ -283,14 +283,14 @@ static AARCH64_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
283283 ( "sme" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "bf16" ] ) ,
284284 // FEAT_SME_B16B16
285285 ( "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" ] ) ,
290286 // FEAT_SME_F8F16
291287 ( "sme-f8f16" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme-f8f32" ] ) ,
292288 // FEAT_SME_F8F32
293289 ( "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" ] ) ,
294294 // FEAT_SME_FA64
295295 ( "sme-fa64" , Unstable ( sym:: aarch64_unstable_target_feature) , & [ "sme" , "sve2" ] ) ,
296296 // FEAT_SME_I16I64
@@ -376,15 +376,16 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
376376 ( "amx-avx512" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
377377 ( "amx-bf16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
378378 ( "amx-complex" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
379- ( "amx-fp16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
380379 ( "amx-fp8" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
380+ ( "amx-fp16" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
381381 ( "amx-int8" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
382382 ( "amx-movrs" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
383383 ( "amx-tf32" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
384384 ( "amx-tile" , Unstable ( sym:: x86_amx_intrinsics) , & [ ] ) ,
385385 ( "amx-transpose" , Unstable ( sym:: x86_amx_intrinsics) , & [ "amx-tile" ] ) ,
386386 ( "apxf" , Unstable ( sym:: apx_target_feature) , & [ ] ) ,
387387 ( "avx" , Stable , & [ "sse4.2" ] ) ,
388+ ( "avx2" , Stable , & [ "avx" ] ) ,
388389 (
389390 "avx10.1" ,
390391 Unstable ( sym:: avx10_target_feature) ,
@@ -405,7 +406,6 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
405406 ] ,
406407 ) ,
407408 ( "avx10.2" , Unstable ( sym:: avx10_target_feature) , & [ "avx10.1" ] ) ,
408- ( "avx2" , Stable , & [ "avx" ] ) ,
409409 ( "avx512bf16" , Stable , & [ "avx512bw" ] ) ,
410410 ( "avx512bitalg" , Stable , & [ "avx512bw" ] ) ,
411411 ( "avx512bw" , Stable , & [ "avx512f" ] ) ,
@@ -423,8 +423,8 @@ static X86_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
423423 ( "avxifma" , Stable , & [ "avx2" ] ) ,
424424 ( "avxneconvert" , Stable , & [ "avx2" ] ) ,
425425 ( "avxvnni" , Stable , & [ "avx2" ] ) ,
426- ( "avxvnniint16" , Stable , & [ "avx2" ] ) ,
427426 ( "avxvnniint8" , Stable , & [ "avx2" ] ) ,
427+ ( "avxvnniint16" , Stable , & [ "avx2" ] ) ,
428428 ( "bmi1" , Stable , & [ ] ) ,
429429 ( "bmi2" , Stable , & [ ] ) ,
430430 ( "cmpxchg16b" , Stable , & [ ] ) ,
@@ -498,12 +498,12 @@ static POWERPC_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
498498 ( "altivec" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
499499 ( "msync" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
500500 ( "partword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
501- ( "power10-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power9-vector" ] ) ,
502501 ( "power8-altivec" , Unstable ( sym:: powerpc_target_feature) , & [ "altivec" ] ) ,
503502 ( "power8-crypto" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-altivec" ] ) ,
504503 ( "power8-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "vsx" , "power8-altivec" ] ) ,
505504 ( "power9-altivec" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-altivec" ] ) ,
506505 ( "power9-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power8-vector" , "power9-altivec" ] ) ,
506+ ( "power10-vector" , Unstable ( sym:: powerpc_target_feature) , & [ "power9-vector" ] ) ,
507507 ( "quadword-atomics" , Unstable ( sym:: powerpc_target_feature) , & [ ] ) ,
508508 ( "vsx" , Unstable ( sym:: powerpc_target_feature) , & [ "altivec" ] ) ,
509509 // tidy-alphabetical-end
@@ -535,8 +535,8 @@ static RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
535535 ( "unaligned-scalar-mem" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
536536 ( "unaligned-vector-mem" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
537537 ( "v" , Unstable ( sym:: riscv_target_feature) , & [ "zvl128b" , "zve64d" ] ) ,
538- ( "za128rs" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
539538 ( "za64rs" , Unstable ( sym:: riscv_target_feature) , & [ "za128rs" ] ) , // Za64rs ⊃ Za128rs
539+ ( "za128rs" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
540540 ( "zaamo" , Unstable ( sym:: riscv_target_feature) , & [ ] ) ,
541541 ( "zabha" , Unstable ( sym:: riscv_target_feature) , & [ "zaamo" ] ) ,
542542 ( "zacas" , Unstable ( sym:: riscv_target_feature) , & [ "zaamo" ] ) ,
@@ -613,18 +613,18 @@ static RISCV_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
613613 ( "zvksg" , Unstable ( sym:: riscv_target_feature) , & [ "zvks" , "zvkg" ] ) ,
614614 ( "zvksh" , Unstable ( sym:: riscv_target_feature) , & [ "zve32x" ] ) ,
615615 ( "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" ] ) ,
617618 ( "zvl128b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl64b" ] ) ,
618- ( "zvl16384b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl8192b" ] ) ,
619- ( "zvl2048b" , Unstable ( sym:: riscv_target_feature) , & [ "zvl1024b" ] ) ,
620619 ( "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" ] ) ,
624620 ( "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" ] ) ,
627624 ( "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" ] ) ,
628628 // tidy-alphabetical-end
629629] ;
630630
@@ -651,13 +651,13 @@ const BPF_FEATURES: &[(&str, Stability, ImpliedFeatures)] =
651651
652652static CSKY_FEATURES : & [ ( & str , Stability , ImpliedFeatures ) ] = & [
653653 // tidy-alphabetical-start
654- ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
655654 ( "2e3" , Unstable ( sym:: csky_target_feature) , & [ "e2" ] ) ,
656655 ( "3e3r1" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
657656 ( "3e3r2" , Unstable ( sym:: csky_target_feature) , & [ "3e3r1" , "doloop" ] ) ,
658657 ( "3e3r3" , Unstable ( sym:: csky_target_feature) , & [ "doloop" ] ) ,
659658 ( "3e7" , Unstable ( sym:: csky_target_feature) , & [ "2e3" ] ) ,
660659 ( "7e10" , Unstable ( sym:: csky_target_feature) , & [ "3e7" ] ) ,
660+ ( "10e60" , Unstable ( sym:: csky_target_feature) , & [ "7e10" ] ) ,
661661 ( "cache" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
662662 ( "doloop" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
663663 ( "dsp1e2" , Unstable ( sym:: csky_target_feature) , & [ ] ) ,
@@ -726,12 +726,12 @@ const IBMZ_FEATURES: &[(&str, Stability, ImpliedFeatures)] = &[
726726 ( "guarded-storage" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
727727 ( "high-word" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
728728 // 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) , & [ ] ) ,
730729 ( "message-security-assist-extension3" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
731730 ( "message-security-assist-extension4" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
732731 ( "message-security-assist-extension5" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
733732 ( "message-security-assist-extension8" , Unstable ( sym:: s390x_target_feature) , & [ "message-security-assist-extension3" ] ) ,
734733 ( "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) , & [ ] ) ,
735735 ( "miscellaneous-extensions-2" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
736736 ( "miscellaneous-extensions-3" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
737737 ( "miscellaneous-extensions-4" , Unstable ( sym:: s390x_target_feature) , & [ ] ) ,
0 commit comments