Home
last modified time | relevance | path

Searched refs:rs2 (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/arch/riscv/net/
H A Dbpf_jit.h224 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn() argument
227 return (funct7 << 25) | (rs2 << 20) | (rs1 << 15) | (funct3 << 12) | in rv_r_insn()
237 static inline u32 rv_s_insn(u16 imm11_0, u8 rs2, u8 rs1, u8 funct3, u8 opcode) in rv_s_insn() argument
241 return (imm11_5 << 25) | (rs2 << 20) | (rs1 << 15) | (funct3 << 12) | in rv_s_insn()
245 static inline u32 rv_b_insn(u16 imm12_1, u8 rs2, u8 rs1, u8 funct3, u8 opcode) in rv_b_insn() argument
250 return (imm12 << 25) | (rs2 << 20) | (rs1 << 15) | (funct3 << 12) | in rv_b_insn()
269 static inline u32 rv_amo_insn(u8 funct5, u8 aq, u8 rl, u8 rs2, u8 rs1, in rv_amo_insn() argument
274 return rv_r_insn(funct7, rs2, rs1, funct3, rd, opcode); in rv_amo_insn()
279 static inline u16 rv_cr_insn(u8 funct4, u8 rd, u8 rs2, u8 op) in rv_cr_insn() argument
281 return (funct4 << 12) | (rd << 7) | (rs2 << 2) | op; in rv_cr_insn()
[all …]
H A Dbpf_jit_comp32.c572 const s8 *rs2 = bpf_get_reg64(src2, tmp2, 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 …]
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dvisemul.c140 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
301 orig_rs2 = rs2 = fetch_reg(RS2(insn), regs); in edge()
305 rs2 = rs2 & 0xffffffff; in edge()
312 right = edge8_tab[rs2 & 0x7].right; in edge()
317 right = edge8_tab_l[rs2 & 0x7].right; in edge()
323 right = edge16_tab[(rs2 >> 1) & 0x3].right; in edge()
329 right = edge16_tab_l[(rs2 >> 1) & 0x3].right; in edge()
335 right = edge32_tab[(rs2 >> 2) & 0x1].right; in edge()
[all …]
H A Dunaligned_32.c71 static inline void maybe_flush_windows(unsigned int rs1, unsigned int rs2, in maybe_flush_windows() argument
74 if(rs2 >= 16 || rs1 >= 16 || rd >= 16) { in maybe_flush_windows()
139 unsigned int rs2 = insn & 0x1f; in compute_effective_address() local
146 maybe_flush_windows(rs1, rs2, rd); in compute_effective_address()
147 return (fetch_reg(rs1, regs) + fetch_reg(rs2, regs)); in compute_effective_address()
155 unsigned int rs2 = insn & 0x1f; in safe_compute_effective_address() local
162 maybe_flush_windows(rs1, rs2, rd); in safe_compute_effective_address()
163 return (safe_fetch_reg(rs1, regs) + safe_fetch_reg(rs2, regs)); in safe_compute_effective_address()
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()
174 unsigned int rs2 = insn & 0x1f; in compute_effective_address() local
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()
/OK3568_Linux_fs/u-boot/post/lib_powerpc/
H A Dcpu_asm.h143 #define ASM_12(opcode, rd, rs1, rs2) ((opcode) + \ argument
146 ((rs2) << 11))
151 #define ASM_12X(opcode, rd, rs1, rs2) ((opcode) + \ argument
154 ((rs2) << 11))
155 #define ASM_2C(opcode, cr, rs1, rs2) ((opcode) + \ argument
158 ((rs2) << 11))
163 #define ASM_122(opcode, rd, rs1, rs2, imm1, imm2) \ argument
167 ((rs2) << 11) + \
203 #define ASM_LSWX(rd, rs1, rs2) ASM_12(OP_LSWX, rd, rs1, rs2) argument
205 #define ASM_STSWX(rd, rs1, rs2) ASM_12(OP_STSWX, rd, rs1, rs2) argument
/OK3568_Linux_fs/kernel/arch/sparc/math-emu/
H A Dmath_64.c359 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_mathemu() local
398 case 1: rs2 = (argp)&f->regs[freg]; in do_mathemu()
401 rs2 = (argp)&zero; in do_mathemu()
405 case 7: FP_UNPACK_QP (QB, rs2); break; in do_mathemu()
406 case 6: FP_UNPACK_DP (DB, rs2); break; in do_mathemu()
407 case 5: FP_UNPACK_SP (SB, rs2); break; in do_mathemu()
457 case FMOVQ: rd->q[0] = rs2->q[0]; rd->q[1] = rs2->q[1]; break; in do_mathemu()
458 case FABSQ: rd->q[0] = rs2->q[0] & 0x7fffffffffffffffUL; rd->q[1] = rs2->q[1]; break; in do_mathemu()
459 case FNEGQ: rd->q[0] = rs2->q[0] ^ 0x8000000000000000UL; rd->q[1] = rs2->q[1]; break; in do_mathemu()
468 case FITOQ: IR = rs2->s; FP_FROM_INT_Q (QR, IR, 32, int); break; in do_mathemu()
[all …]
H A Dmath_32.c284 argp rs1 = NULL, rs2 = NULL, rd = NULL; in do_one_mathemu() local
390 rs2 = (argp)&fregs[freg]; in do_one_mathemu()
392 case 7: FP_UNPACK_QP (QB, rs2); break; in do_one_mathemu()
393 case 6: FP_UNPACK_DP (DB, rs2); break; in do_one_mathemu()
394 case 5: FP_UNPACK_SP (SB, rs2); break; in do_one_mathemu()
452 case FMOVS: rd->s = rs2->s; break; in do_one_mathemu()
453 case FABSS: rd->s = rs2->s & 0x7fffffff; break; in do_one_mathemu()
454 case FNEGS: rd->s = rs2->s ^ 0x80000000; break; in do_one_mathemu()
460 case FITOS: IR = rs2->s; FP_FROM_INT_S (SR, IR, 32, int); break; in do_one_mathemu()
461 case FITOD: IR = rs2->s; FP_FROM_INT_D (DR, IR, 32, int); break; in do_one_mathemu()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/arm/
H A Drtsm_ve-motherboard-rs2.dtsi5 * "rs2" extension for the v2m motherboard
10 arm,v2m-memory-map = "rs2";
H A Dfvp-base-revc.dts18 #include "rtsm_ve-motherboard-rs2.dtsi"
/OK3568_Linux_fs/kernel/arch/mips/crypto/
H A Dpoly1305-mips.pl733 my ($h0,$h1,$h2,$h3,$h4, $r0,$r1,$r2,$r3, $rs1,$rs2,$rs3) =
788 lw $rs2,40($ctx)
925 maddu $rs2,$d2 # d2*s2
935 maddu $rs2,$d3 # d3*s2
945 maddu $rs2,$h4 # h4*s2
980 multu ($rs2,$d2) # d2*s2
981 mflo ($a3,$rs2,$d2)
982 mfhi ($t1,$rs2,$d2)
1017 multu ($rs2,$d3) # d3*s2
1021 mflo ($at,$rs2,$d3)
[all …]
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dsleep.S38 .macro compute_mpidr_hash dst, rs0, rs1, rs2, mpidr, mask
48 ARM( orr \dst, \dst, \mask, lsr \rs2 ) @ dst|=(aff2>>rs2)
49 THUMB( lsr \mask, \mask, \rs2 )
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dsleep.S39 .macro compute_mpidr_hash dst, rs0, rs1, rs2, rs3, mpidr, mask
47 lsr \mask ,\mask, \rs2
/OK3568_Linux_fs/kernel/arch/sparc/net/
H A Dbpf_jit_comp_64.c1260 u32 opcode = 0, rs2; in build_insn() local
1280 rs2 = S13(off); in build_insn()
1283 rs2 = RS2(tmp); in build_insn()
1285 emit(opcode | RS1(src) | rs2 | RD(dst), ctx); in build_insn()
1300 u32 opcode = 0, rs2; in build_insn() local
1325 rs2 = S13(off); in build_insn()
1329 rs2 = RS2(tmp); in build_insn()
1331 emit(opcode | RS1(dst) | rs2 | RD(tmp2), ctx); in build_insn()
1341 u32 opcode = 0, rs2; in build_insn() local
1362 rs2 = S13(off); in build_insn()
[all …]
/OK3568_Linux_fs/buildroot/dl/ncurses/
HDncurses-6.1-20191109.patch.gz ... >\E>\E[?1l, 111 rs2=\E>\E[?3l\E[ ...
HDncurses-6.1-20190713.patch.gz1# ncurses 6.1 - patch 20190713 - Thomas E. Dickey 2# 3# --- ...
HDncurses-6.1-20190803.patch.gz1# ncurses 6.1 - patch 20190803 - Thomas E. Dickey 2# 3# --- ...
HDncurses-6.1-20190630.patch.gz1# ncurses 6.1 - patch 20190630 - Thomas E. Dickey 2# 3# --- ...
HDncurses-6.1-20190615.patch.gz1# ncurses 6.1 - patch 20190615 - Thomas E. Dickey 2# 3# --- ...
HDncurses-6.1-20190727.patch.gz1# ncurses 6.1 - patch 20190727 - Thomas E. Dickey 2# 3# --- ...
HDncurses-6.1-20190609-patch.sh.bz21#!/bin/sh 2# Use this script to patch ncurses 6.1 to 6.1 ( ...
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Das.info18753 rs2 Second source register number for operand x, can be GPR or FPR.
18754 rs2' Second source register number for operand x,
18846 'R type: .insn r opcode, func3, func7, rd, rs1, rs2'
18848 | func7 | rs2 | rs1 | func3 | rd | opcode |
18852 'R type with 4 register operands: .insn r opcode, func3, func2, rd, rs1, rs2, rs3'
18853 'R4 type: .insn r4 opcode, func3, func2, rd, rs1, rs2, rs3'
18855 | rs3 | func2 | rs2 | rs1 | func3 | rd | opcode |
18866 'S type: .insn s opcode, func3, rs2, simm12(rs1)'
18868 | simm12[11:5] | rs2 | rs1 | func3 | simm12[4:0] | opcode |
18872 'B type: .insn s opcode, func3, rs1, rs2, symbol'
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Das.info18753 rs2 Second source register number for operand x, can be GPR or FPR.
18754 rs2' Second source register number for operand x,
18846 'R type: .insn r opcode, func3, func7, rd, rs1, rs2'
18848 | func7 | rs2 | rs1 | func3 | rd | opcode |
18852 'R type with 4 register operands: .insn r opcode, func3, func2, rd, rs1, rs2, rs3'
18853 'R4 type: .insn r4 opcode, func3, func2, rd, rs1, rs2, rs3'
18855 | rs3 | func2 | rs2 | rs1 | func3 | rd | opcode |
18866 'S type: .insn s opcode, func3, rs2, simm12(rs1)'
18868 | simm12[11:5] | rs2 | rs1 | func3 | simm12[4:0] | opcode |
18872 'B type: .insn s opcode, func3, rs1, rs2, symbol'
[all …]
/OK3568_Linux_fs/recovery/
HDrootfs.cpio.gz107070100A8AEB0000041ED0000000000000000000000116841B48100000000000000FD0000000200000000000000000000000200000000.�07070100A8B07C000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000900000000.gitkeep��07070100A8B07D000081A40000000000000000000000016841263500000000000000FD0000000200000000000000000000000B00000000.skip_fsck����07070100A8AEB10000A1FF0000000000000000000000016841B0B600000007000000FD0000000200000000000000000000000400000000bin���usr/bin�07070100A8B07E000081A400000000000000000000000168412635000001CC000000FD0000000200000000000000000000001100000000busybox. ...