pub struct lock_cmpxchg16b_m<R>where
R: Registers,{
pub rax: Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>,
pub rdx: Fixed<R::ReadWriteGpr, { gpr::enc::RDX }>,
pub rbx: Fixed<R::ReadGpr, { gpr::enc::RBX }>,
pub rcx: Fixed<R::ReadGpr, { gpr::enc::RCX }>,
pub m128: Amode<R::ReadGpr>,
}
Expand description
lock_cmpxchg16b: M(rax[rw,implicit], rdx[rw,implicit], rbx[implicit], rcx[implicit], m128[rw]) => 0xF0 + REX.W + 0x0F + 0xC7 /1 [_64b | cmpxchg16b] custom(Mnemonic)
// cranelift/assembler-x64/meta/src/generate/inst.rs:14
Fields§
§rax: Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>
§rdx: Fixed<R::ReadWriteGpr, { gpr::enc::RDX }>
§rbx: Fixed<R::ReadGpr, { gpr::enc::RBX }>
§rcx: Fixed<R::ReadGpr, { gpr::enc::RCX }>
§m128: Amode<R::ReadGpr>
Implementations§
Source§impl<R: Registers> lock_cmpxchg16b_m<R>
impl<R: Registers> lock_cmpxchg16b_m<R>
pub fn new( rax: impl Into<Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>>, rdx: impl Into<Fixed<R::ReadWriteGpr, { gpr::enc::RDX }>>, rbx: impl Into<Fixed<R::ReadGpr, { gpr::enc::RBX }>>, rcx: impl Into<Fixed<R::ReadGpr, { gpr::enc::RCX }>>, m128: impl Into<Amode<R::ReadGpr>>, ) -> Self
pub fn mnemonic(&self) -> Cow<'static, str>
pub fn encode(&self, buf: &mut impl CodeSink, off: &impl KnownOffsetTable)
pub fn visit(&mut self, visitor: &mut impl RegisterVisitor<R>)
pub fn features(&self) -> Vec<Feature>
Trait Implementations§
Source§impl<'arbitrary, R> Arbitrary<'arbitrary> for lock_cmpxchg16b_m<R>where
R: Registers + RegistersArbitrary,
impl<'arbitrary, R> Arbitrary<'arbitrary> for lock_cmpxchg16b_m<R>where
R: Registers + RegistersArbitrary,
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§impl<R> Clone for lock_cmpxchg16b_m<R>
impl<R> Clone for lock_cmpxchg16b_m<R>
Source§fn clone(&self) -> lock_cmpxchg16b_m<R>
fn clone(&self) -> lock_cmpxchg16b_m<R>
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<R> Debug for lock_cmpxchg16b_m<R>
impl<R> Debug for lock_cmpxchg16b_m<R>
Source§impl<R: Registers> Display for lock_cmpxchg16b_m<R>
impl<R: Registers> Display for lock_cmpxchg16b_m<R>
impl<R> Copy for lock_cmpxchg16b_m<R>
Auto Trait Implementations§
impl<R> Freeze for lock_cmpxchg16b_m<R>
impl<R> RefUnwindSafe for lock_cmpxchg16b_m<R>
impl<R> Send for lock_cmpxchg16b_m<R>
impl<R> Sync for lock_cmpxchg16b_m<R>
impl<R> Unpin for lock_cmpxchg16b_m<R>
impl<R> UnwindSafe for lock_cmpxchg16b_m<R>
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