Lines Matching refs:rs1
71 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
74 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
138 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
143 maybe_flush_windows(rs1, 0, rd); in compute_effective_address()
144 return (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
146 maybe_flush_windows(rs1, rs2, rd); in compute_effective_address()
147 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
154 unsigned int rs1 = (insn >> 14) & 0x1f; in safe_compute_effective_address() local
159 maybe_flush_windows(rs1, 0, rd); in safe_compute_effective_address()
160 return (safe_fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in safe_compute_effective_address()
162 maybe_flush_windows(rs1, rs2, rd); in safe_compute_effective_address()
163 return (safe_fetch_reg(rs1, regs) + safe_fetch_reg(rs2, regs)); in safe_compute_effective_address()