Lines Matching refs:rs1
43 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
46 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
100 unsigned int rs1, rs2, rdv; in do_user_muldiv() local
108 rs1 = (insn >> 14) & 0x1f; in do_user_muldiv()
112 maybe_flush_windows(rs1, 0, rdv); in do_user_muldiv()
115 maybe_flush_windows(rs1, rs2, rdv); in do_user_muldiv()
118 rs1 = fetch_reg(rs1, regs); in do_user_muldiv()
122 printk ("unsigned muldiv: 0x%x * 0x%x = ", rs1, rs2); in do_user_muldiv()
130 : "=r" (rs1), "=r" (rs2) in do_user_muldiv()
131 : "0" (rs1), "1" (rs2) in do_user_muldiv()
134 printk ("0x%x%08x\n", rs2, rs1); in do_user_muldiv()
136 if (store_reg(rs1, rdv, regs)) in do_user_muldiv()
142 printk ("signed muldiv: 0x%x * 0x%x = ", rs1, rs2); in do_user_muldiv()
150 : "=r" (rs1), "=r" (rs2) in do_user_muldiv()
151 : "0" (rs1), "1" (rs2) in do_user_muldiv()
154 printk ("0x%x%08x\n", rs2, rs1); in do_user_muldiv()
156 if (store_reg(rs1, rdv, regs)) in do_user_muldiv()
162 printk ("unsigned muldiv: 0x%x%08x / 0x%x = ", regs->y, rs1, rs2); in do_user_muldiv()
179 : "=r" (rs1), "=r" (rs2) in do_user_muldiv()
180 : "r" (regs->y), "0" (rs1), "1" (rs2) in do_user_muldiv()
184 printk ("0x%x\n", rs1); in do_user_muldiv()
186 if (store_reg(rs1, rdv, regs)) in do_user_muldiv()
191 printk ("signed muldiv: 0x%x%08x / 0x%x = ", regs->y, rs1, rs2); in do_user_muldiv()
208 : "=r" (rs1), "=r" (rs2) in do_user_muldiv()
209 : "r" (regs->y), "0" (rs1), "1" (rs2) in do_user_muldiv()
213 printk ("0x%x\n", rs1); in do_user_muldiv()
215 if (store_reg(rs1, rdv, regs)) in do_user_muldiv()
225 if (!rs1) regs->psr |= PSR_Z; in do_user_muldiv()
226 if (((int)rs1) < 0) regs->psr |= PSR_N; in do_user_muldiv()