Lines Matching refs:rs1
70 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
73 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
137 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
142 maybe_flush_windows(rs1, 0, rd); in compute_effective_address()
143 return (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
145 maybe_flush_windows(rs1, rs2, rd); in compute_effective_address()
146 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
153 unsigned int rs1 = (insn >> 14) & 0x1f; in safe_compute_effective_address() local
158 maybe_flush_windows(rs1, 0, rd); in safe_compute_effective_address()
159 return (safe_fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in safe_compute_effective_address()
161 maybe_flush_windows(rs1, rs2, rd); in safe_compute_effective_address()
162 return (safe_fetch_reg(rs1, regs) + safe_fetch_reg(rs2, regs)); in safe_compute_effective_address()