Home
last modified time | relevance | path

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

/tools/arch/x86/include/asm/
Dinsn.h36 struct insn_field sib; member
66 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
67 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
68 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
140 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
197 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/tools/objtool/arch/x86/
Ddecode.c78 modrm_reg = 0, sib = 0; in arch_decode_instruction() local
116 if (insn.sib.nbytes) in arch_decode_instruction()
117 sib = insn.sib.bytes[0]; in arch_decode_instruction()
234 } else if (rex_w && !rex_b && modrm_rm == 4 && sib == 0x24) { in arch_decode_instruction()
258 } else if (rex_w && !rex_b && sib == 0x24 && in arch_decode_instruction()
273 if (sib == 0x24 && rex_w && !rex_b && !rex_x) { in arch_decode_instruction()
/tools/arch/x86/lib/
Dinsn.c351 if (insn->sib.got) in insn_get_sib()
359 insn->sib.value = get_next(insn_byte_t, insn); in insn_get_sib()
360 insn->sib.nbytes = 1; in insn_get_sib()
363 insn->sib.got = 1; in insn_get_sib()
384 if (!insn->sib.got) in insn_get_displacement()
406 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2372 int sib = 0; in FIXTURE_TEARDOWN() local
2379 for ( ; sib < self->sibling_count; ++sib) { in FIXTURE_TEARDOWN()
2380 struct tsync_sibling *s = &self->sibling[sib]; in FIXTURE_TEARDOWN()
2639 long ret, sib; in TEST_F() local
2675 sib = 1; in TEST_F()
2677 sib = 0; in TEST_F()
2684 self->sibling[!sib].num_waits += 1; in TEST_F()
2691 PTHREAD_JOIN(self->sibling[sib].tid, &status); in TEST_F()
2694 while (!kill(self->sibling[sib].system_tid, 0)) in TEST_F()
2697 sib = !sib; in TEST_F()
[all …]