Lines Matching refs:modrm
1172 ctxt->modrm_mod = (ctxt->modrm & 0xc0) >> 6; in decode_modrm()
1173 ctxt->modrm_reg |= (ctxt->modrm & 0x38) >> 3; in decode_modrm()
1174 ctxt->modrm_rm = base_reg | (ctxt->modrm & 0x07); in decode_modrm()
4592 ctxt->modrm = insn_fetch(u8, ctxt); in x86_decode_insn()
4596 (mode == X86EMUL_MODE_PROT64 || (ctxt->modrm & 0xc0) == 0xc0)) { in x86_decode_insn()
4603 goffset = (ctxt->modrm >> 3) & 7; in x86_decode_insn()
4607 goffset = (ctxt->modrm >> 3) & 7; in x86_decode_insn()
4608 if ((ctxt->modrm >> 6) == 3) in x86_decode_insn()
4614 goffset = ctxt->modrm & 7; in x86_decode_insn()
4629 if (ctxt->modrm > 0xbf) in x86_decode_insn()
4630 opcode = opcode.u.esc->high[ctxt->modrm - 0xc0]; in x86_decode_insn()
4632 opcode = opcode.u.esc->op[(ctxt->modrm >> 3) & 7]; in x86_decode_insn()
4635 if ((ctxt->modrm >> 6) == 3) in x86_decode_insn()
4815 (void *)&ctxt->modrm - (void *)&ctxt->rip_relative); in init_decode_cache()