Searched refs:rv_r_insn (Results 1 – 1 of 1) sorted by relevance
/linux/arch/riscv/net/ |
H A D | bpf_jit.h | 241 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn() function 291 return rv_r_insn(funct7, rs2, rs1, funct3, rd, opcode); in rv_amo_insn() 396 return rv_r_insn(0, rs2, rs1, 0, rd, 0x33); in rv_add() 401 return rv_r_insn(0x20, rs2, rs1, 0, rd, 0x33); in rv_sub() 406 return rv_r_insn(0, rs2, rs1, 3, rd, 0x33); in rv_sltu() 411 return rv_r_insn(0, rs2, rs1, 7, rd, 0x33); in rv_and() 416 return rv_r_insn(0, rs2, rs1, 6, rd, 0x33); in rv_or() 421 return rv_r_insn(0, rs2, rs1, 4, rd, 0x33); in rv_xor() 426 return rv_r_insn(0, rs2, rs1, 1, rd, 0x33); in rv_sll() 431 return rv_r_insn(0, rs2, rs1, 5, rd, 0x33); in rv_srl() [all …]
|