Searched refs:encoding_ (Results 1 – 3 of 3) sorted by relevance
78 return static_cast<int8_t>(encoding_[length_ - 1]); in disp8()84 memcpy(&value, &encoding_[length_ - 4], sizeof(value)); in disp32()89 return ((encoding_[0] & 0xF8) == 0xC0) // Addressing mode is register only. in IsRegister()90 && ((encoding_[0] & 0x07) == reg); // Register codes match. in IsRegister()99 encoding_[0] = (mod_in << 6) | rm_in; in SetModRM()106 encoding_[1] = (scale_in << 6) | (index_in << 3) | base_in; in SetSIB()112 encoding_[length_++] = static_cast<uint8_t>(disp); in SetDisp8()118 memmove(&encoding_[length_], &disp, disp_size); in SetDisp32()132 uint8_t encoding_[6]; variable144 return encoding_[index_in]; in encoding_at()
3747 CHECK_EQ(operand.encoding_[0] & 0x38, 0); in EmitOperand()3748 EmitUint8(operand.encoding_[0] + (reg_or_opcode << 3)); in EmitOperand()3751 EmitUint8(operand.encoding_[i]); in EmitOperand()
105 return static_cast<int8_t>(encoding_[length_ - 1]); in disp8()111 memcpy(&value, &encoding_[length_ - 4], sizeof(value)); in disp32()116 return ((encoding_[0] & 0xF8) == 0xC0) // Addressing mode is register only. in IsRegister()117 && ((encoding_[0] & 0x07) == reg.LowBits()) // Register codes match. in IsRegister()134 encoding_[0] = (mod_in << 6) | rm_in.LowBits(); in SetModRM()147 encoding_[1] = (scale_in << 6) | (static_cast<uint8_t>(index_in.LowBits()) << 3) | in SetSIB()154 encoding_[length_++] = static_cast<uint8_t>(disp); in SetDisp8()160 memmove(&encoding_[length_], &disp, disp_size); in SetDisp32()171 uint8_t encoding_[6]; variable180 return encoding_[index_in]; in encoding_at()