Searched refs:rv_r_insn (Results 1 – 1 of 1) sorted by relevance
/arch/riscv/net/ |
D | bpf_jit.h | 225 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn() function 275 return rv_r_insn(funct7, rs2, rs1, funct3, rd, opcode); in rv_amo_insn() 380 return rv_r_insn(0, rs2, rs1, 0, rd, 0x33); in rv_add() 385 return rv_r_insn(0x20, rs2, rs1, 0, rd, 0x33); in rv_sub() 390 return rv_r_insn(0, rs2, rs1, 3, rd, 0x33); in rv_sltu() 395 return rv_r_insn(0, rs2, rs1, 7, rd, 0x33); in rv_and() 400 return rv_r_insn(0, rs2, rs1, 6, rd, 0x33); in rv_or() 405 return rv_r_insn(0, rs2, rs1, 4, rd, 0x33); in rv_xor() 410 return rv_r_insn(0, rs2, rs1, 1, rd, 0x33); in rv_sll() 415 return rv_r_insn(0, rs2, rs1, 5, rd, 0x33); in rv_srl() [all …]
|