Lines Matching full:rs

83 				*contpc = regs->regs[insn.mm_i_format.rs];  in __mm_isBranchInstr()
97 if ((long)regs->regs[insn.mm_i_format.rs] < 0) in __mm_isBranchInstr()
113 if ((long)regs->regs[insn.mm_i_format.rs] >= 0) in __mm_isBranchInstr()
123 if ((long)regs->regs[insn.mm_i_format.rs] <= 0) in __mm_isBranchInstr()
133 if ((long)regs->regs[insn.mm_i_format.rs] <= 0) in __mm_isBranchInstr()
162 bit = (insn.mm_i_format.rs >> 2); in __mm_isBranchInstr()
185 *contpc = regs->regs[insn.mm_i_format.rs]; in __mm_isBranchInstr()
190 if ((long)regs->regs[reg16to32map[insn.mm_b1_format.rs]] == 0) in __mm_isBranchInstr()
199 if ((long)regs->regs[reg16to32map[insn.mm_b1_format.rs]] != 0) in __mm_isBranchInstr()
212 if (regs->regs[insn.mm_i_format.rs] == in __mm_isBranchInstr()
223 if (regs->regs[insn.mm_i_format.rs] != in __mm_isBranchInstr()
441 regs->cp0_epc = regs->regs[insn.r_format.rs]; in __compute_return_epc_for_insn()
458 if ((long)regs->regs[insn.i_format.rs] < 0) { in __compute_return_epc_for_insn()
472 if ((long)regs->regs[insn.i_format.rs] >= 0) { in __compute_return_epc_for_insn()
483 if (NO_R6EMU && (insn.i_format.rs || in __compute_return_epc_for_insn()
493 if (!insn.i_format.rs) { in __compute_return_epc_for_insn()
495 * NAL or BLTZAL with rs == 0 in __compute_return_epc_for_insn()
504 if ((long)regs->regs[insn.i_format.rs] < 0) { in __compute_return_epc_for_insn()
515 if (NO_R6EMU && (insn.i_format.rs || in __compute_return_epc_for_insn()
525 if (!insn.i_format.rs) { in __compute_return_epc_for_insn()
527 * BAL or BGEZAL with rs == 0 in __compute_return_epc_for_insn()
536 if ((long)regs->regs[insn.i_format.rs] >= 0) { in __compute_return_epc_for_insn()
585 if (regs->regs[insn.i_format.rs] == in __compute_return_epc_for_insn()
600 if (regs->regs[insn.i_format.rs] != in __compute_return_epc_for_insn()
618 * BLEZ | rs = 0 | rt != 0 == BLEZALC in __compute_return_epc_for_insn()
619 * BLEZ | rs = rt != 0 == BGEZALC in __compute_return_epc_for_insn()
620 * BLEZ | rs != 0 | rt != 0 == BGEUC in __compute_return_epc_for_insn()
621 * BLEZL | rs = 0 | rt != 0 == BLEZC in __compute_return_epc_for_insn()
622 * BLEZL | rs = rt != 0 == BGEZC in __compute_return_epc_for_insn()
623 * BLEZL | rs != 0 | rt != 0 == BGEC in __compute_return_epc_for_insn()
630 ((!insn.i_format.rs && insn.i_format.rt) || in __compute_return_epc_for_insn()
631 (insn.i_format.rs == insn.i_format.rt))) in __compute_return_epc_for_insn()
637 if ((long)regs->regs[insn.i_format.rs] <= 0) { in __compute_return_epc_for_insn()
654 * BGTZ | rs = 0 | rt != 0 == BGTZALC in __compute_return_epc_for_insn()
655 * BGTZ | rs = rt != 0 == BLTZALC in __compute_return_epc_for_insn()
656 * BGTZ | rs != 0 | rt != 0 == BLTUC in __compute_return_epc_for_insn()
657 * BGTZL | rs = 0 | rt != 0 == BGTZC in __compute_return_epc_for_insn()
658 * BGTZL | rs = rt != 0 == BLTZC in __compute_return_epc_for_insn()
659 * BGTZL | rs != 0 | rt != 0 == BLTC in __compute_return_epc_for_insn()
666 ((!insn.i_format.rs && insn.i_format.rt) || in __compute_return_epc_for_insn()
667 (insn.i_format.rs == insn.i_format.rt))) in __compute_return_epc_for_insn()
674 if ((long)regs->regs[insn.i_format.rs] > 0) { in __compute_return_epc_for_insn()
691 ((insn.i_format.rs == bc1eqz_op) || in __compute_return_epc_for_insn()
692 (insn.i_format.rs == bc1nez_op))) { in __compute_return_epc_for_insn()
697 if (insn.i_format.rs == bc1eqz_op) in __compute_return_epc_for_insn()
752 if ((regs->regs[insn.i_format.rs] & (1ull<<insn.i_format.rt)) in __compute_return_epc_for_insn()
760 if ((regs->regs[insn.i_format.rs] & in __compute_return_epc_for_insn()
768 if (regs->regs[insn.i_format.rs] & (1ull<<insn.i_format.rt)) in __compute_return_epc_for_insn()
775 if (regs->regs[insn.i_format.rs] & in __compute_return_epc_for_insn()
807 if (!insn.i_format.rs) { in __compute_return_epc_for_insn()
823 if (insn.i_format.rt && !insn.i_format.rs) in __compute_return_epc_for_insn()