#[non_exhaustive]pub enum Feature {
Show 45 variants
Sse2,
Sse3,
Ssse3,
Sse41,
Sse42,
Popcnt,
Avx,
Avx2,
Fma,
F16c,
Bmi1,
Bmi2,
Lzcnt,
Movbe,
Avx512f,
Avx512bw,
Avx512cd,
Avx512dq,
Avx512vl,
Avx512vnni,
Avx512vbmi,
AvxVnni,
Aes,
Pclmulqdq,
Vaes,
Vpclmulqdq,
Sha,
Rdrand,
Rdseed,
Adx,
Gfni,
Neon,
Crc32,
AesArm,
Pmull,
Sha2,
Sha3,
Dotprod,
Fp16,
Lse,
Sve,
Sve2,
Rcpc,
Bf16,
I8mm,
}Expand description
An instruction-set feature. name is rustc’s
target-feature name.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Sse2
x86 SSE2.
Sse3
x86 SSE3.
Ssse3
x86 SSSE3.
Sse41
x86 SSE4.1.
Sse42
x86 SSE4.2.
Popcnt
x86 POPCNT.
Avx
x86 AVX.
Avx2
x86 AVX2.
Fma
x86 FMA3.
F16c
x86 F16C.
Bmi1
x86 BMI1.
Bmi2
x86 BMI2.
Lzcnt
x86 LZCNT.
Movbe
x86 MOVBE.
Avx512f
x86 AVX-512 Foundation.
Avx512bw
x86 AVX-512 byte and word.
Avx512cd
x86 AVX-512 conflict detection.
Avx512dq
x86 AVX-512 doubleword and quadword.
Avx512vl
x86 AVX-512 vector length.
Avx512vnni
x86 AVX-512 VNNI.
Avx512vbmi
x86 AVX-512 VBMI.
AvxVnni
x86 AVX-VNNI.
Aes
x86 AES-NI.
Pclmulqdq
x86 carry-less multiplication.
Vaes
x86 vector AES.
Vpclmulqdq
x86 vector carry-less multiplication.
Sha
x86 SHA extensions.
Rdrand
x86 RDRAND.
Rdseed
x86 RDSEED.
Adx
x86 ADX.
Gfni
x86 GFNI.
Neon
AArch64 Advanced SIMD.
Crc32
AArch64 CRC32.
AesArm
AArch64 AES.
Pmull
AArch64 polynomial multiply.
Sha2
AArch64 SHA-1 and SHA-256.
Sha3
AArch64 SHA-3 and SHA-512 (std’s sha3).
Dotprod
AArch64 dot product.
Fp16
AArch64 half-precision arithmetic.
Lse
AArch64 large system extensions (atomics).
Sve
AArch64 SVE.
Sve2
AArch64 SVE2.
Rcpc
AArch64 release-consistent loads.
Bf16
AArch64 BFloat16.
I8mm
AArch64 int8 matrix multiply.