pub(crate) fn cmp_rmi_r(
        size: u8, // 1, 2, 4 or 8
        src: RegMemImm,
        dst: Reg,
    ) -> Inst {
        src.assert_regclass_is(RegClass::I64);
        debug_assert!(size == 8 || size == 4 || size == 2 || size == 1);
        debug_assert_eq!(dst.get_class(), RegClass::I64);
        Inst::CmpRmiR {
            size,
            src,
            dst,
            opcode: CmpOpcode::Cmp,
        }
    }
/// Does a comparison of dst - src for operands of size `size`, as stated by the machine
/// instruction semantics. Be careful with the order of parameters!
Does a comparison of dst - src for operands of size `size`, as stated by the machine
instruction semantics. Be careful with the order of parameters!
Does a comparison of dst - src for operands of size ` size ` as stated by the machine instruction semantics . Be careful with the order of parameters!
pub(crate) fn cmp_rmi_r(
        size: u8, // 1, 2, 4 or 8
        src: RegMemImm,
        dst: Reg,
    ) -> Inst {
        src.assert_regclass_is(RegClass::I64);
        debug_assert!(size == 8 || size == 4 || size == 2 || size == 1);
        debug_assert_eq!(dst.get_class(), RegClass::I64);
        Inst::CmpRmiR {
            size,
            src,
            dst,
            opcode: CmpOpcode::Cmp,
        }
    }
pub ( crate ) fn cmp_rmi_r ( size : u8 , // 1, 2, 4 or 8 src : RegMemImm , dst : Reg , ) -> Inst { src . assert_regclass_is ( RegClass :: I64 ) ; debug_assert ! ( size 8 size 4 size 2 size 1 ) ; debug_assert_eq ! ( dst get_class ( ) RegClass I64 ) ; Inst :: CmpRmiR { size , src , dst , opcode : CmpOpcode :: Cmp , } }
Does a comparison of dst - src for operands of size `size`, as stated by the machine
instruction semantics.
Does a comparison of dst - src for operands of size ` size ` as stated by the machine instruction semantics .
size
u8
src
RegMemImm
dst
Reg
size
u8
src
RegMemImm
dst
Reg