pub struct Flags { /* private fields */ }
Available on crate feature
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_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]
Trait Implementations§
impl StructuralPartialEq for Flags
Auto Trait Implementations§
impl Freeze for Flags
impl RefUnwindSafe for Flags
impl Send for Flags
impl Sync for Flags
impl Unpin for Flags
impl UnwindSafe for Flags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more