Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit.h496 return rv_bltu(rs2, rs1, imm12_1); in rv_bgtu()
506 return rv_bgeu(rs2, rs1, imm12_1); in rv_bleu()
516 return rv_blt(rs2, rs1, imm12_1); in rv_bgt()
526 return rv_bge(rs2, rs1, imm12_1); in rv_ble()
717 static inline u16 rvc_jr(u8 rs1) in rvc_jr() argument
727 static inline u16 rvc_jalr(u8 rs1) in rvc_jalr() argument
1070 emit(rv_or(rd, rs1, rs2), ctx); in emit_or()
1096 emit(rv_lw(rd, off, rs1), ctx); in emit_lw()
1116 emit_slli(rd, rs1, 2, ctx); in emit_sh2add()
1127 emit_slli(rd, rs1, 3, ctx); in emit_sh3add()
[all …]
H 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/arch/sparc/kernel/
H 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 …]
H 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 …]
H 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/arch/riscv/include/asm/
H 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/arch/riscv/kernel/probes/
H A Dsimulate-insn.c227 u32 rs1 = (opcode >> 7) & 0x1f; in simulate_c_jr_jalr() local
229 if (rs1 == 0) /* C.JR is only valid when rs1 != x0 */ in simulate_c_jr_jalr()
232 if (!rv_insn_reg_get_val(regs, rs1, &jump_addr)) in simulate_c_jr_jalr()
263 u32 rs1; in simulate_c_bnez_beqz() local
266 rs1 = 0x8 | ((opcode >> 7) & 0x7); in simulate_c_bnez_beqz()
268 if (!rv_insn_reg_get_val(regs, rs1, &rs1_val)) in simulate_c_bnez_beqz()
/linux/arch/parisc/net/
H A Dbpf_jit_comp32.c706 const s8 *rs1 = bpf_get_reg64(src1, tmp1, ctx); in emit_branch_r64() local
726 emit(hppa_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
731 emit(hppa_bltu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
736 emit(hppa_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
746 emit(hppa_bne(hi(rs1), hi(rs2), JUMP(1)), ctx); in emit_branch_r64()
750 emit(hppa_bgt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
755 emit(hppa_blt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
760 emit(hppa_bgt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
765 emit(hppa_blt(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64()
873 const s8 *rs1 = bpf_get_reg32(src1, tmp1, ctx); in emit_branch_r32() local
[all …]
/linux/arch/arm/kernel/
H 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/arch/mips/crypto/
H 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/arch/sparc/math-emu/
H 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()
H 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/arch/arm64/kernel/
H A Dsleep.S39 .macro compute_mpidr_hash dst, rs0, rs1, rs2, rs3, mpidr, mask
44 lsr \mask ,\mask, \rs1
/linux/arch/arm/boot/dts/xen/
H A Dxenvm-4.2.dts80 arm,v2m-memory-map = "rs1";
/linux/arch/arm64/boot/dts/arm/
H A Dvexpress-v2f-1xv7-ca53x2.dts16 #include "arm/arm/vexpress-v2m-rs1.dtsi"
/linux/arch/arc/net/
H A Dbpf_jit_arcv2.c1138 static u8 arc_or_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) in arc_or_r() argument
1140 const u32 insn = OPC_OR | OP_A(rd) | OP_B(rs1) | OP_C(rs2); in arc_or_r()
1196 static u8 arc_asl_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) in arc_asl_r() argument
1198 const u32 insn = OPC_ASL | OP_A(rd) | OP_B(rs1) | OP_C(rs2); in arc_asl_r()
1214 static u8 arc_asr_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) in arc_asr_r() argument
1216 const u32 insn = OPC_ASR | OP_A(rd) | OP_B(rs1) | OP_C(rs2); in arc_asr_r()
1232 static u8 arc_lsr_r(u8 *buf, u8 rd, u8 rs1, u8 rs2) in arc_lsr_r() argument
1234 const u32 insn = OPC_LSR | OP_A(rd) | OP_B(rs1) | OP_C(rs2); in arc_lsr_r()
/linux/drivers/edac/
H A Dpnd2_edac.h224 u32 rs1 : 5; member
H A Dpnd2_edac.c981 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem()
/linux/arch/arm/boot/dts/arm/
H A Dvexpress-v2p-ca5s.dts12 #include "vexpress-v2m-rs1.dtsi"
H A Dvexpress-v2m.dtsi14 * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong
18 * CHANGES TO vexpress-v2m-rs1.dtsi!
H A Dvexpress-v2p-ca15-tc1.dts12 #include "vexpress-v2m-rs1.dtsi"
H A Dvexpress-v2p-ca15_a7.dts12 #include "vexpress-v2m-rs1.dtsi"
/linux/Documentation/devicetree/bindings/arm/
H A Darm,vexpress-juno.yaml185 - rs1