Home
last modified time | relevance | path

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

/linux-3.4.99/arch/sparc/kernel/
Dmuldiv.c44 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
47 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
100 unsigned int rs1, rs2, rdv; in do_user_muldiv() local
113 rs1 = (insn >> 14) & 0x1f; in do_user_muldiv()
117 maybe_flush_windows(rs1, 0, rdv); in do_user_muldiv()
120 maybe_flush_windows(rs1, rs2, rdv); in do_user_muldiv()
123 rs1 = fetch_reg(rs1, regs); in do_user_muldiv()
127 printk ("unsigned muldiv: 0x%x * 0x%x = ", rs1, rs2); in do_user_muldiv()
135 : "=r" (rs1), "=r" (rs2) in do_user_muldiv()
136 : "0" (rs1), "1" (rs2) in do_user_muldiv()
[all …]
Dvisemul.c139 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
142 if (rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
290 unsigned long orig_rs1, rs1, orig_rs2, rs2, rd_val; in edge() local
294 orig_rs1 = rs1 = fetch_reg(RS1(insn), regs); in edge()
298 rs1 = rs1 & 0xffffffff; in edge()
305 left = edge8_tab[rs1 & 0x7].left; in edge()
310 left = edge8_tab_l[rs1 & 0x7].left; in edge()
316 left = edge16_tab[(rs1 >> 1) & 0x3].left; in edge()
322 left = edge16_tab_l[(rs1 >> 1) & 0x3].left; in edge()
328 left = edge32_tab[(rs1 >> 2) & 0x1].left; in edge()
[all …]
Dunaligned_32.c66 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
69 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
133 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
138 maybe_flush_windows(rs1, 0, rd); in compute_effective_address()
139 return (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
141 maybe_flush_windows(rs1, rs2, rd); in compute_effective_address()
142 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
149 unsigned int rs1 = (insn >> 14) & 0x1f; in safe_compute_effective_address() local
154 maybe_flush_windows(rs1, 0, rd); in safe_compute_effective_address()
155 return (safe_fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in safe_compute_effective_address()
[all …]
Dsun4m_smp.c297 int rs1 = rd >> 11; in smp4m_blackbox_id() local
300 addr[1] = 0x8130200c | rd | rs1; /* srl reg, 0xc, reg */ in smp4m_blackbox_id()
301 addr[2] = 0x80082003 | rd | rs1; /* and reg, 3, reg */ in smp4m_blackbox_id()
307 int rs1 = rd >> 11; in smp4m_blackbox_current() local
310 addr[2] = 0x8130200a | rd | rs1; /* srl reg, 0xa, reg */ in smp4m_blackbox_current()
311 addr[4] = 0x8008200c | rd | rs1; /* and reg, 0xc, reg */ in smp4m_blackbox_current()
Dleon_smp.c524 int rs1 = rd >> 11; in leon_blackbox_id() local
528 addr[1] = 0x8130201c | rd | rs1; /* srl reg, 0x1c, reg */ in leon_blackbox_id()
535 int rs1 = rd >> 11; in leon_blackbox_current() local
539 addr[2] = 0x8130201c | rd | rs1; /* srl reg, 0x1c, reg */ in leon_blackbox_current()
540 addr[4] = 0x81282002 | rd | rs1; /* sll reg, 0x2, reg */ in leon_blackbox_current()
Dunaligned_64.c99 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
102 if (rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
159 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
164 maybe_flush_windows(rs1, 0, rd, from_kernel); in compute_effective_address()
165 return (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
167 maybe_flush_windows(rs1, rs2, rd, from_kernel); in compute_effective_address()
168 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
/linux-3.4.99/arch/sparc/math-emu/
Dmath_32.c283 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_one_mathemu() local
368 rs1 = (argp)&fregs[freg]; in do_one_mathemu()
370 case 7: FP_UNPACK_QP (QA, rs1); break; in do_one_mathemu()
371 case 6: FP_UNPACK_DP (DA, rs1); break; in do_one_mathemu()
372 case 5: FP_UNPACK_SP (SA, rs1); break; in do_one_mathemu()
Dmath_64.c358 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu() local
371 case 1: rs1 = (argp)&f->regs[freg]; in do_mathemu()
374 rs1 = (argp)&zero; in do_mathemu()
378 case 7: FP_UNPACK_QP (QA, rs1); break; in do_mathemu()
379 case 6: FP_UNPACK_DP (DA, rs1); break; in do_mathemu()
380 case 5: FP_UNPACK_SP (SA, rs1); break; in do_mathemu()
/linux-3.4.99/arch/arm/boot/dts/
Dvexpress-v2m.dtsi13 * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong
17 * CHANGES TO vexpress-v2m-rs1.dtsi!
Dvexpress-v2p-ca15-tc1.dts157 /include/ "vexpress-v2m-rs1.dtsi"
Dvexpress-v2p-ca5s.dts162 /include/ "vexpress-v2m-rs1.dtsi"
Dvexpress-v2m-rs1.dtsi27 arm,v2m-memory-map = "rs1";
/linux-3.4.99/Documentation/devicetree/bindings/arm/
Dvexpress.txt73 - "rs1" - for RS1 map (i.a. peripherals on CS3); this map is also
75 arm,v2m-memory-map = "rs1";
146 /include/ "vexpress-v2m-rs1.dtsi"