Home
last modified time | relevance | path

Searched refs:vex_prefix (Results 1 – 5 of 5) sorted by relevance

/arch/x86/include/asm/
Dinsn.h29 struct insn_field vex_prefix; /* VEX prefix */ member
122 return (insn->vex_prefix.value != 0); in insn_is_avx()
129 return (insn->vex_prefix.nbytes == 4); in insn_is_evex()
146 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_m_bits()
148 else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */ in insn_vex_m_bits()
149 return X86_VEX3_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
151 return X86_EVEX_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
156 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_p_bits()
157 return X86_VEX_P(insn->vex_prefix.bytes[1]); in insn_vex_p_bits()
159 return X86_VEX_P(insn->vex_prefix.bytes[2]); in insn_vex_p_bits()
[all …]
/arch/x86/lib/
Dinsn.c184 insn->vex_prefix.bytes[0] = b; in insn_get_prefixes()
185 insn->vex_prefix.bytes[1] = b2; in insn_get_prefixes()
188 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
190 insn->vex_prefix.bytes[3] = b2; in insn_get_prefixes()
191 insn->vex_prefix.nbytes = 4; in insn_get_prefixes()
198 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
199 insn->vex_prefix.nbytes = 3; in insn_get_prefixes()
210 insn->vex_prefix.bytes[2] = b2 & 0x7f; in insn_get_prefixes()
211 insn->vex_prefix.nbytes = 2; in insn_get_prefixes()
216 insn->vex_prefix.got = 1; in insn_get_prefixes()
/arch/x86/tools/
Dinsn_decoder_test.c75 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); in dump_insn()
Dinsn_sanity.c72 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); in dump_insn()
/arch/x86/kernel/
Duprobes.c358 if (insn->vex_prefix.nbytes >= 3) { in riprel_analyze()
415 if (insn->vex_prefix.nbytes) in riprel_analyze()
416 reg2 = insn->vex_prefix.bytes[2]; in riprel_analyze()