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 predicate_view(&self) -> PredicateView<'_>
pub fn predicate_view(&self) -> PredicateView<'_>
Get a view of the boolean predicates.
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_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_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]
Sourcepub fn has_bmi2(&self) -> bool
pub fn has_bmi2(&self) -> bool
Has support for BMI2. BMI2: CPUID.(EAX=07H, ECX=0H):EBX.BMI2[bit 8]
Sourcepub fn has_lzcnt(&self) -> bool
pub fn has_lzcnt(&self) -> bool
Has support for LZCNT. LZCNT: CPUID.EAX=80000001H:ECX.LZCNT[bit 5]
Sourcepub fn use_avx512bitalg(&self) -> bool
pub fn use_avx512bitalg(&self) -> bool
Computed predicate x86.has_avx512bitalg()
.
Sourcepub fn use_avx512dq(&self) -> bool
pub fn use_avx512dq(&self) -> bool
Computed predicate x86.has_avx512dq()
.
Sourcepub fn use_avx512f(&self) -> bool
pub fn use_avx512f(&self) -> bool
Computed predicate x86.has_avx512f()
.
Sourcepub fn use_avx512vbmi(&self) -> bool
pub fn use_avx512vbmi(&self) -> bool
Computed predicate x86.has_avx512vbmi()
.
Sourcepub fn use_avx512vl(&self) -> bool
pub fn use_avx512vl(&self) -> bool
Computed predicate x86.has_avx512vl()
.
Sourcepub fn use_cmpxchg16b(&self) -> bool
pub fn use_cmpxchg16b(&self) -> bool
Computed predicate x86.has_cmpxchg16b()
.
Sourcepub fn use_popcnt(&self) -> bool
pub fn use_popcnt(&self) -> bool
Computed predicate x86.has_popcnt() && x86.has_sse42()
.