Home
last modified time | relevance | path

Searched refs:rex_prefix (Results 1 – 8 of 8) sorted by relevance

/arch/x86/include/asm/
Dinsn.h28 struct insn_field rex_prefix; /* REX prefix */ member
181 return insn_offset_rex_prefix(insn) + insn->rex_prefix.nbytes; in insn_offset_vex_prefix()
Dkvm_emulate.h331 u8 rex_prefix; member
/arch/x86/lib/
Dinsn.c160 insn->rex_prefix.value = b; in insn_get_prefixes()
161 insn->rex_prefix.nbytes = 1; in insn_get_prefixes()
168 insn->rex_prefix.got = 1; in insn_get_prefixes()
Dinsn-eval.c441 if (X86_REX_B(insn->rex_prefix.value)) in get_reg_offset()
447 if (X86_REX_X(insn->rex_prefix.value)) in get_reg_offset()
470 if (X86_REX_B(insn->rex_prefix.value)) in get_reg_offset()
/arch/x86/tools/
Dinsn_decoder_test.c74 dump_field(fp, "rex_prefix", "\t", &insn->rex_prefix); in dump_insn()
Dinsn_sanity.c71 dump_field(fp, "rex_prefix", "\t", &insn->rex_prefix); in dump_insn()
/arch/x86/kernel/
Duprobes.c349 if (insn->rex_prefix.nbytes) { in riprel_analyze()
779 if (insn->rex_prefix.nbytes != 1 || in push_setup_xol_ops()
780 insn->rex_prefix.bytes[0] != 0x41) in push_setup_xol_ops()
/arch/x86/kvm/
Demulate.c993 int highbyte_regs = (ctxt->rex_prefix == 0) && byteop; in decode_register()
1260 reg = (ctxt->b & 7) | ((ctxt->rex_prefix & 1) << 3); in decode_register_operand()
1299 ctxt->modrm_reg = ((ctxt->rex_prefix << 1) & 8); /* REX.R */ in decode_modrm()
1300 index_reg = (ctxt->rex_prefix << 2) & 8; /* REX.X */ in decode_modrm()
1301 base_reg = (ctxt->rex_prefix << 3) & 8; /* REX.B */ in decode_modrm()
2946 if ((ctxt->rex_prefix & 0x8) != 0x0) in em_sysexit()
5334 ctxt->rex_prefix = ctxt->b; in x86_decode_insn()
5349 ctxt->rex_prefix = 0; in x86_decode_insn()
5355 if (ctxt->rex_prefix & 8) in x86_decode_insn()