Lines Matching +full:1 +full:ma
51 if ((count == 1) && dst[0] & 0x80) { in sign_extend()
52 dst[1] = 0xff; in sign_extend()
56 if ((count == 2) && dst[1] & 0x80) { in sign_extend()
61 if ((count == 1) && dst[3] & 0x80) { in sign_extend()
63 dst[1] = 0xff; in sign_extend()
67 dst[1] = 0xff; in sign_extend()
103 struct mem_access *ma) in handle_unaligned_ins() argument
116 count = 1<<(instruction&3); in handle_unaligned_ins()
119 case 1: inc_unaligned_byte_access(); break; in handle_unaligned_ins()
138 if (ma->from(dst, srcu, count)) in handle_unaligned_ins()
151 if (ma->to(dstu, src, count)) in handle_unaligned_ins()
157 case 1: /* mov.l Rm,@(disp,Rn) */ in handle_unaligned_ins()
162 if (ma->to(dstu, src, 4)) in handle_unaligned_ins()
175 if (ma->to(dstu, src, count)) in handle_unaligned_ins()
186 if (ma->from(dst, srcu, 4)) in handle_unaligned_ins()
201 if (ma->from(dst, srcu, count)) in handle_unaligned_ins()
215 dstu += (instruction & 0x000F) << 1; in handle_unaligned_ins()
217 if (ma->to(dstu, src, 2)) in handle_unaligned_ins()
224 srcu += (instruction & 0x000F) << 1; in handle_unaligned_ins()
231 if (ma->from(dst, srcu, 2)) in handle_unaligned_ins()
242 srcu += (instruction & 0x00FF) << 1; in handle_unaligned_ins()
250 if (ma->from(dst, srcu, 2)) in handle_unaligned_ins()
263 if (ma->from(dst, srcu, 4)) in handle_unaligned_ins()
284 struct mem_access *ma) in handle_delayslot() argument
300 return handle_unaligned_ins(instruction, regs, ma); in handle_delayslot()
320 struct mem_access *ma, int expected, in handle_unaligned_access() argument
344 perf_sw_event(PERF_COUNT_SW_ALIGNMENT_FAULTS, 1, in handle_unaligned_access()
353 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
359 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
365 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
386 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
392 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
420 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
434 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
451 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
457 ret = handle_delayslot(regs, instruction, ma); in handle_unaligned_access()
471 ret = handle_unaligned_ins(instruction, regs, ma); in handle_unaligned_access()
508 if (copy_from_user(&instruction, (insn_size_t __user *)(regs->pc & ~1), in do_address_error()
529 if (regs->pc & 1) { in do_address_error()
549 if (regs->pc & 1) in do_address_error()
588 return 1; in is_dsp_inst()
697 return 1; in emulate_branch()
710 get_user(inst, (unsigned short __user *)regs->pc + 1); in do_illegal_slot_inst()