Searched refs:ppc_inst_read (Results 1 – 10 of 10) sorted by relevance
283 imm = ppc_inst_val(ppc_inst_read(instr)) & 0x3FFFFFC; in branch_iform_target()289 if ((ppc_inst_val(ppc_inst_read(instr)) & BRANCH_ABSOLUTE) == 0) in branch_iform_target()299 imm = ppc_inst_val(ppc_inst_read(instr)) & 0xFFFC; in branch_bform_target()305 if ((ppc_inst_val(ppc_inst_read(instr)) & BRANCH_ABSOLUTE) == 0) in branch_bform_target()313 if (instr_is_branch_iform(ppc_inst_read(instr))) in branch_target()315 else if (instr_is_branch_bform(ppc_inst_read(instr))) in branch_target()326 if (instr_is_branch_iform(ppc_inst_read(src))) in translate_branch()328 ppc_inst_val(ppc_inst_read(src))); in translate_branch()329 else if (instr_is_branch_bform(ppc_inst_read(src))) in translate_branch()331 ppc_inst_val(ppc_inst_read(src))); in translate_branch()
13 if (instr_is_branch_iform(ppc_inst_read(instr)) || in instr_is_branch_to_addr()14 instr_is_branch_bform(ppc_inst_read(instr))) in instr_is_branch_to_addr()236 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x4a000000))); in test_translate_branch()248 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x49fffffc))); in test_translate_branch()296 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x43ff8000))); in test_translate_branch()308 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x43ff7ffc))); in test_translate_branch()
52 instr = ppc_inst_read(src); in patch_alt_instruction()54 if (instr_is_relative_branch(ppc_inst_read(src))) { in patch_alt_instruction()638 inst = ppc_inst_read(src); in do_final_fixups()
45 ppc_inst_prefixed(ppc_inst_read(auprobe->insn)) && in arch_uprobe_analyze_insn()51 if (!can_single_step(ppc_inst_val(ppc_inst_read(auprobe->insn)))) { in arch_uprobe_analyze_insn()190 ret = emulate_step(regs, ppc_inst_read(auprobe->insn)); in arch_uprobe_skip_sstep()
148 ppc_inst_t insn = ppc_inst_read(p->addr); in arch_prepare_kprobe()157 ppc_inst_prefixed(ppc_inst_read(p->addr - 1))) { in arch_prepare_kprobe()170 ppc_inst_prefixed(ppc_inst_read(prev->ainsn.insn))) { in arch_prepare_kprobe()261 ppc_inst_t insn = ppc_inst_read(p->ainsn.insn); in try_to_emulate()474 len = ppc_inst_len(ppc_inst_read(cur->ainsn.insn)); in kprobe_post_handler()
87 if (!is_conditional_branch(ppc_inst_read(p->ainsn.insn)) && in can_optimize()88 analyse_instr(&op, ®s, ppc_inst_read(p->ainsn.insn)) == 1) { in can_optimize()231 temp = ppc_inst_read(p->ainsn.insn); in arch_prepare_optimized_kprobe()
466 instr = ppc_inst_read((u32 *)instr_addr); in mce_find_instr_ea_and_phys()
79 static inline ppc_inst_t ppc_inst_read(const u32 *ptr) in ppc_inst_read() function119 tmp = ppc_inst_read(value); in ppc_inst_next()
684 old = ppc_inst_read((u32 *)&ftrace_call); in ftrace_update_ftrace_func()691 old = ppc_inst_read((u32 *)&ftrace_regs_call); in ftrace_update_ftrace_func()
717 int stepped = emulate_step(regs, ppc_inst_read(bp->instr)); in xmon_core()723 IS_RFID(ppc_inst_read(bp->instr))? "rfid": "mtmsrd"); in xmon_core()945 if (bp2 && ppc_inst_prefixed(ppc_inst_read(bp2->instr))) { in insert_bpts()999 (u32 *)bp->address, ppc_inst_read(bp->instr)) != 0) in remove_bpts()2314 *instr = ppc_inst_read((u32 *)adrs); in mread_instr()