pub struct mulw_m<R>where
R: Registers,{
pub ax: Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>,
pub dx: Fixed<R::WriteGpr, { gpr::enc::RDX }>,
pub rm16: GprMem<R::ReadGpr, R::ReadGpr>,
}
Expand description
mulw: M(ax[rw,implicit], dx[w,implicit], rm16) => 0x66 + 0xF7 /4 [_64b | compat]
// cranelift/assembler-x64/meta/src/generate/inst.rs:14
Fields§
§ax: Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>
§dx: Fixed<R::WriteGpr, { gpr::enc::RDX }>
§rm16: GprMem<R::ReadGpr, R::ReadGpr>
Implementations§
Source§impl<R: Registers> mulw_m<R>
impl<R: Registers> mulw_m<R>
pub fn new( ax: impl Into<Fixed<R::ReadWriteGpr, { gpr::enc::RAX }>>, dx: impl Into<Fixed<R::WriteGpr, { gpr::enc::RDX }>>, rm16: impl Into<GprMem<R::ReadGpr, R::ReadGpr>>, ) -> Self
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 mulw_m<R>where
R: Registers + RegistersArbitrary,
impl<'arbitrary, R> Arbitrary<'arbitrary> for mulw_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 moreimpl<R> Copy for mulw_m<R>
Auto Trait Implementations§
impl<R> Freeze for mulw_m<R>
impl<R> RefUnwindSafe for mulw_m<R>where
<R as Registers>::ReadWriteGpr: RefUnwindSafe,
<R as Registers>::WriteGpr: RefUnwindSafe,
<R as Registers>::ReadGpr: RefUnwindSafe,
impl<R> Send for mulw_m<R>
impl<R> Sync for mulw_m<R>
impl<R> Unpin for mulw_m<R>
impl<R> UnwindSafe for mulw_m<R>where
<R as Registers>::ReadWriteGpr: UnwindSafe,
<R as Registers>::WriteGpr: UnwindSafe,
<R as Registers>::ReadGpr: UnwindSafe,
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