Home
last modified time | relevance | path

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

/arch/x86/include/asm/
Dinsn.h49 struct insn_field sib; member
77 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument
78 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument
79 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument
137 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
192 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
/arch/x86/lib/
Dinsn.c300 if (insn->sib.got) in insn_get_sib()
308 insn->sib.value = get_next(insn_byte_t, insn); in insn_get_sib()
309 insn->sib.nbytes = 1; in insn_get_sib()
312 insn->sib.got = 1; in insn_get_sib()
333 if (!insn->sib.got) in insn_get_displacement()
355 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement()
/arch/x86/math-emu/
Dget_address.c71 static int sib(int mod, unsigned long *fpu_eip) in sib() function
228 address = sib(mod, fpu_eip); in FPU_get_address()
/arch/x86/tools/
Dtest_get_len.c78 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
Dinsn_sanity.c88 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
/arch/powerpc/platforms/pseries/
Deeh.c1053 struct device_node *sib; in eeh_add_device_tree_early() local
1055 for_each_child_of_node(dn, sib) in eeh_add_device_tree_early()
1056 eeh_add_device_tree_early(sib); in eeh_add_device_tree_early()
/arch/x86/kvm/
Demulate.c894 u8 sib; in decode_modrm() local
982 sib = insn_fetch(u8, ctxt); in decode_modrm()
983 index_reg |= (sib >> 3) & 7; in decode_modrm()
984 base_reg |= sib & 7; in decode_modrm()
985 scale = sib >> 6; in decode_modrm()