pub struct MacroAssembler<'a> {
pub asm: Assembler<'a>,
}Fields§
§asm: Assembler<'a>Implementations§
Source§impl<'a> MacroAssembler<'a>
impl<'a> MacroAssembler<'a>
pub const SCRATCH_REGISTER: Gpq = R11
pub const FP_TEMP_REGISTER: Xmm = XMM15
pub fn new(buffer: &'a mut CodeBuffer) -> Self
pub fn supports_avx(&self) -> bool
pub fn swap32(&mut self, src1: impl OperandCast, src2: impl OperandCast)
pub fn swap64(&mut self, src1: impl OperandCast, src2: impl OperandCast)
pub fn mov32(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn mov64(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn load8(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn load16(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn load32(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn load64(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn store8(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn store16(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn store32(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn store64(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn zero32(&mut self, dst: impl OperandCast)
pub fn zero64(&mut self, dst: impl OperandCast)
pub fn add32( &mut self, dst: impl OperandCast, src1: impl OperandCast, src2: impl OperandCast, )
pub fn add64( &mut self, dst: impl OperandCast, src1: impl OperandCast, src2: impl OperandCast, )
pub fn x86_lea32(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn x86_lea64(&mut self, dst: impl OperandCast, src: impl OperandCast)
pub fn sub32( &mut self, dst: impl OperandCast, src1: impl OperandCast, src2: impl OperandCast, )
pub fn sub64( &mut self, dst: impl OperandCast, src1: impl OperandCast, src2: impl OperandCast, )
pub fn neg32(&mut self, srcdst: impl OperandCast)
pub fn neg64(&mut self, srcdst: impl OperandCast)
pub fn mul64( &mut self, dst: impl OperandCast, src1: impl OperandCast, src2: impl OperandCast, )
pub fn mul32( &mut self, dst: impl OperandCast, src1: impl OperandCast, src2: impl OperandCast, )
pub fn div64( &mut self, dst: impl OperandCast, src1: impl OperandCast, src2: impl OperandCast, )
Auto Trait Implementations§
impl<'a> Freeze for MacroAssembler<'a>
impl<'a> RefUnwindSafe for MacroAssembler<'a>
impl<'a> Send for MacroAssembler<'a>
impl<'a> Sync for MacroAssembler<'a>
impl<'a> Unpin for MacroAssembler<'a>
impl<'a> !UnwindSafe for MacroAssembler<'a>
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