pub struct Flags { /* private fields */ }x86 only.Expand description
Flags group x86.
Implementations§
Source§impl Flags
User-defined settings.
impl Flags
User-defined settings.
Sourcepub fn has_cmpxchg16b(&self) -> bool
pub fn has_cmpxchg16b(&self) -> bool
Has support for CMPXCHG16b. CMPXCHG16b: CPUID.01H:ECX.CMPXCHG16B[bit 13]
Sourcepub fn has_avx_vnni(&self) -> bool
pub fn has_avx_vnni(&self) -> bool
Has support for AVX-VNNI. AVX-VNNI: CPUID.07H.01H:EAX.AVX_VNNI[bit 4]
Sourcepub fn has_avx512bitalg(&self) -> bool
pub fn has_avx512bitalg(&self) -> bool
Has support for AVX512BITALG. AVX512BITALG: CPUID.07H:ECX.AVX512BITALG[bit 12]
Sourcepub fn has_avx512dq(&self) -> bool
pub fn has_avx512dq(&self) -> bool
Has support for AVX512DQ. AVX512DQ: CPUID.07H:EBX.AVX512DQ[bit 17]
Sourcepub fn has_avx512vl(&self) -> bool
pub fn has_avx512vl(&self) -> bool
Has support for AVX512VL. AVX512VL: CPUID.07H:EBX.AVX512VL[bit 31]
Sourcepub fn has_avx512vbmi(&self) -> bool
pub fn has_avx512vbmi(&self) -> bool
Has support for AVX512VMBI. AVX512VBMI: CPUID.07H:ECX.AVX512VBMI[bit 1]
Sourcepub fn has_avx512f(&self) -> bool
pub fn has_avx512f(&self) -> bool
Has support for AVX512F. AVX512F: CPUID.07H:EBX.AVX512F[bit 16]
Sourcepub fn has_avx512vnni(&self) -> bool
pub fn has_avx512vnni(&self) -> bool
Has support for AVX512VNNI. AVX512VNNI: CPUID.07H:ECX.AVX512_VNNI[bit 11]
Sourcepub fn has_apx(&self) -> bool
pub fn has_apx(&self) -> bool
Has support for APX. APX_F: CPUID.(EAX=07H,ECX=1H):EDX.APX_F[bit 21]
Sourcepub fn has_popcnt(&self) -> bool
pub fn has_popcnt(&self) -> bool
Has support for POPCNT. POPCNT: CPUID.01H:ECX.POPCNT[bit 23]
Sourcepub fn has_bmi1(&self) -> bool
pub fn has_bmi1(&self) -> bool
Has support for BMI1. BMI1: CPUID.(EAX=07H, ECX=0H):EBX.BMI1[bit 3]