Lines Matching defs:contpc
428 unsigned long *contpc)
446 *contpc = regs->regs[insn.mm_i_format.rs];
460 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm_i_format.simmediate << 1);
462 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
471 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm_i_format.simmediate << 1);
473 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
478 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm_i_format.simmediate << 1);
480 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
485 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm_i_format.simmediate << 1);
487 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
510 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm_i_format.simmediate << 1);
512 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
524 *contpc = regs->regs[insn.mm_i_format.rs];
531 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm16b1_format.simmediate << 1);
533 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
538 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm16b1_format.simmediate << 1);
540 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
544 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm16b0_format.simmediate << 1);
549 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm_i_format.simmediate << 1);
551 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
556 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.mm_i_format.simmediate << 1);
558 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
564 *contpc = regs->cp0_epc + dec_insn.pc_inc;
565 *contpc >>= 28;
566 *contpc <<= 28;
567 *contpc |= (insn.j_format.target << 2);
575 *contpc = regs->cp0_epc + dec_insn.pc_inc;
576 *contpc >>= 27;
577 *contpc <<= 27;
578 *contpc |= (insn.j_format.target << 1);
579 *contpc |= MIPS_ISA_MODE;
592 static int isBranchInstr(struct pt_regs *regs, struct decoded_instn dec_insn, unsigned long *contpc)
605 *contpc = regs->regs[insn.r_format.rs];
619 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
621 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
631 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
633 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
644 *contpc = regs->cp0_epc + dec_insn.pc_inc;
645 *contpc >>= 28;
646 *contpc <<= 28;
647 *contpc |= (insn.j_format.target << 2);
649 *contpc ^= bit;
655 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
657 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
663 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
665 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
671 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
673 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
679 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
681 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
703 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
705 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
711 *contpc = regs->cp0_epc + dec_insn.pc_inc + (insn.i_format.simmediate << 2);
713 *contpc = regs->cp0_epc + dec_insn.pc_inc + dec_insn.next_pc_inc;
768 unsigned long contpc = xcp->cp0_epc + dec_insn.pc_inc;
774 if (!mm_isBranchInstr(xcp, dec_insn, &contpc))
777 if (!isBranchInstr(xcp, dec_insn, &contpc))
796 /* NOTE: contpc is modified by isBranchInstr() if it is a branch instr */
1021 contpc = MIPSInst_SIMM(ir);
1024 contpc = (xcp->cp0_epc + (contpc << 1));
1039 return mips_dsemul(xcp, ir, contpc);
1042 contpc = (xcp->cp0_epc + (contpc << 2));
1069 return mips_dsemul(xcp, ir, contpc);
1079 contpc += dec_insn.pc_inc;
1127 xcp->cp0_epc = contpc;