Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A Dinsn.h74 struct insn_field vex_prefix; /* VEX prefix */ member
168 return (insn->vex_prefix.value != 0); in insn_is_avx()
175 return (insn->vex_prefix.nbytes == 4); in insn_is_evex()
185 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_m_bits()
187 else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */ in insn_vex_m_bits()
188 return X86_VEX3_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
190 return X86_EVEX_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
195 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_p_bits()
196 return X86_VEX_P(insn->vex_prefix.bytes[1]); in insn_vex_p_bits()
198 return X86_VEX_P(insn->vex_prefix.bytes[2]); in insn_vex_p_bits()
[all …]
/openbmc/linux/tools/arch/x86/include/asm/
H A Dinsn.h74 struct insn_field vex_prefix; /* VEX prefix */ member
168 return (insn->vex_prefix.value != 0); in insn_is_avx()
175 return (insn->vex_prefix.nbytes == 4); in insn_is_evex()
185 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_m_bits()
187 else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */ in insn_vex_m_bits()
188 return X86_VEX3_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
190 return X86_EVEX_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
195 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_p_bits()
196 return X86_VEX_P(insn->vex_prefix.bytes[1]); in insn_vex_p_bits()
198 return X86_VEX_P(insn->vex_prefix.bytes[2]); in insn_vex_p_bits()
[all …]
/openbmc/linux/tools/arch/x86/lib/
H A Dinsn.c206 insn_set_byte(&insn->vex_prefix, 0, b); in insn_get_prefixes()
207 insn_set_byte(&insn->vex_prefix, 1, b2); in insn_get_prefixes()
210 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
212 insn_set_byte(&insn->vex_prefix, 3, b2); in insn_get_prefixes()
213 insn->vex_prefix.nbytes = 4; in insn_get_prefixes()
220 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
221 insn->vex_prefix.nbytes = 3; in insn_get_prefixes()
232 insn_set_byte(&insn->vex_prefix, 2, b2 & 0x7f); in insn_get_prefixes()
233 insn->vex_prefix.nbytes = 2; in insn_get_prefixes()
238 insn->vex_prefix.got = 1; in insn_get_prefixes()
/openbmc/linux/arch/x86/lib/
H A Dinsn.c206 insn_set_byte(&insn->vex_prefix, 0, b); in insn_get_prefixes()
207 insn_set_byte(&insn->vex_prefix, 1, b2); in insn_get_prefixes()
210 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
212 insn_set_byte(&insn->vex_prefix, 3, b2); in insn_get_prefixes()
213 insn->vex_prefix.nbytes = 4; in insn_get_prefixes()
220 insn_set_byte(&insn->vex_prefix, 2, b2); in insn_get_prefixes()
221 insn->vex_prefix.nbytes = 3; in insn_get_prefixes()
232 insn_set_byte(&insn->vex_prefix, 2, b2 & 0x7f); in insn_get_prefixes()
233 insn->vex_prefix.nbytes = 2; in insn_get_prefixes()
238 insn->vex_prefix.got = 1; in insn_get_prefixes()
/openbmc/linux/arch/x86/kernel/
H A 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()
/openbmc/linux/arch/x86/tools/
H A Dinsn_decoder_test.c75 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); in dump_insn()
H A Dinsn_sanity.c68 dump_field(fp, "vex_prefix", "\t", &insn->vex_prefix); in dump_insn()
/openbmc/linux/tools/objtool/arch/x86/
H A Ddecode.c177 if (ins.vex_prefix.nbytes) in arch_decode_instruction()