Home
last modified time | relevance | path

Searched refs:sib (Results 1 – 7 of 7) sorted by relevance

/tools/perf/util/intel-pt-decoder/
Dinsn.h49 struct insn_field sib; member
78 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
79 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
80 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
147 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
204 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
Dinsn.c330 if (insn->sib.got) in insn_get_sib()
338 insn->sib.value = get_next(insn_byte_t, insn); in insn_get_sib()
339 insn->sib.nbytes = 1; in insn_get_sib()
342 insn->sib.got = 1; in insn_get_sib()
363 if (!insn->sib.got) in insn_get_displacement()
385 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
/tools/objtool/arch/x86/include/asm/
Dinsn.h49 struct insn_field sib; member
78 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
79 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
80 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
147 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
204 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/tools/objtool/arch/x86/
Ddecode.c90 modrm_reg = 0, sib = 0; in arch_decode_instruction() local
128 if (insn.sib.nbytes) in arch_decode_instruction()
129 sib = insn.sib.bytes[0]; in arch_decode_instruction()
246 } else if (rex_w && !rex_b && modrm_rm == 4 && sib == 0x24) { in arch_decode_instruction()
270 } else if (rex_w && !rex_b && sib == 0x24 && in arch_decode_instruction()
285 if (sib == 0x24 && rex_w && !rex_b && !rex_x) { in arch_decode_instruction()
/tools/objtool/arch/x86/lib/
Dinsn.c330 if (insn->sib.got) in insn_get_sib()
338 insn->sib.value = get_next(insn_byte_t, insn); in insn_get_sib()
339 insn->sib.nbytes = 1; in insn_get_sib()
342 insn->sib.got = 1; in insn_get_sib()
363 if (!insn->sib.got) in insn_get_displacement()
385 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2290 int sib = 0; in FIXTURE_TEARDOWN() local
2297 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN()
2298 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
2557 long ret, sib; in TEST_F() local
2592 sib = 1; in TEST_F()
2594 sib = 0; in TEST_F()
2601 self->sibling[!sib].num_waits += 1; in TEST_F()
2608 PTHREAD_JOIN(self->sibling[sib].tid, &status); in TEST_F()
2611 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2614 sib = !sib; in TEST_F()
[all …]
/tools/testing/selftests/x86/
Dmpx-mini-test.c227 uint8_t sib; in get_next_inst_ip() local
268 sib = *ip++; in get_next_inst_ip()
269 base = sib & 7; in get_next_inst_ip()