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§
source§impl Default for LegacyPrefixes
impl Default for LegacyPrefixes
source§impl PartialEq<LegacyPrefixes> for LegacyPrefixes
impl PartialEq<LegacyPrefixes> for LegacyPrefixes
source§fn eq(&self, other: &LegacyPrefixes) -> bool
fn eq(&self, other: &LegacyPrefixes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LegacyPrefixes
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§
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