Searched refs:modrm_reg (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/objtool/arch/x86/ |
H A D | decode.c | 157 modrm = 0, modrm_mod = 0, modrm_rm = 0, modrm_reg = 0, in arch_decode_instruction() local 197 modrm_reg = X86_MODRM_REG(modrm) + 8*rex_r; in arch_decode_instruction() 217 op->src.reg = modrm_reg; in arch_decode_instruction() 291 switch (modrm_reg & 7) { in arch_decode_instruction() 328 if (modrm_reg == CFI_SP) { in arch_decode_instruction() 371 op->src.reg = modrm_reg; in arch_decode_instruction() 388 op->src.reg = modrm_reg; in arch_decode_instruction() 401 op->src.reg = modrm_reg; in arch_decode_instruction() 423 op->dest.reg = modrm_reg; in arch_decode_instruction() 436 op->dest.reg = modrm_reg; in arch_decode_instruction() [all …]
|
/openbmc/qemu/hw/i386/ |
H A D | vapic.c | 83 uint8_t modrm_reg; member 120 .modrm_reg = 6, 128 .modrm_reg = 0, 184 static uint8_t modrm_reg(uint8_t modrm) in modrm_reg() function 199 modrm_reg(opcode[1]) == instr->modrm_reg); in opcode_matches() 417 patch_byte(x86_cpu, ip, 0x50 + modrm_reg(opcode[1])); /* push reg */ in do_patch_instruction() 422 patch_call(x86_cpu, ip + 1, handlers->get_tpr[modrm_reg(opcode[1])]); in do_patch_instruction()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | kvm_emulate.h | 40 u8 modrm_reg; /* index of register used */ member 348 u8 modrm_reg; member
|
H A D | emulate.c | 474 .modrm_reg = ctxt->modrm_reg, in emulator_check_intercept() 974 static void *decode_register(struct x86_emulate_ctxt *ctxt, u8 modrm_reg, in decode_register() argument 980 if (highbyte_regs && modrm_reg >= 4 && modrm_reg < 8) in decode_register() 981 p = (unsigned char *)reg_rmw(ctxt, modrm_reg & 3) + 1; in decode_register() 983 p = reg_rmw(ctxt, modrm_reg); in decode_register() 1142 reg = ctxt->modrm_reg; in decode_register_operand() 1183 ctxt->modrm_reg = ((ctxt->rex_prefix << 1) & 8); /* REX.R */ in decode_modrm() 1188 ctxt->modrm_reg |= (ctxt->modrm & 0x38) >> 3; in decode_modrm() 3300 int cr_num = ctxt->modrm_reg; in em_cr_write() 3332 if (ctxt->ops->set_dr(ctxt, ctxt->modrm_reg, val) < 0) in em_dr_write() [all …]
|
/openbmc/qemu/target/i386/hvf/ |
H A D | x86_decode.c | 439 uint8_t modrm_reg; member 490 decode->opcode[0], decode->modrm.modrm, decoder->modrm_reg, in decode_x87_ins() 2137 _x87_inst[i].modrm_reg; in init_decoder()
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | svm.c | 4510 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept() 4516 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept() 4544 icpt_info.exit_code += info->modrm_reg; in svm_check_intercept()
|