Lines Matching refs:rs1
75 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
78 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
142 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
147 maybe_flush_windows(rs1, 0, rd); in compute_effective_address()
148 return (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
150 maybe_flush_windows(rs1, rs2, rd); in compute_effective_address()
151 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
158 unsigned int rs1 = (insn >> 14) & 0x1f; in safe_compute_effective_address() local
163 maybe_flush_windows(rs1, 0, rd); in safe_compute_effective_address()
164 return (safe_fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in safe_compute_effective_address()
166 maybe_flush_windows(rs1, rs2, rd); in safe_compute_effective_address()
167 return (safe_fetch_reg(rs1, regs) + safe_fetch_reg(rs2, regs)); in safe_compute_effective_address()