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/insn/
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/
Ddecode.c105 insn.sib.nbytes && insn.sib.bytes[0] == 0x24) in arch_decode_instruction()
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c1892 int sib = 0; in FIXTURE_TEARDOWN() local
1899 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN()
1900 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
2159 long ret, sib; in TEST_F() local
2194 sib = 1; in TEST_F()
2196 sib = 0; in TEST_F()
2203 self->sibling[!sib].num_waits += 1; in TEST_F()
2210 pthread_join(self->sibling[sib].tid, &status); in TEST_F()
2213 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2216 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()