• Home
  • Raw
  • Download

Lines Matching refs:rex

2704 void X86_64Assembler::rex(bool force, bool w, Register* r, Register* x, Register* b) {
2710 uint8_t rex = force ? 0x40 : 0;
2712 rex |= 0x48; // REX.W000
2715 rex |= 0x44; // REX.0R00
2719 rex |= 0x42; // REX.00X0
2723 rex |= 0x41; // REX.000B
2726 if (rex != 0) {
2727 EmitUint8(rex);
2737 uint8_t rex = mem->rex();
2739 rex |= 0x40; // REX.0000
2742 rex |= 0x48; // REX.W000
2745 rex |= 0x44; // REX.0R00
2748 if (rex != 0) {
2749 EmitUint8(rex);
3757 uint8_t rex = force ? 0x40 : 0; in EmitOptionalRex() local
3759 rex |= 0x48; // REX.W000 in EmitOptionalRex()
3762 rex |= 0x44; // REX.0R00 in EmitOptionalRex()
3765 rex |= 0x42; // REX.00X0 in EmitOptionalRex()
3768 rex |= 0x41; // REX.000B in EmitOptionalRex()
3770 if (rex != 0) { in EmitOptionalRex()
3771 EmitUint8(rex); in EmitOptionalRex()
3796 uint8_t rex = operand.rex(); in EmitOptionalRex32() local
3797 if (rex != 0) { in EmitOptionalRex32()
3798 EmitUint8(rex); in EmitOptionalRex32()
3803 uint8_t rex = operand.rex(); in EmitOptionalRex32() local
3805 rex |= 0x44; // REX.0R00 in EmitOptionalRex32()
3807 if (rex != 0) { in EmitOptionalRex32()
3808 EmitUint8(rex); in EmitOptionalRex32()
3813 uint8_t rex = operand.rex(); in EmitOptionalRex32() local
3815 rex |= 0x44; // REX.0R00 in EmitOptionalRex32()
3817 if (rex != 0) { in EmitOptionalRex32()
3818 EmitUint8(rex); in EmitOptionalRex32()
3831 uint8_t rex = operand.rex(); in EmitRex64() local
3832 rex |= 0x48; // REX.W000 in EmitRex64()
3833 EmitUint8(rex); in EmitRex64()
3849 uint8_t rex = 0x48 | operand.rex(); // REX.W000 in EmitRex64() local
3851 rex |= 0x44; // REX.0R00 in EmitRex64()
3853 EmitUint8(rex); in EmitRex64()
3857 uint8_t rex = 0x48 | operand.rex(); // REX.W000 in EmitRex64() local
3859 rex |= 0x44; // REX.0R00 in EmitRex64()
3861 EmitUint8(rex); in EmitRex64()
3871 uint8_t rex = operand.rex(); in EmitOptionalByteRegNormalizingRex32() local
3875 rex |= 0x40; // REX.0000 in EmitOptionalByteRegNormalizingRex32()
3878 rex |= 0x44; // REX.0R00 in EmitOptionalByteRegNormalizingRex32()
3880 if (rex != 0) { in EmitOptionalByteRegNormalizingRex32()
3881 EmitUint8(rex); in EmitOptionalByteRegNormalizingRex32()