Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/riscv/net/
A Dbpf_jit.h471 return rv_bltu(rs2, rs1, imm12_1); in rv_bgtu()
481 return rv_bgeu(rs2, rs1, imm12_1); in rv_bleu()
491 return rv_blt(rs2, rs1, imm12_1); in rv_bgt()
501 return rv_bge(rs2, rs1, imm12_1); in rv_ble()
682 static inline u16 rvc_jr(u8 rs1) in rvc_jr() argument
692 static inline u16 rvc_jalr(u8 rs1) in rvc_jalr() argument
902 emit(rv_add(rd, rs1, rs2), ctx); in emit_add()
971 emit(rv_sub(rd, rs1, rs2), ctx); in emit_sub()
979 emit(rv_or(rd, rs1, rs2), ctx); in emit_or()
1005 emit(rv_lw(rd, off, rs1), ctx); in emit_lw()
[all …]
A Dbpf_jit_comp32.c571 const s8 *rs1 = bpf_get_reg64(src1, tmp1, ctx); in emit_branch_r64() local
591 emit(rv_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
596 emit(rv_bltu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
601 emit(rv_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
606 emit(rv_bltu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
611 emit(rv_bne(hi(rs1), hi(rs2), JUMP(1)), ctx); in emit_branch_r64()
615 emit(rv_bgt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
620 emit(rv_blt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
625 emit(rv_bgt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
630 emit(rv_blt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
[all …]
/linux-6.3-rc2/arch/sparc/kernel/
A Dvisemul.c304 rs1 = rs1 & 0xffffffff; in edge()
374 unsigned long rs1, rs2, rd_val; in array() local
385 (((rs1 >> 33) & 0x3) << 2) | in array()
386 (((rs1 >> 55) & 0x1) << 4) | in array()
387 (((rs1 >> 13) & 0xf) << 5) | in array()
413 rd_val = rs1 + rs2; in bmask()
425 unsigned long rs1, rs2, rd_val; in bshuffle() local
430 rs1 = fpd_regval(f, RS1(insn)); in bshuffle()
454 rs1 = fpd_regval(f, RS1(insn)); in pdist()
592 unsigned long rs1, rs2, rd_val; in pmul() local
[all …]
A Dunaligned_32.c75 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
139 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
144 maybe_flush_windows(rs1, 0, rd); in compute_effective_address()
145 return (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
147 maybe_flush_windows(rs1, rs2, rd); in compute_effective_address()
148 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
155 unsigned int rs1 = (insn >> 14) & 0x1f; in safe_compute_effective_address() local
160 maybe_flush_windows(rs1, 0, rd); in safe_compute_effective_address()
161 return (safe_fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in safe_compute_effective_address()
163 maybe_flush_windows(rs1, rs2, rd); in safe_compute_effective_address()
[all …]
A Dunaligned_64.c104 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
107 if (rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
173 unsigned int rs1 = (insn >> 14) & 0x1f; in compute_effective_address() local
178 maybe_flush_windows(rs1, 0, rd, from_kernel); in compute_effective_address()
179 addr = (fetch_reg(rs1, regs) + sign_extend_imm13(insn)); in compute_effective_address()
181 maybe_flush_windows(rs1, rs2, rd, from_kernel); in compute_effective_address()
182 addr = (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
/linux-6.3-rc2/arch/riscv/include/asm/
A Dinsn-def.h25 .macro insn_r, opcode, func3, func7, rd, rs1, rs2
26 .insn r \opcode, \func3, \func7, \rd, \rs1, \rs2
29 .macro insn_i, opcode, func3, rd, rs1, simm12
30 .insn i \opcode, \func3, \rd, \rs1, \simm12
37 .macro insn_r, opcode, func3, func7, rd, rs1, rs2
42 (.L__gpr_num_\rs1 << INSN_R_RS1_SHIFT) | \
46 .macro insn_i, opcode, func3, rd, rs1, simm12
50 (.L__gpr_num_\rs1 << INSN_I_RS1_SHIFT) | \
66 #define __INSN_I(opcode, func3, rd, rs1, simm12) \
117 RV_##rd, RV_##rs1, RV_##rs2)
[all …]
/linux-6.3-rc2/arch/arm/kernel/
A Dsleep.S38 .macro compute_mpidr_hash dst, rs0, rs1, rs2, mpidr, mask
44 ARM( orr \dst, \dst, \mask, lsr \rs1 ) @ dst|=(aff1>>rs1)
45 THUMB( lsr \mask, \mask, \rs1 )
/linux-6.3-rc2/arch/mips/crypto/
A Dpoly1305-mips.pl283 ld $rs1,40($ctx)
383 mflo ($tmp0,$rs1,$d1)
384 mfhi ($tmp1,$rs1,$d1)
402 mflo ($tmp2,$rs1,$d2)
787 lw $rs1,36($ctx)
927 maddu $rs1,$d3 # d3*s1
936 maddu $rs1,$h4 # h4*s1
985 multu ($rs1,$d3) # d3*s1
989 mflo ($at,$rs1,$d3)
990 mfhi ($t0,$rs1,$d3)
[all …]
/linux-6.3-rc2/arch/sparc/math-emu/
A Dmath_32.c284 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_one_mathemu() local
369 rs1 = (argp)&fregs[freg]; in do_one_mathemu()
371 case 7: FP_UNPACK_QP (QA, rs1); break; in do_one_mathemu()
372 case 6: FP_UNPACK_DP (DA, rs1); break; in do_one_mathemu()
373 case 5: FP_UNPACK_SP (SA, rs1); break; in do_one_mathemu()
A Dmath_64.c359 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu() local
380 case 1: rs1 = (argp)&f->regs[freg]; in do_mathemu()
383 rs1 = (argp)&zero; in do_mathemu()
387 case 7: FP_UNPACK_QP (QA, rs1); break; in do_mathemu()
388 case 6: FP_UNPACK_DP (DA, rs1); break; in do_mathemu()
389 case 5: FP_UNPACK_SP (SA, rs1); break; in do_mathemu()
/linux-6.3-rc2/arch/arm64/kernel/
A Dsleep.S39 .macro compute_mpidr_hash dst, rs0, rs1, rs2, rs3, mpidr, mask
44 lsr \mask ,\mask, \rs1
/linux-6.3-rc2/arch/arm/boot/dts/
A Dxenvm-4.2.dts80 arm,v2m-memory-map = "rs1";
A Dvexpress-v2m.dtsi14 * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong
18 * CHANGES TO vexpress-v2m-rs1.dtsi!
A Dvexpress-v2p-ca5s.dts12 #include "vexpress-v2m-rs1.dtsi"
A Dvexpress-v2p-ca15-tc1.dts12 #include "vexpress-v2m-rs1.dtsi"
A Dvexpress-v2p-ca15_a7.dts12 #include "vexpress-v2m-rs1.dtsi"
/linux-6.3-rc2/arch/arm64/boot/dts/arm/
A Dvexpress-v2f-1xv7-ca53x2.dts16 #include "vexpress-v2m-rs1.dtsi"
/linux-6.3-rc2/drivers/edac/
A Dpnd2_edac.h224 u32 rs1 : 5; member
A Dpnd2_edac.c980 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem()
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/
A Darm,vexpress-juno.yaml184 - rs1

Completed in 45 milliseconds