Lines Matching refs:reg
86 void Assembler::emit_rex_64(Register reg, Register rm_reg) {
87 emit(0x48 | reg.high_bit() << 2 | rm_reg.high_bit());
91 void Assembler::emit_rex_64(XMMRegister reg, Register rm_reg) {
92 emit(0x48 | (reg.code() & 0x8) >> 1 | rm_reg.code() >> 3);
96 void Assembler::emit_rex_64(Register reg, XMMRegister rm_reg) {
97 emit(0x48 | (reg.code() & 0x8) >> 1 | rm_reg.code() >> 3);
101 void Assembler::emit_rex_64(Register reg, const Operand& op) {
102 emit(0x48 | reg.high_bit() << 2 | op.rex_);
106 void Assembler::emit_rex_64(XMMRegister reg, const Operand& op) {
107 emit(0x48 | (reg.code() & 0x8) >> 1 | op.rex_);
122 void Assembler::emit_rex_32(Register reg, Register rm_reg) {
123 emit(0x40 | reg.high_bit() << 2 | rm_reg.high_bit());
127 void Assembler::emit_rex_32(Register reg, const Operand& op) {
128 emit(0x40 | reg.high_bit() << 2 | op.rex_);
142 void Assembler::emit_optional_rex_32(Register reg, Register rm_reg) {
143 byte rex_bits = reg.high_bit() << 2 | rm_reg.high_bit();
148 void Assembler::emit_optional_rex_32(Register reg, const Operand& op) {
149 byte rex_bits = reg.high_bit() << 2 | op.rex_;
154 void Assembler::emit_optional_rex_32(XMMRegister reg, const Operand& op) {
155 byte rex_bits = (reg.code() & 0x8) >> 1 | op.rex_;
160 void Assembler::emit_optional_rex_32(XMMRegister reg, XMMRegister base) {
161 byte rex_bits = (reg.code() & 0x8) >> 1 | (base.code() & 0x8) >> 3;
166 void Assembler::emit_optional_rex_32(XMMRegister reg, Register base) {
167 byte rex_bits = (reg.code() & 0x8) >> 1 | (base.code() & 0x8) >> 3;
172 void Assembler::emit_optional_rex_32(Register reg, XMMRegister base) {
173 byte rex_bits = (reg.code() & 0x8) >> 1 | (base.code() & 0x8) >> 3;