pub struct lock_xaddw_mr<R>where
R: Registers,{
pub m16: Amode<R::ReadGpr>,
pub r16: Gpr<R::ReadWriteGpr>,
}
Expand description
lock_xaddw: MR(m16[rw], r16[rw]) => 0xF0 + 0x66 + 0x0F + 0xC1 /r [_64b | compat] custom(Mnemonic | Visit)
// cranelift/assembler-x64/meta/src/generate/inst.rs:14
Fields§
§m16: Amode<R::ReadGpr>
§r16: Gpr<R::ReadWriteGpr>
Implementations§
Source§impl<R: Registers> lock_xaddw_mr<R>
impl<R: Registers> lock_xaddw_mr<R>
pub fn new( m16: impl Into<Amode<R::ReadGpr>>, r16: impl Into<Gpr<R::ReadWriteGpr>>, ) -> 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_xaddw_mr<R>where
R: Registers + RegistersArbitrary,
impl<'arbitrary, R> Arbitrary<'arbitrary> for lock_xaddw_mr<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_xaddw_mr<R>
impl<R> Clone for lock_xaddw_mr<R>
Source§fn clone(&self) -> lock_xaddw_mr<R>
fn clone(&self) -> lock_xaddw_mr<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_xaddw_mr<R>
impl<R> Debug for lock_xaddw_mr<R>
Source§impl<R: Registers> Display for lock_xaddw_mr<R>
impl<R: Registers> Display for lock_xaddw_mr<R>
impl<R> Copy for lock_xaddw_mr<R>
Auto Trait Implementations§
impl<R> Freeze for lock_xaddw_mr<R>
impl<R> RefUnwindSafe for lock_xaddw_mr<R>
impl<R> Send for lock_xaddw_mr<R>
impl<R> Sync for lock_xaddw_mr<R>
impl<R> Unpin for lock_xaddw_mr<R>
impl<R> UnwindSafe for lock_xaddw_mr<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