Mark feature with missing corresponding target feature cfgs as such
Computed by diffing of:
$ rg "[ ]+@FEATURE: .*: \"(.*)\";" -r '$1' --no-filename \
crates/std_detect/src/detect/ | sort | uniq
With (from the main Rust repo[^1]):
$ rg "target_feature" tests/ui/check-cfg/well-known-values.stderr
[^1]: e8c698bb3b/tests/ui/check-cfg/well-known-values.stderr (L177)
This commit is contained in:
parent
a6a49cfd90
commit
f62e1daa2d
6 changed files with 27 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ features! {
|
|||
@FEATURE: #[unstable(feature = "stdarch_aarch64_feature_detection", issue = "127764")] fp8fma: "fp8fma";
|
||||
/// FEAT_FP8FMA (F8FMA Instructions)
|
||||
@FEATURE: #[unstable(feature = "stdarch_aarch64_feature_detection", issue = "127764")] fpmr: "fpmr";
|
||||
without cfg check: true;
|
||||
/// FEAT_FPMR (Special-purpose AArch64-FPMR register)
|
||||
@FEATURE: #[stable(feature = "simd_aarch64", since = "1.60.0")] frintts: "frintts";
|
||||
/// FEAT_FRINTTS (float to integer rounding instructions)
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ features! {
|
|||
@FEATURE: #[unstable(feature = "stdarch_arm_feature_detection", issue = "111190")] neon: "neon";
|
||||
/// ARM Advanced SIMD (NEON) - Aarch32
|
||||
@FEATURE: #[unstable(feature = "stdarch_arm_feature_detection", issue = "111190")] pmull: "pmull";
|
||||
without cfg check: true;
|
||||
/// Polynomial Multiply
|
||||
@FEATURE: #[unstable(feature = "stdarch_arm_feature_detection", issue = "111190")] crc: "crc";
|
||||
/// CRC32 (Cyclic Redundancy Check)
|
||||
|
|
|
|||
|
|
@ -12,5 +12,6 @@ features! {
|
|||
@FEATURE: #[unstable(feature = "stdarch_powerpc_feature_detection", issue = "111191")] vsx: "vsx";
|
||||
/// VSX
|
||||
@FEATURE: #[unstable(feature = "stdarch_powerpc_feature_detection", issue = "111191")] power8: "power8";
|
||||
without cfg check: true;
|
||||
/// Power8
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,5 +12,6 @@ features! {
|
|||
@FEATURE: #[unstable(feature = "stdarch_powerpc_feature_detection", issue = "111191")] vsx: "vsx";
|
||||
/// VSX
|
||||
@FEATURE: #[unstable(feature = "stdarch_powerpc_feature_detection", issue = "111191")] power8: "power8";
|
||||
without cfg check: true;
|
||||
/// Power8
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,28 +90,36 @@ features! {
|
|||
/// [ISA manual]: https://github.com/riscv/riscv-isa-manual/
|
||||
#[stable(feature = "riscv_ratified", since = "1.76.0")]
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] rv32i: "rv32i";
|
||||
without cfg check: true;
|
||||
/// RV32I Base Integer Instruction Set
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zifencei: "zifencei";
|
||||
without cfg check: true;
|
||||
/// "Zifencei" Instruction-Fetch Fence
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihintpause: "zihintpause";
|
||||
without cfg check: true;
|
||||
/// "Zihintpause" Pause Hint
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] rv64i: "rv64i";
|
||||
without cfg check: true;
|
||||
/// RV64I Base Integer Instruction Set
|
||||
@FEATURE: #[stable(feature = "riscv_ratified", since = "1.76.0")] m: "m";
|
||||
/// "M" Standard Extension for Integer Multiplication and Division
|
||||
@FEATURE: #[stable(feature = "riscv_ratified", since = "1.76.0")] a: "a";
|
||||
/// "A" Standard Extension for Atomic Instructions
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zicsr: "zicsr";
|
||||
without cfg check: true;
|
||||
/// "Zicsr", Control and Status Register (CSR) Instructions
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zicntr: "zicntr";
|
||||
without cfg check: true;
|
||||
/// "Zicntr", Standard Extension for Base Counters and Timers
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zihpm: "zihpm";
|
||||
without cfg check: true;
|
||||
/// "Zihpm", Standard Extension for Hardware Performance Counters
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] f: "f";
|
||||
/// "F" Standard Extension for Single-Precision Floating-Point
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] d: "d";
|
||||
/// "D" Standard Extension for Double-Precision Floating-Point
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] q: "q";
|
||||
without cfg check: true;
|
||||
/// "Q" Standard Extension for Quad-Precision Floating-Point
|
||||
@FEATURE: #[stable(feature = "riscv_ratified", since = "1.76.0")] c: "c";
|
||||
/// "C" Standard Extension for Compressed Instructions
|
||||
|
|
@ -125,34 +133,45 @@ features! {
|
|||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zhinxmin: "zhinxmin";
|
||||
/// "Zhinxmin" Standard Extension for Minimal Half-Precision Floating-Point in Integer Registers
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] ztso: "ztso";
|
||||
without cfg check: true;
|
||||
/// "Ztso" Standard Extension for Total Store Ordering
|
||||
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] rv32e: "rv32e";
|
||||
without cfg check: true;
|
||||
/// RV32E Base Integer Instruction Set
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] rv128i: "rv128i";
|
||||
without cfg check: true;
|
||||
/// RV128I Base Integer Instruction Set
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zfh: "zfh";
|
||||
/// "Zfh" Standard Extension for 16-Bit Half-Precision Floating-Point
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zfhmin: "zfhmin";
|
||||
/// "Zfhmin" Standard Extension for Minimal Half-Precision Floating-Point Support
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] j: "j";
|
||||
without cfg check: true;
|
||||
/// "J" Standard Extension for Dynamically Translated Languages
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] p: "p";
|
||||
without cfg check: true;
|
||||
/// "P" Standard Extension for Packed-SIMD Instructions
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] v: "v";
|
||||
/// "V" Standard Extension for Vector Operations
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] zam: "zam";
|
||||
without cfg check: true;
|
||||
/// "Zam" Standard Extension for Misaligned Atomics
|
||||
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] s: "s";
|
||||
without cfg check: true;
|
||||
/// Supervisor-Level ISA
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] svnapot: "svnapot";
|
||||
without cfg check: true;
|
||||
/// "Svnapot" Standard Extension for NAPOT Translation Contiguity
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] svpbmt: "svpbmt";
|
||||
without cfg check: true;
|
||||
/// "Svpbmt" Standard Extension for Page-Based Memory Types
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] svinval: "svinval";
|
||||
without cfg check: true;
|
||||
/// "Svinval" Standard Extension for Fine-Grained Address-Translation Cache Invalidation
|
||||
@FEATURE: #[unstable(feature = "stdarch_riscv_feature_detection", issue = "111192")] h: "h";
|
||||
without cfg check: true;
|
||||
/// Hypervisor Extension
|
||||
|
||||
@FEATURE: #[stable(feature = "riscv_ratified", since = "1.76.0")] zba: "zba";
|
||||
|
|
|
|||
|
|
@ -123,8 +123,10 @@ features! {
|
|||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] rdseed: "rdseed";
|
||||
/// RDSEED
|
||||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] tsc: "tsc";
|
||||
without cfg check: true;
|
||||
/// TSC (Time Stamp Counter)
|
||||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] mmx: "mmx";
|
||||
without cfg check: true;
|
||||
/// MMX (MultiMedia eXtensions)
|
||||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] sse: "sse";
|
||||
/// SSE (Streaming SIMD Extensions)
|
||||
|
|
@ -157,8 +159,10 @@ features! {
|
|||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512cd: "avx512cd" ;
|
||||
/// AVX-512 CD (Conflict Detection Instructions)
|
||||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512er: "avx512er";
|
||||
without cfg check: true;
|
||||
/// AVX-512 ER (Expo nential and Reciprocal Instructions)
|
||||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512pf: "avx512pf";
|
||||
without cfg check: true;
|
||||
/// AVX-512 PF (Prefetch Instructions)
|
||||
@FEATURE: #[stable(feature = "simd_x86", since = "1.27.0")] avx512bw: "avx512bw";
|
||||
/// AVX-512 BW (Byte and Word Instructions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue