Lines Matching refs:rv_r_insn
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()
420 return rv_r_insn(0x20, rs2, rs1, 5, rd, 0x33); in rv_sra()
425 return rv_r_insn(1, rs2, rs1, 0, rd, 0x33); in rv_mul()
430 return rv_r_insn(1, rs2, rs1, 3, rd, 0x33); in rv_mulhu()
435 return rv_r_insn(1, rs2, rs1, 5, rd, 0x33); in rv_divu()
440 return rv_r_insn(1, rs2, rs1, 7, rd, 0x33); in rv_remu()
735 return rv_r_insn(0, rs2, rs1, 0, rd, 0x3b); in rv_addw()
740 return rv_r_insn(0x20, rs2, rs1, 0, rd, 0x3b); in rv_subw()
745 return rv_r_insn(0, rs2, rs1, 1, rd, 0x3b); in rv_sllw()
750 return rv_r_insn(0, rs2, rs1, 5, rd, 0x3b); in rv_srlw()
755 return rv_r_insn(0x20, rs2, rs1, 5, rd, 0x3b); in rv_sraw()
760 return rv_r_insn(1, rs2, rs1, 0, rd, 0x3b); in rv_mulw()
765 return rv_r_insn(1, rs2, rs1, 5, rd, 0x3b); in rv_divuw()
770 return rv_r_insn(1, rs2, rs1, 7, rd, 0x3b); in rv_remuw()