pub enum DecoderMode {
Minimal,
AmdBranches,
Knc,
Mpx,
Cet,
Lzcnt,
Tzcnt,
Xbegin,
}Expand description
Decoder mode enum for setting individual modes
Variants§
Minimal
Minimal decoding mode - only decode instruction length and basic attributes
AmdBranches
AMD branch semantics - use AMD’s branch behavior interpretation
Knc
KNC mode - Knights Corner instruction support (deprecated)
Mpx
MPX mode - Memory Protection Extensions support
Cet
CET mode - Control-flow Enforcement Technology support
Lzcnt
LZCNT mode - special handling for LZCNT instruction
Tzcnt
TZCNT mode - special handling for TZCNT instruction
Xbegin
XBEGIN mode - automatic transaction abort behavior
Trait Implementations§
Source§impl Clone for DecoderMode
impl Clone for DecoderMode
Source§fn clone(&self) -> DecoderMode
fn clone(&self) -> DecoderMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecoderMode
impl Debug for DecoderMode
Source§impl PartialEq for DecoderMode
impl PartialEq for DecoderMode
impl Copy for DecoderMode
impl Eq for DecoderMode
impl StructuralPartialEq for DecoderMode
Auto Trait Implementations§
impl Freeze for DecoderMode
impl RefUnwindSafe for DecoderMode
impl Send for DecoderMode
impl Sync for DecoderMode
impl Unpin for DecoderMode
impl UnsafeUnpin for DecoderMode
impl UnwindSafe for DecoderMode
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