Lines Matching refs:modrm
1169 ctxt->modrm_mod = (ctxt->modrm & 0xc0) >> 6; in decode_modrm()
1170 ctxt->modrm_reg |= (ctxt->modrm & 0x38) >> 3; in decode_modrm()
1171 ctxt->modrm_rm = base_reg | (ctxt->modrm & 0x07); in decode_modrm()
4893 ctxt->modrm = insn_fetch(u8, ctxt); in x86_decode_insn()
4897 (mode == X86EMUL_MODE_PROT64 || (ctxt->modrm & 0xc0) == 0xc0)) { in x86_decode_insn()
4904 goffset = (ctxt->modrm >> 3) & 7; in x86_decode_insn()
4908 goffset = (ctxt->modrm >> 3) & 7; in x86_decode_insn()
4909 if ((ctxt->modrm >> 6) == 3) in x86_decode_insn()
4915 goffset = ctxt->modrm & 7; in x86_decode_insn()
4930 if (ctxt->modrm > 0xbf) in x86_decode_insn()
4931 opcode = opcode.u.esc->high[ctxt->modrm - 0xc0]; in x86_decode_insn()
4933 opcode = opcode.u.esc->op[(ctxt->modrm >> 3) & 7]; in x86_decode_insn()
4936 if ((ctxt->modrm >> 6) == 3) in x86_decode_insn()
5116 (void *)&ctxt->modrm - (void *)&ctxt->rip_relative); in init_decode_cache()