Lines Matching refs:rex
1523 void X86_64Assembler::rex(bool force, bool w, Register* r, Register* x, Register* b) {
1529 uint8_t rex = force ? 0x40 : 0;
1531 rex |= 0x48; // REX.W000
1534 rex |= 0x44; // REX.0R00
1538 rex |= 0x42; // REX.00X0
1542 rex |= 0x41; // REX.000B
1545 if (rex != 0) {
1546 EmitUint8(rex);
1556 uint8_t rex = mem->rex();
1558 rex |= 0x40; // REX.0000
1561 rex |= 0x48; // REX.W000
1564 rex |= 0x44; // REX.0R00
1567 if (rex != 0) {
1568 EmitUint8(rex);
2504 uint8_t rex = force ? 0x40 : 0; in EmitOptionalRex() local
2506 rex |= 0x48; // REX.W000 in EmitOptionalRex()
2509 rex |= 0x44; // REX.0R00 in EmitOptionalRex()
2512 rex |= 0x42; // REX.00X0 in EmitOptionalRex()
2515 rex |= 0x41; // REX.000B in EmitOptionalRex()
2517 if (rex != 0) { in EmitOptionalRex()
2518 EmitUint8(rex); in EmitOptionalRex()
2543 uint8_t rex = operand.rex(); in EmitOptionalRex32() local
2544 if (rex != 0) { in EmitOptionalRex32()
2545 EmitUint8(rex); in EmitOptionalRex32()
2550 uint8_t rex = operand.rex(); in EmitOptionalRex32() local
2552 rex |= 0x44; // REX.0R00 in EmitOptionalRex32()
2554 if (rex != 0) { in EmitOptionalRex32()
2555 EmitUint8(rex); in EmitOptionalRex32()
2560 uint8_t rex = operand.rex(); in EmitOptionalRex32() local
2562 rex |= 0x44; // REX.0R00 in EmitOptionalRex32()
2564 if (rex != 0) { in EmitOptionalRex32()
2565 EmitUint8(rex); in EmitOptionalRex32()
2578 uint8_t rex = operand.rex(); in EmitRex64() local
2579 rex |= 0x48; // REX.W000 in EmitRex64()
2580 EmitUint8(rex); in EmitRex64()
2596 uint8_t rex = 0x48 | operand.rex(); // REX.W000 in EmitRex64() local
2598 rex |= 0x44; // REX.0R00 in EmitRex64()
2600 EmitUint8(rex); in EmitRex64()
2604 uint8_t rex = 0x48 | operand.rex(); // REX.W000 in EmitRex64() local
2606 rex |= 0x44; // REX.0R00 in EmitRex64()
2608 EmitUint8(rex); in EmitRex64()
2618 uint8_t rex = operand.rex(); in EmitOptionalByteRegNormalizingRex32() local
2622 rex |= 0x40; // REX.0000 in EmitOptionalByteRegNormalizingRex32()
2625 rex |= 0x44; // REX.0R00 in EmitOptionalByteRegNormalizingRex32()
2627 if (rex != 0) { in EmitOptionalByteRegNormalizingRex32()
2628 EmitUint8(rex); in EmitOptionalByteRegNormalizingRex32()