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,
YMM5,
YMM6,
YMM7,
YMM8,
YMM9,
YMM10,
YMM11,
YMM12,
YMM13,
YMM14,
YMM15,
K0,
K1,
K2,
K3,
K4,
K5,
K6,
K7,
XMM16,
XMM17,
XMM18,
XMM19,
XMM20,
XMM21,
XMM22,
XMM23,
XMM24,
XMM25,
XMM26,
XMM27,
XMM28,
XMM29,
XMM30,
XMM31,
YMM16,
YMM17,
YMM18,
YMM19,
YMM20,
YMM21,
YMM22,
YMM23,
YMM24,
YMM25,
YMM26,
YMM27,
YMM28,
YMM29,
YMM30,
YMM31,
ZMM0,
ZMM1,
ZMM2,
ZMM3,
ZMM4,
ZMM5,
ZMM6,
ZMM7,
ZMM8,
ZMM9,
ZMM10,
ZMM11,
ZMM12,
ZMM13,
ZMM14,
ZMM15,
ZMM16,
ZMM17,
ZMM18,
ZMM19,
ZMM20,
ZMM21,
ZMM22,
ZMM23,
ZMM24,
ZMM25,
ZMM26,
ZMM27,
ZMM28,
ZMM29,
ZMM30,
ZMM31,
K0_K1,
K2_K3,
K4_K5,
K6_K7,
TMMCFG,
TMM0,
TMM1,
TMM2,
TMM3,
TMM4,
TMM5,
TMM6,
TMM7,
R16,
R17,
R18,
R19,
R20,
R21,
R22,
R23,
R24,
R25,
R26,
R27,
R28,
R29,
R30,
R31,
R16B,
R17B,
R18B,
R19B,
R20B,
R21B,
R22B,
R23B,
R24B,
R25B,
R26B,
R27B,
R28B,
R29B,
R30B,
R31B,
R16BH,
R17BH,
R18BH,
R19BH,
R20BH,
R21BH,
R22BH,
R23BH,
R24BH,
R25BH,
R26BH,
R27BH,
R28BH,
R29BH,
R30BH,
R31BH,
R16D,
R17D,
R18D,
R19D,
R20D,
R21D,
R22D,
R23D,
R24D,
R25D,
R26D,
R27D,
R28D,
R29D,
R30D,
R31D,
R16W,
R17W,
R18W,
R19W,
R20W,
R21W,
R22W,
R23W,
R24W,
R25W,
R26W,
R27W,
R28W,
R29W,
R30W,
R31W,
R16WH,
R17WH,
R18WH,
R19WH,
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M21
XMM22
XMM23
XMM24
XMM25
XMM26
XMM27
XMM28
XMM29
XMM30
XMM31
YMM16
YMM17
YMM18
YMM19
YMM20
YMM21
YMM22
YMM23
YMM24
YMM25
YMM26
YMM27
YMM28
YMM29
YMM30
YMM31
ZMM0
ZMM1
ZMM2
ZMM3
ZMM4
ZMM5
ZMM6
ZMM7
ZMM8
ZMM9
ZMM10
ZMM11
ZMM12
ZMM13
ZMM14
ZMM15
ZMM16
ZMM17
ZMM18
ZMM19
ZMM20
ZMM21
ZMM22
ZMM23
ZMM24
ZMM25
ZMM26
ZMM27
ZMM28
ZMM29
ZMM30
ZMM31
K0_K1
K2_K3
K4_K5
K6_K7
TMMCFG
TMM0
TMM1
TMM2
TMM3
TMM4
TMM5
TMM6
TMM7
R16
R17
R18
R19
R20
R21
R22
R23
R24
R25
R26
R27
R28
R29
R30
R31
R16B
R17B
R18B
R19B
R20B
R21B
R22B
R23B
R24B
R25B
R26B
R27B
R28B
R29B
R30B
R31B
R16BH
R17BH
R18BH
R19BH
R20BH
R21BH
R22BH
R23BH
R24BH
R25BH
R26BH
R27BH
R28BH
R29BH
R30BH
R31BH
R16D
R17D
R18D
R19D
R20D
R21D
R22D
R23D
R24D
R25D
R26D
R27D
R28D
R29D
R30D
R31D
R16W
R17W
R18W
R19W
R20W
R21W
R22W
R23W
R24W
R25W
R26W
R27W
R28W
R29W
R30W
R31W
R16WH
R17WH
R18WH
R19WH
R20WH
R21WH
R22WH
R23WH
R24WH
R25WH
R26WH
R27WH
R28WH
R29WH
R30WH
R31WH
NUM_TARGET_REGS
UNKNOWN(u64)
Trait Implementations§
§impl Ord for Reg
impl Ord for Reg
§impl PartialOrd<Reg> for Reg
impl PartialOrd<Reg> for Reg
§fn partial_cmp(&self, other: &Reg) -> Option<Ordering>
fn partial_cmp(&self, other: &Reg) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Reg
impl Eq for Reg
impl StructuralEq for Reg
impl StructuralPartialEq for Reg
Auto Trait Implementations§
impl RefUnwindSafe for Reg
impl Send for Reg
impl Sync for Reg
impl Unpin for Reg
impl UnwindSafe for Reg
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