Searched refs:rv_r_insn (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/arch/riscv/net/ |
D | bpf_jit.h | 229 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn() function 279 return rv_r_insn(funct7, rs2, rs1, funct3, rd, opcode); in rv_amo_insn() 384 return rv_r_insn(0, rs2, rs1, 0, rd, 0x33); in rv_add() 389 return rv_r_insn(0x20, rs2, rs1, 0, rd, 0x33); in rv_sub() 394 return rv_r_insn(0, rs2, rs1, 3, rd, 0x33); in rv_sltu() 399 return rv_r_insn(0, rs2, rs1, 7, rd, 0x33); in rv_and() 404 return rv_r_insn(0, rs2, rs1, 6, rd, 0x33); in rv_or() 409 return rv_r_insn(0, rs2, rs1, 4, rd, 0x33); in rv_xor() 414 return rv_r_insn(0, rs2, rs1, 1, rd, 0x33); in rv_sll() 419 return rv_r_insn(0, rs2, rs1, 5, rd, 0x33); in rv_srl() [all …]
|