Searched refs:sib (Results 1 – 7 of 7) sorted by relevance
/arch/x86/include/asm/ |
D | insn.h | 81 struct insn_field sib; member 111 #define X86_SIB_SCALE(sib) (((sib) & 0xc0) >> 6) argument 112 #define X86_SIB_INDEX(sib) (((sib) & 0x38) >> 3) argument 113 #define X86_SIB_BASE(sib) ((sib) & 0x07) argument 236 return insn_offset_sib(insn) + insn->sib.nbytes; in insn_offset_displacement()
|
/arch/x86/lib/ |
D | insn.c | 417 if (insn->sib.got) in insn_get_sib() 430 insn_field_set(&insn->sib, in insn_get_sib() 434 insn->sib.got = 1; in insn_get_sib() 463 if (!insn->sib.got) { in insn_get_displacement() 489 base = X86_SIB_BASE(insn->sib.value); in insn_get_displacement() 721 return insn->opcode.got && insn->modrm.got && insn->sib.got && in insn_complete()
|
D | insn-eval.c | 483 regno = X86_SIB_INDEX(insn->sib.value); in get_regno() 498 regno = X86_SIB_BASE(insn->sib.value); in get_regno() 1155 if (!insn->sib.nbytes) in get_eff_addr_sib() 1186 addr32 = base32 + idx32 * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib() 1191 *eff_addr = base + indx * (1 << X86_SIB_SCALE(insn->sib.value)); in get_eff_addr_sib() 1297 if (insn->sib.nbytes) { in get_addr_ref_32() 1388 if (insn->sib.nbytes) { in get_addr_ref_64()
|
/arch/x86/math-emu/ |
D | get_address.c | 72 static int sib(int mod, unsigned long *fpu_eip) in sib() function 230 address = sib(mod, fpu_eip); in FPU_get_address()
|
/arch/x86/tools/ |
D | insn_decoder_test.c | 78 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
|
D | insn_sanity.c | 71 dump_field(fp, "sib", "\t", &insn->sib); in dump_insn()
|
/arch/x86/kvm/ |
D | emulate.c | 1210 u8 sib; in decode_modrm() local 1301 sib = insn_fetch(u8, ctxt); in decode_modrm() 1302 index_reg |= (sib >> 3) & 7; in decode_modrm() 1303 base_reg |= sib & 7; in decode_modrm() 1304 scale = sib >> 6; in decode_modrm()
|