Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/include/asm/
Dinsn.h28 struct insn_field rex_prefix; /* REX prefix */ member
175 return insn_offset_rex_prefix(insn) + insn->rex_prefix.nbytes; in insn_offset_vex_prefix()
Dkvm_emulate.h331 u8 rex_prefix; member
/Linux-v5.4/tools/arch/x86/include/asm/
Dinsn.h28 struct insn_field rex_prefix; /* REX prefix */ member
175 return insn_offset_rex_prefix(insn) + insn->rex_prefix.nbytes; in insn_offset_vex_prefix()
/Linux-v5.4/arch/x86/lib/
Dinsn.c126 insn->rex_prefix.value = b; in insn_get_prefixes()
127 insn->rex_prefix.nbytes = 1; in insn_get_prefixes()
134 insn->rex_prefix.got = 1; in insn_get_prefixes()
Dinsn-eval.c440 if (X86_REX_B(insn->rex_prefix.value)) in get_reg_offset()
446 if (X86_REX_X(insn->rex_prefix.value)) in get_reg_offset()
469 if (X86_REX_B(insn->rex_prefix.value)) in get_reg_offset()
/Linux-v5.4/tools/arch/x86/lib/
Dinsn.c126 insn->rex_prefix.value = b; in insn_get_prefixes()
127 insn->rex_prefix.nbytes = 1; in insn_get_prefixes()
134 insn->rex_prefix.got = 1; in insn_get_prefixes()
/Linux-v5.4/arch/x86/kernel/
Duprobes.c348 if (insn->rex_prefix.nbytes) { in riprel_analyze()
775 if (insn->rex_prefix.nbytes != 1 || in push_setup_xol_ops()
776 insn->rex_prefix.bytes[0] != 0x41) in push_setup_xol_ops()
/Linux-v5.4/tools/objtool/arch/x86/
Ddecode.c101 if (insn.rex_prefix.nbytes) { in arch_decode_instruction()
102 rex = insn.rex_prefix.bytes[0]; in arch_decode_instruction()
/Linux-v5.4/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()
/Linux-v5.4/arch/x86/kvm/
Demulate.c963 int highbyte_regs = (ctxt->rex_prefix == 0) && byteop; in decode_register()
1202 reg = (ctxt->b & 7) | ((ctxt->rex_prefix & 1) << 3); in decode_register_operand()
1241 ctxt->modrm_reg = ((ctxt->rex_prefix << 1) & 8); /* REX.R */ in decode_modrm()
1242 index_reg = (ctxt->rex_prefix << 2) & 8; /* REX.X */ in decode_modrm()
1243 base_reg = (ctxt->rex_prefix << 3) & 8; /* REX.B */ in decode_modrm()
2883 if ((ctxt->rex_prefix & 0x8) != 0x0) in em_sysexit()
5229 ctxt->rex_prefix = ctxt->b; in x86_decode_insn()
5244 ctxt->rex_prefix = 0; in x86_decode_insn()
5250 if (ctxt->rex_prefix & 8) in x86_decode_insn()