pub struct shlw_mc<R>where
R: Registers,{
pub rm16: GprMem<R::ReadWriteGpr, R::ReadGpr>,
pub cl: Fixed<R::ReadGpr, { gpr::enc::RCX }>,
}
Expand description
shlw: MC(rm16[rw], cl) => 0x66 + 0xD3 /4 [_64b | compat]
// cranelift/assembler-x64/meta/src/generate/inst.rs:14
Fields§
§rm16: GprMem<R::ReadWriteGpr, R::ReadGpr>
§cl: Fixed<R::ReadGpr, { gpr::enc::RCX }>
Implementations§
Source§impl<R: Registers> shlw_mc<R>
impl<R: Registers> shlw_mc<R>
pub fn new( rm16: impl Into<GprMem<R::ReadWriteGpr, R::ReadGpr>>, cl: impl Into<Fixed<R::ReadGpr, { gpr::enc::RCX }>>, ) -> 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 shlw_mc<R>where
R: Registers + RegistersArbitrary,
impl<'arbitrary, R> Arbitrary<'arbitrary> for shlw_mc<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 shlw_mc<R>
Auto Trait Implementations§
impl<R> Freeze for shlw_mc<R>
impl<R> RefUnwindSafe for shlw_mc<R>
impl<R> Send for shlw_mc<R>
impl<R> Sync for shlw_mc<R>
impl<R> Unpin for shlw_mc<R>
impl<R> UnwindSafe for shlw_mc<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