| /linux/arch/sparc/kernel/ |
| H A D | visemul.c | 140 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument 143 if (rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows() 296 unsigned long orig_rs1, rs1, orig_rs2, rs2, rd_val; in edge() local 300 orig_rs1 = rs1 = fetch_reg(RS1(insn), regs); in edge() 304 rs1 = rs1 & 0xffffffff; in edge() 311 left = edge8_tab[rs1 & 0x7].left; in edge() 316 left = edge8_tab_l[rs1 & 0x7].left; in edge() 322 left = edge16_tab[(rs1 >> 1) & 0x3].left; in edge() 328 left = edge16_tab_l[(rs1 >> 1) & 0x3].left; in edge() 334 left = edge32_tab[(rs1 >> 2) & 0x1].left; in edge() [all …]
|
| H A D | unaligned_32.c | 72 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument 75 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() [all …]
|
| H A D | unaligned_64.c | 104 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 D | insn-def.h | 32 .macro insn_r, opcode, func3, func7, rd, rs1, rs2 33 .insn r \opcode, \func3, \func7, \rd, \rs1, \rs2 36 .macro insn_i, opcode, func3, rd, rs1, simm12 37 .insn i \opcode, \func3, \rd, \rs1, \simm12 40 .macro insn_s, opcode, func3, rs2, simm12, rs1 41 .insn s \opcode, \func3, \rs2, \simm12(\rs1) 48 .macro insn_r, opcode, func3, func7, rd, rs1, rs2 53 (.L__gpr_num_\rs1 << INSN_R_RS1_SHIFT) | \ 57 .macro insn_i, opcode, func3, rd, rs1, simm12 61 (.L__gpr_num_\rs1 << INSN_I_RS1_SHIFT) | \ [all …]
|
| /linux/arch/riscv/kernel/probes/ |
| H A D | simulate-insn.c | 177 u32 rs1 = RVC_EXTRACT_C2_RS1_REG(opcode); in simulate_c_jr_jalr() local 179 if (rs1 == 0) /* C.JR is only valid when rs1 != x0 */ in simulate_c_jr_jalr() 182 if (!rv_insn_reg_get_val(regs, rs1, &jump_addr)) in simulate_c_jr_jalr() 213 u32 rs1; in simulate_c_bnez_beqz() local 216 rs1 = 0x8 | ((opcode >> 7) & 0x7); in simulate_c_bnez_beqz() 218 if (!rv_insn_reg_get_val(regs, rs1, &rs1_val)) in simulate_c_bnez_beqz()
|
| /linux/arch/riscv/net/ |
| H A D | bpf_jit_comp32.c | 571 const s8 *rs1 = bpf_get_reg64(src1, tmp1, ctx); in emit_branch_r64() local 587 emit(rv_bne(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64() 588 emit(rv_bne(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64() 591 emit(rv_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64() 592 emit(rv_bltu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64() 593 emit(rv_bleu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64() 596 emit(rv_bltu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64() 597 emit(rv_bgtu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64() 598 emit(rv_bgeu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64() 601 emit(rv_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64() [all …]
|
| /linux/arch/parisc/net/ |
| H A D | bpf_jit_comp32.c | 706 const s8 *rs1 = bpf_get_reg64(src1, tmp1, ctx); in emit_branch_r64() local 722 emit(hppa_bne(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64() 723 emit(hppa_bne(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64() 726 emit(hppa_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64() 727 emit(hppa_bltu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64() 728 emit(hppa_bleu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64() 731 emit(hppa_bltu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64() 732 emit(hppa_bgtu(hi(rs1), hi(rs2), NO_JUMP(1)), ctx); in emit_branch_r64() 733 emit(hppa_bgeu(lo(rs1), lo(rs2), NO_JUMP(0)), ctx); in emit_branch_r64() 736 emit(hppa_bgtu(hi(rs1), hi(rs2), JUMP(2)), ctx); in emit_branch_r64() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | sleep.S | 38 .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/lib/crypto/mips/ |
| H A D | poly1305-mips.pl | 224 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) = 281 ld $rs1,40($ctx) 378 dmultu ($rs1,$d1) # h1*5*r1 381 mflo ($tmp0,$rs1,$d1) 382 mfhi ($tmp1,$rs1,$d1) 397 dmultu ($rs1,$d2) # h2*5*r1 400 mflo ($tmp2,$rs1,$d2) 729 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) = 783 lw $rs1,36($ctx) 923 maddu $rs1,$d3 # d3*s1 [all …]
|
| /linux/arch/sparc/math-emu/ |
| H A D | math_32.c | 284 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 D | math_64.c | 359 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/lib/crypto/riscv/ |
| H A D | poly1305-riscv.pl | 127 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) = 160 ld $rs1,40($ctx) 203 mulhu $tmp1,$rs1,$d1 # h1*5*r1 204 mul $tmp0,$rs1,$d1 219 mul $tmp2,$rs1,$d2 # h2*5*r1 457 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) = 505 lw $rs1,36($ctx) 580 MULX ($t4,$t3,$rs1,$d3) # d3*s1 610 mulw $a3,$rs1,$h4 # h4*s1
|
| /linux/arch/arm64/kernel/ |
| H A D | sleep.S | 39 .macro compute_mpidr_hash dst, rs0, rs1, rs2, rs3, mpidr, mask 44 lsr \mask ,\mask, \rs1
|
| /linux/arch/arm/boot/dts/xen/ |
| H A D | xenvm-4.2.dts | 80 arm,v2m-memory-map = "rs1";
|
| /linux/arch/arm64/boot/dts/arm/ |
| H A D | vexpress-v2f-1xv7-ca53x2.dts | 16 #include "arm/arm/vexpress-v2m-rs1.dtsi"
|
| /linux/arch/arc/net/ |
| H A D | bpf_jit_arcv2.c | 1138 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 D | pnd2_edac.h | 224 u32 rs1 : 5; member
|
| /linux/arch/arm/boot/dts/arm/ |
| H A D | vexpress-v2p-ca5s.dts | 12 #include "vexpress-v2m-rs1.dtsi"
|
| H A D | vexpress-v2m.dtsi | 14 * RS1 variant (vexpress-v2m-rs1.dtsi), but there is a strong 18 * CHANGES TO vexpress-v2m-rs1.dtsi!
|
| H A D | vexpress-v2p-ca15-tc1.dts | 12 #include "vexpress-v2m-rs1.dtsi"
|
| H A D | vexpress-v2p-ca15_a7.dts | 12 #include "vexpress-v2m-rs1.dtsi"
|
| /linux/arch/riscv/ |
| H A D | Kconfig.errata | 41 with rd=0, rs1=0 and imm=5. It will behave as a NOP
|