pub enum Feature {
Show 21 variants
_64b,
compat,
sse,
sse2,
sse3,
ssse3,
sse41,
sse42,
bmi1,
bmi2,
lzcnt,
popcnt,
avx,
avx2,
avx512f,
avx512vl,
avx512dq,
avx512bitalg,
avx512vbmi,
cmpxchg16b,
fma,
}
Expand description
A CPU feature.
IA-32e mode is the typical mode of operation for modern 64-bit x86 processors. It consists of two sub-modes:
- 64-bit mode: uses the full 64-bit address space
- compatibility mode: allows use of legacy 32-bit code
Other features listed here should match the CPUID Feature Flags column of the instruction tables of the x64 reference manual.
Variants§
_64b
compat
sse
sse2
sse3
ssse3
sse41
sse42
bmi1
bmi2
lzcnt
popcnt
avx
avx2
avx512f
avx512vl
avx512dq
avx512bitalg
avx512vbmi
cmpxchg16b
fma
Implementations§
Trait Implementations§
impl Copy for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
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