Searched refs:rex_ (Results 1 – 4 of 4) sorted by relevance
101 emit(0x48 | reg.high_bit() << 2 | op.rex_); in emit_rex_64()106 emit(0x48 | (reg.code() & 0x8) >> 1 | op.rex_); in emit_rex_64()117 emit(0x48 | op.rex_); in emit_rex_64()127 emit(0x40 | reg.high_bit() << 2 | op.rex_); in emit_rex_32()137 emit(0x40 | op.rex_); in emit_rex_32()148 byte rex_bits = reg.high_bit() << 2 | op.rex_; in emit_optional_rex_32()154 byte rex_bits = (reg.code() & 0x8) >> 1 | op.rex_; in emit_optional_rex_32()183 if (op.rex_ != 0) emit(0x40 | op.rex_); in emit_optional_rex_32()526 rex_ |= rm_reg.high_bit(); in set_modrm()537 rex_ |= index.high_bit() << 1 | base.high_bit(); in set_sib()
295 rex_(0), in DisassemblerX64()323 byte rex_; member in disasm::DisassemblerX64332 rex_ = rex; in setRex()335 bool rex() { return rex_ != 0; } in rex()337 bool rex_b() { return (rex_ & 0x01) != 0; } in rex_b()340 int base_reg(int low_bits) { return low_bits | ((rex_ & 0x01) << 3); } in base_reg()342 bool rex_x() { return (rex_ & 0x02) != 0; } in rex_x()344 bool rex_r() { return (rex_ & 0x04) != 0; } in rex_r()346 bool rex_w() { return (rex_ & 0x08) != 0; } in rex_w()
98 Operand::Operand(Register base, int32_t disp) : rex_(0) { in Operand()120 int32_t disp) : rex_(0) { in Operand()140 int32_t disp) : rex_(0) { in Operand()174 rex_ = operand.rex_; in Operand()205 int index_code = ((buf_[1] >> 3) & 0x07) | ((rex_ & 0x02) << 2); in AddressUsesRegister()209 base_code = (buf_[1] & 0x07) | ((rex_ & 0x01) << 3); in AddressUsesRegister()217 base_code |= ((rex_ & 0x01) << 3); in AddressUsesRegister()
412 bool requires_rex() const { return rex_ != 0; } in requires_rex()418 byte rex_;