pub struct Gpd(pub Gp);Tuple Fields§
§0: GpImplementations§
Source§impl Gpd
impl Gpd
pub const fn signature_of(typ: RegType) -> OperandSignature
Source§impl Gpd
impl Gpd
pub const fn new() -> Self
pub const fn from_signature_and_id(signature: OperandSignature, id: u32) -> Self
pub const fn from_type_and_id(typ: RegType, id: u32) -> Self
Methods from Deref<Target = Gp>§
pub const AX: u32 = 0
pub const CX: u32 = 1
pub const DX: u32 = 2
pub const BX: u32 = 3
pub const SP: u32 = 4
pub const BP: u32 = 5
pub const SI: u32 = 6
pub const DI: u32 = 7
pub const R8: u32 = 8
pub const R9: u32 = 9
pub const R10: u32 = 10
pub const R11: u32 = 11
pub const R12: u32 = 12
pub const R13: u32 = 13
pub const R14: u32 = 14
pub const R15: u32 = 15
pub const SIGNATURE: u32 = Reg::SIGNATURE
pub fn r8(&self) -> GpbLo
pub fn r8lo(&self) -> GpbLo
pub fn r8hi(&self) -> GpbHi
pub fn r16(&self) -> Gpw
pub fn r32(&self) -> Gpd
pub fn r64(&self) -> Gpq
Methods from Deref<Target = Reg>§
pub const SIGNATURE: u32 = BaseReg::SIGNATURE
pub fn is_gpb(&self) -> bool
pub fn is_gpb_lo(&self) -> bool
pub fn is_gpb_hi(&self) -> bool
pub fn is_gpw(&self) -> bool
pub fn is_gpd(&self) -> bool
pub fn is_gpq(&self) -> bool
pub fn is_gp32(&self) -> bool
pub fn is_gp64(&self) -> bool
pub fn is_xmm(&self) -> bool
pub fn is_ymm(&self) -> bool
pub fn is_zmm(&self) -> bool
pub fn is_vec128(&self) -> bool
pub fn is_vec256(&self) -> bool
pub fn is_vec512(&self) -> bool
pub fn is_mm(&self) -> bool
pub fn is_k_reg(&self) -> bool
pub fn is_s_reg(&self) -> bool
pub fn is_c_reg(&self) -> bool
pub fn is_d_reg(&self) -> bool
pub fn is_st(&self) -> bool
pub fn is_bnd(&self) -> bool
pub fn is_tmm(&self) -> bool
pub fn is_rip(&self) -> bool
pub fn set_reg_t<T: RegTraits>(&mut self, rid: u32)
pub fn set_type_and_id(&mut self, typ: RegType, id: u32)
Methods from Deref<Target = BaseReg>§
pub const SIGNATURE: u32 = REG_BASE_SIGNATURE_MASK
pub fn base_signature(&self) -> OperandSignature
pub fn has_base_signature(&self, signature: impl Into<OperandSignature>) -> bool
pub fn is_valid(&self) -> bool
pub fn is_phys_reg(&self) -> bool
pub fn is_virt_reg(&self) -> bool
pub fn is_type(&self, typ: RegType) -> bool
pub fn is_group(&self, group: RegGroup) -> bool
pub fn is_gp(&self) -> bool
pub fn is_vec(&self) -> bool
pub fn is_mask(&self) -> bool
pub fn is_reg_of_type(&self, typ: RegType) -> bool
pub fn is_reg_of_type_and_id(&self, typ: RegType, id: u32) -> bool
pub fn typ(&self) -> RegType
pub fn reg_type(&self) -> RegType
pub fn group(&self) -> RegGroup
pub fn has_size(&self) -> bool
pub fn size(&self) -> u32
pub fn predicate(&self) -> u32
pub fn set_predicate(&mut self, predicate: u32)
pub fn reset_predicate(&mut self)
Methods from Deref<Target = Operand>§
pub fn reset(&mut self)
pub fn has_signature(&self, other: OperandSignature) -> bool
pub fn signature(&self) -> OperandSignature
pub fn set_signature(&mut self, sig: OperandSignature)
pub fn set_id(&mut self, id: u32)
pub fn op_type(&self) -> OperandType
pub fn is_none(&self) -> bool
pub fn is_reg(&self) -> bool
pub fn is_reg_list(&self) -> bool
pub fn is_mem(&self) -> bool
pub fn is_imm(&self) -> bool
pub fn is_label(&self) -> bool
pub fn is_sym(&self) -> bool
pub fn is_phys_reg(&self) -> bool
pub fn is_virt_reg(&self) -> bool
pub fn id(&self) -> u32
pub fn is_reg_type_of(&self, typ: RegType) -> bool
pub fn is_reg_group_of(&self, group: RegGroup) -> bool
pub fn is_gp(&self) -> bool
pub fn is_gp32(&self) -> bool
pub fn is_gp64(&self) -> bool
pub fn is_vec(&self) -> bool
pub fn is_vec8(&self) -> bool
pub fn is_vec16(&self) -> bool
pub fn is_vec32(&self) -> bool
pub fn is_vec64(&self) -> bool
pub fn is_vec128(&self) -> bool
pub fn is_vec256(&self) -> bool
pub fn is_vec512(&self) -> bool
pub fn is_mask(&self) -> bool
pub fn is_reg_list_of(&self, typ: RegType) -> bool
pub fn is_reg_or_mem(&self) -> bool
pub fn is_reg_or_reg_list_or_mem(&self) -> bool
pub fn x86_rm_size(&self) -> u32
pub fn as_<T>(&self) -> Twhere
T: OperandCast,
Trait Implementations§
Source§impl CmovEmitter<Gpd, Gpd> for Assembler<'_>
impl CmovEmitter<Gpd, Gpd> for Assembler<'_>
fn cmov(&mut self, cc: CondCode, dst: Gpd, src: Gpd)
fn cmovo(&mut self, dst: Gpd, src: Gpd)
fn cmovno(&mut self, dst: Gpd, src: Gpd)
fn cmovb(&mut self, dst: Gpd, src: Gpd)
fn cmovnb(&mut self, dst: Gpd, src: Gpd)
fn cmovz(&mut self, dst: Gpd, src: Gpd)
fn cmovnz(&mut self, dst: Gpd, src: Gpd)
fn cmovbe(&mut self, dst: Gpd, src: Gpd)
fn cmovnbe(&mut self, dst: Gpd, src: Gpd)
fn cmovs(&mut self, dst: Gpd, src: Gpd)
fn cmovns(&mut self, dst: Gpd, src: Gpd)
fn cmovp(&mut self, dst: Gpd, src: Gpd)
fn cmovnp(&mut self, dst: Gpd, src: Gpd)
fn cmovl(&mut self, dst: Gpd, src: Gpd)
fn cmovnl(&mut self, dst: Gpd, src: Gpd)
fn cmovle(&mut self, dst: Gpd, src: Gpd)
fn cmovnle(&mut self, dst: Gpd, src: Gpd)
Source§impl CmovEmitter<Gpd, Mem> for Assembler<'_>
impl CmovEmitter<Gpd, Mem> for Assembler<'_>
fn cmov(&mut self, cc: CondCode, dst: Gpd, src: Mem)
fn cmovo(&mut self, dst: Gpd, src: Mem)
fn cmovno(&mut self, dst: Gpd, src: Mem)
fn cmovb(&mut self, dst: Gpd, src: Mem)
fn cmovnb(&mut self, dst: Gpd, src: Mem)
fn cmovz(&mut self, dst: Gpd, src: Mem)
fn cmovnz(&mut self, dst: Gpd, src: Mem)
fn cmovbe(&mut self, dst: Gpd, src: Mem)
fn cmovnbe(&mut self, dst: Gpd, src: Mem)
fn cmovs(&mut self, dst: Gpd, src: Mem)
fn cmovns(&mut self, dst: Gpd, src: Mem)
fn cmovp(&mut self, dst: Gpd, src: Mem)
fn cmovnp(&mut self, dst: Gpd, src: Mem)
fn cmovl(&mut self, dst: Gpd, src: Mem)
fn cmovnl(&mut self, dst: Gpd, src: Mem)
fn cmovle(&mut self, dst: Gpd, src: Mem)
fn cmovnle(&mut self, dst: Gpd, src: Mem)
impl Copy for Gpd
impl Eq for Gpd
Source§impl OperandCast for Gpd
impl OperandCast for Gpd
fn as_operand(&self) -> &Operand
fn from_operand(op: &Operand) -> Self
Source§impl Ord for Gpd
impl Ord for Gpd
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Gpd
impl PartialOrd for Gpd
impl StructuralPartialEq for Gpd
Source§impl Vcvtsd2usiEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvtsd2usiEmitter<Gpd, Mem> for Assembler<'_>
fn vcvtsd2usi(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvtsd2usiEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvtsd2usiEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvtsd2usi(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvtsh2usiEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvtsh2usiEmitter<Gpd, Mem> for Assembler<'_>
fn vcvtsh2usi(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvtsh2usiEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvtsh2usiEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvtsh2usi(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvtss2usiEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvtss2usiEmitter<Gpd, Mem> for Assembler<'_>
fn vcvtss2usi(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvtss2usiEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvtss2usiEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvtss2usi(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvttsd2siEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvttsd2siEmitter<Gpd, Mem> for Assembler<'_>
fn vcvttsd2si(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvttsd2siEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvttsd2siEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvttsd2si(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvttsd2usiEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvttsd2usiEmitter<Gpd, Mem> for Assembler<'_>
fn vcvttsd2usi(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvttsd2usiEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvttsd2usiEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvttsd2usi(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvttsh2siEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvttsh2siEmitter<Gpd, Mem> for Assembler<'_>
fn vcvttsh2si(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvttsh2siEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvttsh2siEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvttsh2si(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvttsh2usiEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvttsh2usiEmitter<Gpd, Mem> for Assembler<'_>
fn vcvttsh2usi(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvttsh2usiEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvttsh2usiEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvttsh2usi(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvttss2siEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvttss2siEmitter<Gpd, Mem> for Assembler<'_>
fn vcvttss2si(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvttss2siEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvttss2siEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvttss2si(&mut self, dst: Gpd, src: Xmm)
Source§impl Vcvttss2usiEmitter<Gpd, Mem> for Assembler<'_>
impl Vcvttss2usiEmitter<Gpd, Mem> for Assembler<'_>
fn vcvttss2usi(&mut self, dst: Gpd, src: Mem)
Source§impl Vcvttss2usiEmitter<Gpd, Xmm> for Assembler<'_>
impl Vcvttss2usiEmitter<Gpd, Xmm> for Assembler<'_>
fn vcvttss2usi(&mut self, dst: Gpd, src: Xmm)
Source§impl<U2: Into<Imm>> VextractpsEmitter<Gpd, Xmm, U2> for Assembler<'_>
impl<U2: Into<Imm>> VextractpsEmitter<Gpd, Xmm, U2> for Assembler<'_>
fn vextractps(&mut self, dst: Gpd, src1: Xmm, src2: U2)
Source§impl VpbroadcastbEmitter<Xmm, Gpd> for Assembler<'_>
impl VpbroadcastbEmitter<Xmm, Gpd> for Assembler<'_>
fn vpbroadcastb(&mut self, dst: Xmm, src: Gpd)
Source§impl VpbroadcastbEmitter<Ymm, Gpd> for Assembler<'_>
impl VpbroadcastbEmitter<Ymm, Gpd> for Assembler<'_>
fn vpbroadcastb(&mut self, dst: Ymm, src: Gpd)
Source§impl VpbroadcastbEmitter<Zmm, Gpd> for Assembler<'_>
impl VpbroadcastbEmitter<Zmm, Gpd> for Assembler<'_>
fn vpbroadcastb(&mut self, dst: Zmm, src: Gpd)
Source§impl VpbroadcastdEmitter<Xmm, Gpd> for Assembler<'_>
impl VpbroadcastdEmitter<Xmm, Gpd> for Assembler<'_>
fn vpbroadcastd(&mut self, dst: Xmm, src: Gpd)
Source§impl VpbroadcastdEmitter<Ymm, Gpd> for Assembler<'_>
impl VpbroadcastdEmitter<Ymm, Gpd> for Assembler<'_>
fn vpbroadcastd(&mut self, dst: Ymm, src: Gpd)
Source§impl VpbroadcastdEmitter<Zmm, Gpd> for Assembler<'_>
impl VpbroadcastdEmitter<Zmm, Gpd> for Assembler<'_>
fn vpbroadcastd(&mut self, dst: Zmm, src: Gpd)
Source§impl VpbroadcastwEmitter<Xmm, Gpd> for Assembler<'_>
impl VpbroadcastwEmitter<Xmm, Gpd> for Assembler<'_>
fn vpbroadcastw(&mut self, dst: Xmm, src: Gpd)
Source§impl VpbroadcastwEmitter<Ymm, Gpd> for Assembler<'_>
impl VpbroadcastwEmitter<Ymm, Gpd> for Assembler<'_>
fn vpbroadcastw(&mut self, dst: Ymm, src: Gpd)
Source§impl VpbroadcastwEmitter<Zmm, Gpd> for Assembler<'_>
impl VpbroadcastwEmitter<Zmm, Gpd> for Assembler<'_>
fn vpbroadcastw(&mut self, dst: Zmm, src: Gpd)
Auto Trait Implementations§
impl Freeze for Gpd
impl RefUnwindSafe for Gpd
impl Send for Gpd
impl Sync for Gpd
impl Unpin for Gpd
impl UnsafeUnpin for Gpd
impl UnwindSafe for Gpd
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