Home
last modified time | relevance | path

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

/tools/perf/util/intel-pt-decoder/
Dinsn.h42 struct insn_field vex_prefix; /* VEX prefix */ member
134 return (insn->vex_prefix.value != 0); in insn_is_avx()
141 return (insn->vex_prefix.nbytes == 4); in insn_is_evex()
153 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_m_bits()
155 else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */ in insn_vex_m_bits()
156 return X86_VEX3_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
158 return X86_EVEX_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
163 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_p_bits()
164 return X86_VEX_P(insn->vex_prefix.bytes[1]); in insn_vex_p_bits()
166 return X86_VEX_P(insn->vex_prefix.bytes[2]); in insn_vex_p_bits()
[all …]
Dinsn.c163 insn->vex_prefix.bytes[0] = b; in insn_get_prefixes()
164 insn->vex_prefix.bytes[1] = b2; in insn_get_prefixes()
167 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
169 insn->vex_prefix.bytes[3] = b2; in insn_get_prefixes()
170 insn->vex_prefix.nbytes = 4; in insn_get_prefixes()
177 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
178 insn->vex_prefix.nbytes = 3; in insn_get_prefixes()
189 insn->vex_prefix.bytes[2] = b2 & 0x7f; in insn_get_prefixes()
190 insn->vex_prefix.nbytes = 2; in insn_get_prefixes()
195 insn->vex_prefix.got = 1; in insn_get_prefixes()
/tools/objtool/arch/x86/insn/
Dinsn.h42 struct insn_field vex_prefix; /* VEX prefix */ member
134 return (insn->vex_prefix.value != 0); in insn_is_avx()
141 return (insn->vex_prefix.nbytes == 4); in insn_is_evex()
153 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_m_bits()
155 else if (insn->vex_prefix.nbytes == 3) /* 3 bytes VEX */ in insn_vex_m_bits()
156 return X86_VEX3_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
158 return X86_EVEX_M(insn->vex_prefix.bytes[1]); in insn_vex_m_bits()
163 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_p_bits()
164 return X86_VEX_P(insn->vex_prefix.bytes[1]); in insn_vex_p_bits()
166 return X86_VEX_P(insn->vex_prefix.bytes[2]); in insn_vex_p_bits()
[all …]
Dinsn.c163 insn->vex_prefix.bytes[0] = b; in insn_get_prefixes()
164 insn->vex_prefix.bytes[1] = b2; in insn_get_prefixes()
167 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
169 insn->vex_prefix.bytes[3] = b2; in insn_get_prefixes()
170 insn->vex_prefix.nbytes = 4; in insn_get_prefixes()
177 insn->vex_prefix.bytes[2] = b2; in insn_get_prefixes()
178 insn->vex_prefix.nbytes = 3; in insn_get_prefixes()
189 insn->vex_prefix.bytes[2] = b2 & 0x7f; in insn_get_prefixes()
190 insn->vex_prefix.nbytes = 2; in insn_get_prefixes()
195 insn->vex_prefix.got = 1; in insn_get_prefixes()
/tools/objtool/arch/x86/
Ddecode.c70 if (insn.vex_prefix.nbytes) in arch_decode_instruction()