Home
last modified time | relevance | path

Searched refs:rs1 (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/arch/sparc/kernel/
Dmuldiv.c43 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()
[all …]
Dunaligned.c75 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()
[all …]
Dsun4m_smp.c479 int rs1 = rd >> 11; in smp4m_blackbox_id() local
482 addr[1] = 0x8130200c | rd | rs1; /* srl reg, 0xc, reg */ in smp4m_blackbox_id()
483 addr[2] = 0x80082003 | rd | rs1; /* and reg, 3, reg */ in smp4m_blackbox_id()
489 int rs1 = rd >> 11; in smp4m_blackbox_current() local
492 addr[2] = 0x8130200a | rd | rs1; /* srl reg, 0xa, reg */ in smp4m_blackbox_current()
493 addr[4] = 0x8008200c | rd | rs1; /* and reg, 3, reg */ in smp4m_blackbox_current()
/linux-2.4.37.9/arch/sparc/math-emu/
Dmath.c280 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_one_mathemu() local
365 rs1 = (argp)&fregs[freg]; in do_one_mathemu()
367 case 7: FP_UNPACK_QP (QA, rs1); break; in do_one_mathemu()
368 case 6: FP_UNPACK_DP (DA, rs1); break; in do_one_mathemu()
369 case 5: FP_UNPACK_SP (SA, rs1); break; in do_one_mathemu()
/linux-2.4.37.9/arch/sparc64/math-emu/
Dmath.c334 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu() local
347 case 1: rs1 = (argp)&f->regs[freg]; in do_mathemu()
350 rs1 = (argp)&zero; in do_mathemu()
354 case 7: FP_UNPACK_QP (QA, rs1); break; in do_mathemu()
355 case 6: FP_UNPACK_DP (DA, rs1); break; in do_mathemu()
356 case 5: FP_UNPACK_SP (SA, rs1); break; in do_mathemu()
/linux-2.4.37.9/arch/sparc64/kernel/
Dunaligned.c95 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
98 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
155 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
160 maybe_flush_windows(rs1, 0, rd, from_kernel); in compute_effective_address()
161 return (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
163 maybe_flush_windows(rs1, rs2, rd, from_kernel); in compute_effective_address()
164 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()