pub struct cqto_zo<R>where
R: Registers,{
pub rdx: Fixed<R::WriteGpr, { gpr::enc::RDX }>,
pub rax: Fixed<R::ReadGpr, { gpr::enc::RAX }>,
}
Expand description
cqto: ZO(rdx[w,implicit], rax[implicit]) => REX.W + 0x99 [_64b]
// cranelift/assembler-x64/meta/src/generate/inst.rs:14
Fields§
§rdx: Fixed<R::WriteGpr, { gpr::enc::RDX }>
§rax: Fixed<R::ReadGpr, { gpr::enc::RAX }>
Implementations§
Source§impl<R: Registers> cqto_zo<R>
impl<R: Registers> cqto_zo<R>
pub fn new( rdx: impl Into<Fixed<R::WriteGpr, { gpr::enc::RDX }>>, rax: impl Into<Fixed<R::ReadGpr, { gpr::enc::RAX }>>, ) -> Self
pub fn encode(&self, buf: &mut impl CodeSink, _: &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 cqto_zo<R>where
R: Registers + RegistersArbitrary,
impl<'arbitrary, R> Arbitrary<'arbitrary> for cqto_zo<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 cqto_zo<R>
Auto Trait Implementations§
impl<R> Freeze for cqto_zo<R>
impl<R> RefUnwindSafe for cqto_zo<R>
impl<R> Send for cqto_zo<R>
impl<R> Sync for cqto_zo<R>
impl<R> Unpin for cqto_zo<R>
impl<R> UnwindSafe for cqto_zo<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