Lines Matching refs:primary_opcode
106 uint8_t primary_opcode; member
125 uint8_t opcode = opcode_and_modrm.primary_opcode; in MapOpcodeIntoControlFlowKind()
271 ret.primary_opcode = inst_bytes[op_idx]; in InstructionLengthDecode()
272 switch (ret.primary_opcode) { in InstructionLengthDecode()
321 ret.primary_opcode = inst_bytes[op_idx + 2]; in InstructionLengthDecode()
331 ret.primary_opcode = inst_bytes[op_idx + 3]; in InstructionLengthDecode()
342 ret.primary_opcode = inst_bytes[op_idx + 4]; in InstructionLengthDecode()
352 ret.primary_opcode = inst_bytes[op_idx]; in InstructionLengthDecode()
357 if (ret.primary_opcode == 0x0F) { in InstructionLengthDecode()
358 ret.primary_opcode = inst_bytes[++op_idx]; // get the next byte in InstructionLengthDecode()
360 if (ret.primary_opcode == 0x38) { in InstructionLengthDecode()
362 ret.primary_opcode = inst_bytes[++op_idx]; // get the next byte in InstructionLengthDecode()
364 } else if (ret.primary_opcode == 0x3A) { in InstructionLengthDecode()
366 ret.primary_opcode = inst_bytes[++op_idx]; in InstructionLengthDecode()
368 } else if ((ret.primary_opcode & 0xf8) == 0x38) { in InstructionLengthDecode()
370 ret.primary_opcode = inst_bytes[++op_idx]; in InstructionLengthDecode()
372 } else if (ret.primary_opcode == 0x0F) { in InstructionLengthDecode()