Struct Flags
pub struct Flags { /* private fields */ }
Expand description
Flags group x86
.
Implementations§
§impl Flags
impl Flags
User-defined settings.
pub fn predicate_view(&self) -> PredicateView<'_>
pub fn predicate_view(&self) -> PredicateView<'_>
Get a view of the boolean predicates.
pub fn has_cmpxchg16b(&self) -> bool
pub fn has_cmpxchg16b(&self) -> bool
Has support for CMPXCHG16b. CMPXCHG16b: CPUID.01H:ECX.CMPXCHG16B[bit 13]
pub fn has_avx512bitalg(&self) -> bool
pub fn has_avx512bitalg(&self) -> bool
Has support for AVX512BITALG. AVX512BITALG: CPUID.07H:ECX.AVX512BITALG[bit 12]
pub fn has_avx512dq(&self) -> bool
pub fn has_avx512dq(&self) -> bool
Has support for AVX512DQ. AVX512DQ: CPUID.07H:EBX.AVX512DQ[bit 17]
pub fn has_avx512vl(&self) -> bool
pub fn has_avx512vl(&self) -> bool
Has support for AVX512VL. AVX512VL: CPUID.07H:EBX.AVX512VL[bit 31]
pub fn has_avx512vbmi(&self) -> bool
pub fn has_avx512vbmi(&self) -> bool
Has support for AVX512VMBI. AVX512VBMI: CPUID.07H:ECX.AVX512VBMI[bit 1]
pub fn has_avx512f(&self) -> bool
pub fn has_avx512f(&self) -> bool
Has support for AVX512F. AVX512F: CPUID.07H:EBX.AVX512F[bit 16]
pub fn has_popcnt(&self) -> bool
pub fn has_popcnt(&self) -> bool
Has support for POPCNT. POPCNT: CPUID.01H:ECX.POPCNT[bit 23]
pub fn use_avx512bitalg(&self) -> bool
pub fn use_avx512bitalg(&self) -> bool
Computed predicate x86.has_avx512bitalg()
.
pub fn use_avx512dq(&self) -> bool
pub fn use_avx512dq(&self) -> bool
Computed predicate x86.has_avx512dq()
.
pub fn use_avx512f(&self) -> bool
pub fn use_avx512f(&self) -> bool
Computed predicate x86.has_avx512f()
.
pub fn use_avx512vbmi(&self) -> bool
pub fn use_avx512vbmi(&self) -> bool
Computed predicate x86.has_avx512vbmi()
.
pub fn use_avx512vl(&self) -> bool
pub fn use_avx512vl(&self) -> bool
Computed predicate x86.has_avx512vl()
.
pub fn use_cmpxchg16b(&self) -> bool
pub fn use_cmpxchg16b(&self) -> bool
Computed predicate x86.has_cmpxchg16b()
.
pub fn use_popcnt(&self) -> bool
pub fn use_popcnt(&self) -> bool
Computed predicate x86.has_popcnt() && x86.has_sse42()
.
Trait Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)