pub struct imulw_rmi_sxb<R>where
R: Registers,{
pub r16: Gpr<R::WriteGpr>,
pub rm16: GprMem<R::ReadGpr, R::ReadGpr>,
pub imm8: Simm8,
}
Expand description
imulw: RMI_SXB(r16[w], rm16, imm8[sxw]) => 0x66 + 0x6B ib [_64b | compat]
// cranelift/assembler-x64/meta/src/generate/inst.rs:14
Fields§
§r16: Gpr<R::WriteGpr>
§rm16: GprMem<R::ReadGpr, R::ReadGpr>
§imm8: Simm8
Implementations§
Source§impl<R: Registers> imulw_rmi_sxb<R>
impl<R: Registers> imulw_rmi_sxb<R>
pub fn new( r16: impl Into<Gpr<R::WriteGpr>>, rm16: impl Into<GprMem<R::ReadGpr, R::ReadGpr>>, imm8: impl Into<Simm8>, ) -> 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 imulw_rmi_sxb<R>where
R: Registers + RegistersArbitrary,
impl<'arbitrary, R> Arbitrary<'arbitrary> for imulw_rmi_sxb<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 imulw_rmi_sxb<R>
impl<R> Clone for imulw_rmi_sxb<R>
Source§fn clone(&self) -> imulw_rmi_sxb<R>
fn clone(&self) -> imulw_rmi_sxb<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 imulw_rmi_sxb<R>
impl<R> Debug for imulw_rmi_sxb<R>
Source§impl<R: Registers> Display for imulw_rmi_sxb<R>
impl<R: Registers> Display for imulw_rmi_sxb<R>
impl<R> Copy for imulw_rmi_sxb<R>
Auto Trait Implementations§
impl<R> Freeze for imulw_rmi_sxb<R>
impl<R> RefUnwindSafe for imulw_rmi_sxb<R>
impl<R> Send for imulw_rmi_sxb<R>
impl<R> Sync for imulw_rmi_sxb<R>
impl<R> Unpin for imulw_rmi_sxb<R>
impl<R> UnwindSafe for imulw_rmi_sxb<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