Home
last modified time | relevance | path

Searched refs:displacement (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/u-boot/drivers/bios_emulator/x86emu/
H A Ddecode.c794 int displacement; in decode_sib_address() local
822 offset = displacement; in decode_sib_address()
959 int displacement; in decode_rm01_address() local
966 displacement = 0; in decode_rm01_address()
971 return M.x86.R_EAX + displacement; in decode_rm01_address()
974 return M.x86.R_ECX + displacement; in decode_rm01_address()
985 return offset + displacement; in decode_rm01_address()
999 displacement = (s8)fetch_byte_imm(); in decode_rm01_address()
1049 int displacement; in decode_rm10_address() local
1055 displacement = 0; in decode_rm10_address()
[all …]
/openbmc/linux/arch/m68k/math-emu/
H A Dfp_decode.h133 | decode the 8bit displacement from the brief extension word
167 | decode the base displacement size
290 | with 16bit displacement
346 | with index and 8bit displacement
356 | with base and/or outer displacement
368 1: printf PDECODE,"0" | null base displacement
371 2: fp_get_instr_word %a0,fp_err_ua1 | 16bit base displacement
374 3: fp_get_instr_long %a0,fp_err_ua1 | 32bit base displacement
390 1: printf PDECODE,"0" | null outer displacement
393 2: fp_get_instr_word %a0,fp_err_ua1 | 16bit outer displacement
[all …]
H A Dfp_move.S150 | addressing mode: address register indirect with 16bit displacement
H A Dfp_movem.S103 | with 16bit displacement
H A Dfp_scan.S187 | with 16bit displacement
/openbmc/linux/arch/x86/events/intel/
H A Dbts.c48 unsigned long displacement; member
121 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
122 buf->buf[nbuf].size = buf_size(page) - buf->buf[nbuf].displacement; in bts_buffer_setup_aux()
140 return buf->buf[idx].offset + buf->buf[idx].displacement; in bts_buffer_offset()
156 end = buf->end - phys->offset - phys->displacement; in bts_config_buffer()
158 index -= phys->offset + phys->displacement; in bts_config_buffer()
168 ds->bts_buffer_base = (u64)(long)page_address(page) + phys->displacement; in bts_config_buffer()
388 space = phys->offset + phys->displacement + phys->size - head; in bts_buffer_reset()
400 gap = buf_size(phys->page) - phys->displacement - phys->size + in bts_buffer_reset()
401 next_phys->displacement; in bts_buffer_reset()
[all …]
/openbmc/linux/arch/x86/math-emu/
H A Dget_address.c102 long displacement; in sib() local
105 FPU_get_user(displacement, (signed char __user *)(*fpu_eip)); in sib()
106 offset += displacement; in sib()
111 long displacement; in sib() local
114 FPU_get_user(displacement, (long __user *)(*fpu_eip)); in sib()
115 offset += displacement; in sib()
/openbmc/linux/arch/openrisc/kernel/
H A Dtraps.c269 int displacement; in adjust_pc() local
276 displacement = sign_extend32(((jmp) & 0x3ffffff) << 2, 27); in adjust_pc()
282 regs->pc += displacement; in adjust_pc()
285 regs->pc += displacement; in adjust_pc()
292 regs->pc += displacement; in adjust_pc()
296 regs->pc += displacement; in adjust_pc()
/openbmc/linux/tools/arch/x86/lib/
H A Dinsn.c460 if (insn->displacement.got) in insn_get_displacement()
493 insn_field_set(&insn->displacement, in insn_get_displacement()
497 insn_field_set(&insn->displacement, in insn_get_displacement()
503 insn_field_set(&insn->displacement, in insn_get_displacement()
509 insn->displacement.got = 1; in insn_get_displacement()
631 if (!insn->displacement.got) { in insn_get_immediate()
722 insn->displacement.got && insn->immediate.got; in insn_complete()
/openbmc/linux/arch/x86/lib/
H A Dinsn.c460 if (insn->displacement.got) in insn_get_displacement()
493 insn_field_set(&insn->displacement, in insn_get_displacement()
497 insn_field_set(&insn->displacement, in insn_get_displacement()
503 insn_field_set(&insn->displacement, in insn_get_displacement()
509 insn->displacement.got = 1; in insn_get_displacement()
631 if (!insn->displacement.got) { in insn_get_immediate()
722 insn->displacement.got && insn->immediate.got; in insn_complete()
H A Dinsn-eval.c1050 int addr32 = (int)(tmp & 0xffffffff) + insn->displacement.value; in get_eff_addr_modrm()
1054 *eff_addr = tmp + insn->displacement.value; in get_eff_addr_modrm()
1086 short addr1 = 0, addr2 = 0, displacement; in get_eff_addr_modrm_16() local
1114 displacement = insn->displacement.value & 0xffff; in get_eff_addr_modrm_16()
1115 *eff_addr = addr1 + addr2 + displacement; in get_eff_addr_modrm_16()
1206 addr32 += insn->displacement.value; in get_eff_addr_sib()
1211 *eff_addr += insn->displacement.value; in get_eff_addr_sib()
/openbmc/linux/arch/m68k/ifpsp060/src/
H A Disp.S1225 mov.w %d0,%a0 # sign extend displacement
1237 mov.w %d0,%a0 # sign extend displacement
1249 mov.w %d0,%a0 # sign extend displacement
1261 mov.w %d0,%a0 # sign extend displacement
1273 mov.w %d0,%a0 # sign extend displacement
1285 mov.w %d0,%a0 # sign extend displacement
1297 mov.w %d0,%a0 # sign extend displacement
1309 mov.w %d0,%a0 # sign extend displacement
1362 extb.l %d0 # sign extend displacement
1416 bsr.l _imem_read_word # fetch word displacement
[all …]
H A Dpfpsp.S4837 mov.w %d0,%a0 # sign extend displacement
4850 mov.w %d0,%a0 # sign extend displacement
4863 mov.w %d0,%a0 # sign extend displacement
4876 mov.w %d0,%a0 # sign extend displacement
4889 mov.w %d0,%a0 # sign extend displacement
4902 mov.w %d0,%a0 # sign extend displacement
4915 mov.w %d0,%a0 # sign extend displacement
4928 mov.w %d0,%a0 # sign extend displacement
4978 extb.l %d2 # sign extend displacement
5019 bsr.l _imem_read_word # fetch word displacement
[all …]
/openbmc/linux/tools/objtool/arch/x86/
H A Ddecode.c358 op->dest.offset = ins.displacement.value; in arch_decode_instruction()
391 op->dest.offset = ins.displacement.value; in arch_decode_instruction()
404 op->dest.offset = ins.displacement.value; in arch_decode_instruction()
421 op->src.offset = ins.displacement.value; in arch_decode_instruction()
434 op->src.offset = ins.displacement.value; in arch_decode_instruction()
466 op->src.offset = ins.displacement.value; in arch_decode_instruction()
/openbmc/linux/arch/x86/include/asm/
H A Dinsn.h82 struct insn_field displacement; member
240 return insn_offset_displacement(insn) + insn->displacement.nbytes; in insn_offset_immediate()
/openbmc/linux/tools/arch/x86/include/asm/
H A Dinsn.h82 struct insn_field displacement; member
240 return insn_offset_displacement(insn) + insn->displacement.nbytes; in insn_offset_immediate()
/openbmc/linux/arch/x86/tools/
H A Dinsn_decoder_test.c79 dump_field(fp, "displacement", "\t", &insn->displacement); in dump_insn()
H A Dinsn_sanity.c72 dump_field(fp, "displacement", "\t", &insn->displacement); in dump_insn()
/openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/
H A DUpdate-x86emu-from-X.org.patch1868 int displacement = 0;
1881 - return M.x86.R_EAX + displacement;
1884 - return M.x86.R_ECX + displacement;
1887 - return M.x86.R_EDX + displacement;
1890 - return M.x86.R_EBX + displacement;
1898 - return M.x86.R_EBP + displacement;
1901 - return M.x86.R_ESI + displacement;
1904 - return M.x86.R_EDI + displacement;
2004 u32 displacement = 0;
2025 - return M.x86.R_EAX + displacement;
[all …]
/openbmc/qemu/target/i386/hvf/
H A Dx86_decode.c306 decode->displacement = decode_bytes(env, decode, decode->operand_size); in decode_jxx()
314 decode->displacement = decode_word(env, decode); in decode_farjmp()
1642 ptr = decode->displacement; in calc_modrm_operand16()
1647 ptr = sign(decode->displacement, decode->displacement_size); in calc_modrm_operand16()
1763 ptr = sign(decode->displacement, decode->displacement_size); in calc_modrm_operand32()
1772 ptr = decode->displacement; in calc_modrm_operand32()
1800 offset = sign(decode->displacement, decode->displacement_size); in calc_modrm_operand64()
2010 decode->displacement = (uint16_t)decode_bytes(env, decode, in decode_displacement()
2025 decode->displacement = (uint32_t)decode_bytes(env, decode, in decode_displacement()
H A Dx86_decode.h289 uint32_t displacement; member
H A Dx86_emu.c868 int32_t displacement; in do_bt() local
880 displacement = ((int32_t) (decode->op[1].val & 0xffffffe0)) / 32; in do_bt()
881 decode->op[0].ptr += 4 * displacement; in do_bt()
883 displacement = ((int16_t) (decode->op[1].val & 0xfff0)) / 16; in do_bt()
884 decode->op[0].ptr += 2 * displacement; in do_bt()
/openbmc/linux/Documentation/virt/kvm/s390/
H A Ds390-diag.rst29 The second-operand address (obtained by the base/displacement calculation)
/openbmc/linux/arch/arm/kernel/
H A Dphys2virt.S104 lsrs r3, r6, #29 @ isolate top 3 bits of displacement
/openbmc/linux/arch/x86/kernel/
H A Dalternative.c389 if (need_reloc(next + insn.displacement.value, src, src_len)) { in apply_relocation()
390 apply_reloc(insn.displacement.nbytes, in apply_relocation()

12