Enum cranelift_codegen::isa::x64::encoding::rex::LegacyPrefixes
source · [−]pub enum LegacyPrefixes {
None,
_66,
_F0,
_66F0,
_F2,
_F3,
_66F3,
}
Expand description
We may need to include one or more legacy prefix bytes before the REX prefix. This enum covers only the small set of possibilities that we actually need.
Variants
None
No prefix bytes.
_66
Operand Size Override – here, denoting “16-bit operation”.
_F0
The Lock prefix.
_66F0
Operand size override and Lock.
_F2
REPNE, but no specific meaning here – is just an opcode extension.
_F3
REP/REPE, but no specific meaning here – is just an opcode extension.
_66F3
Operand size override and same effect as F3.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LegacyPrefixes
impl Send for LegacyPrefixes
impl Sync for LegacyPrefixes
impl Unpin for LegacyPrefixes
impl UnwindSafe for LegacyPrefixes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more