Lines Matching defs:rd
241 static inline u32 rv_r_insn(u8 funct7, u8 rs2, u8 rs1, u8 funct3, u8 rd, in rv_r_insn()
248 static inline u32 rv_i_insn(u16 imm11_0, u8 rs1, u8 funct3, u8 rd, u8 opcode) in rv_i_insn()
271 static inline u32 rv_u_insn(u32 imm31_12, u8 rd, u8 opcode) in rv_u_insn()
276 static inline u32 rv_j_insn(u32 imm20_1, u8 rd, u8 opcode) in rv_j_insn()
287 u8 funct3, u8 rd, u8 opcode) in rv_amo_insn()
296 static inline u16 rv_cr_insn(u8 funct4, u8 rd, u8 rs2, u8 op) in rv_cr_insn()
301 static inline u16 rv_ci_insn(u8 funct3, u32 imm6, u8 rd, u8 op) in rv_ci_insn()
314 static inline u16 rv_ciw_insn(u8 funct3, u32 uimm, u8 rd, u8 op) in rv_ciw_insn()
319 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn()
333 static inline u16 rv_ca_insn(u8 funct6, u8 rd, u8 funct2, u8 rs2, u8 op) in rv_ca_insn()
339 static inline u16 rv_cb_insn(u8 funct3, u32 imm6, u8 funct2, u8 rd, u8 op) in rv_cb_insn()
349 static inline u32 rv_addi(u8 rd, u8 rs1, u16 imm11_0) in rv_addi()
354 static inline u32 rv_andi(u8 rd, u8 rs1, u16 imm11_0) in rv_andi()
359 static inline u32 rv_ori(u8 rd, u8 rs1, u16 imm11_0) in rv_ori()
364 static inline u32 rv_xori(u8 rd, u8 rs1, u16 imm11_0) in rv_xori()
369 static inline u32 rv_slli(u8 rd, u8 rs1, u16 imm11_0) in rv_slli()
374 static inline u32 rv_srli(u8 rd, u8 rs1, u16 imm11_0) in rv_srli()
379 static inline u32 rv_srai(u8 rd, u8 rs1, u16 imm11_0) in rv_srai()
384 static inline u32 rv_lui(u8 rd, u32 imm31_12) in rv_lui()
389 static inline u32 rv_auipc(u8 rd, u32 imm31_12) in rv_auipc()
394 static inline u32 rv_add(u8 rd, u8 rs1, u8 rs2) in rv_add()
399 static inline u32 rv_sub(u8 rd, u8 rs1, u8 rs2) in rv_sub()
404 static inline u32 rv_sltu(u8 rd, u8 rs1, u8 rs2) in rv_sltu()
409 static inline u32 rv_and(u8 rd, u8 rs1, u8 rs2) in rv_and()
414 static inline u32 rv_or(u8 rd, u8 rs1, u8 rs2) in rv_or()
419 static inline u32 rv_xor(u8 rd, u8 rs1, u8 rs2) in rv_xor()
424 static inline u32 rv_sll(u8 rd, u8 rs1, u8 rs2) in rv_sll()
429 static inline u32 rv_srl(u8 rd, u8 rs1, u8 rs2) in rv_srl()
434 static inline u32 rv_sra(u8 rd, u8 rs1, u8 rs2) in rv_sra()
439 static inline u32 rv_mul(u8 rd, u8 rs1, u8 rs2) in rv_mul()
444 static inline u32 rv_mulhu(u8 rd, u8 rs1, u8 rs2) in rv_mulhu()
449 static inline u32 rv_div(u8 rd, u8 rs1, u8 rs2) in rv_div()
454 static inline u32 rv_divu(u8 rd, u8 rs1, u8 rs2) in rv_divu()
459 static inline u32 rv_rem(u8 rd, u8 rs1, u8 rs2) in rv_rem()
464 static inline u32 rv_remu(u8 rd, u8 rs1, u8 rs2) in rv_remu()
469 static inline u32 rv_jal(u8 rd, u32 imm20_1) in rv_jal()
474 static inline u32 rv_jalr(u8 rd, u8 rs1, u16 imm11_0) in rv_jalr()
529 static inline u32 rv_lb(u8 rd, u16 imm11_0, u8 rs1) in rv_lb()
534 static inline u32 rv_lh(u8 rd, u16 imm11_0, u8 rs1) in rv_lh()
539 static inline u32 rv_lw(u8 rd, u16 imm11_0, u8 rs1) in rv_lw()
544 static inline u32 rv_lbu(u8 rd, u16 imm11_0, u8 rs1) in rv_lbu()
549 static inline u32 rv_lhu(u8 rd, u16 imm11_0, u8 rs1) in rv_lhu()
569 static inline u32 rv_amoadd_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoadd_w()
574 static inline u32 rv_amoand_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoand_w()
579 static inline u32 rv_amoor_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoor_w()
584 static inline u32 rv_amoxor_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoxor_w()
589 static inline u32 rv_amoswap_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoswap_w()
594 static inline u32 rv_lr_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_lr_w()
599 static inline u32 rv_sc_w(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_sc_w()
618 static inline u16 rvc_addi4spn(u8 rd, u32 imm10) in rvc_addi4spn()
627 static inline u16 rvc_lw(u8 rd, u32 imm7, u8 rs1) in rvc_lw()
645 static inline u16 rvc_addi(u8 rd, u32 imm6) in rvc_addi()
650 static inline u16 rvc_li(u8 rd, u32 imm6) in rvc_li()
664 static inline u16 rvc_lui(u8 rd, u32 imm6) in rvc_lui()
669 static inline u16 rvc_srli(u8 rd, u32 imm6) in rvc_srli()
674 static inline u16 rvc_srai(u8 rd, u32 imm6) in rvc_srai()
679 static inline u16 rvc_andi(u8 rd, u32 imm6) in rvc_andi()
684 static inline u16 rvc_sub(u8 rd, u8 rs) in rvc_sub()
689 static inline u16 rvc_xor(u8 rd, u8 rs) in rvc_xor()
694 static inline u16 rvc_or(u8 rd, u8 rs) in rvc_or()
699 static inline u16 rvc_and(u8 rd, u8 rs) in rvc_and()
704 static inline u16 rvc_slli(u8 rd, u32 imm6) in rvc_slli()
709 static inline u16 rvc_lwsp(u8 rd, u32 imm8) in rvc_lwsp()
722 static inline u16 rvc_mv(u8 rd, u8 rs) in rvc_mv()
732 static inline u16 rvc_add(u8 rd, u8 rs) in rvc_add()
746 static inline u32 rvzba_sh2add(u8 rd, u8 rs1, u8 rs2) in rvzba_sh2add()
751 static inline u32 rvzba_sh3add(u8 rd, u8 rs1, u8 rs2) in rvzba_sh3add()
757 static inline u32 rvzbb_sextb(u8 rd, u8 rs1) in rvzbb_sextb()
762 static inline u32 rvzbb_sexth(u8 rd, u8 rs1) in rvzbb_sexth()
767 static inline u32 rvzbb_zexth(u8 rd, u8 rs) in rvzbb_zexth()
775 static inline u32 rvzbb_rev8(u8 rd, u8 rs) in rvzbb_rev8()
792 static inline u32 rv_addiw(u8 rd, u8 rs1, u16 imm11_0) in rv_addiw()
797 static inline u32 rv_slliw(u8 rd, u8 rs1, u16 imm11_0) in rv_slliw()
802 static inline u32 rv_srliw(u8 rd, u8 rs1, u16 imm11_0) in rv_srliw()
807 static inline u32 rv_sraiw(u8 rd, u8 rs1, u16 imm11_0) in rv_sraiw()
812 static inline u32 rv_addw(u8 rd, u8 rs1, u8 rs2) in rv_addw()
817 static inline u32 rv_subw(u8 rd, u8 rs1, u8 rs2) in rv_subw()
822 static inline u32 rv_sllw(u8 rd, u8 rs1, u8 rs2) in rv_sllw()
827 static inline u32 rv_srlw(u8 rd, u8 rs1, u8 rs2) in rv_srlw()
832 static inline u32 rv_sraw(u8 rd, u8 rs1, u8 rs2) in rv_sraw()
837 static inline u32 rv_mulw(u8 rd, u8 rs1, u8 rs2) in rv_mulw()
842 static inline u32 rv_divw(u8 rd, u8 rs1, u8 rs2) in rv_divw()
847 static inline u32 rv_divuw(u8 rd, u8 rs1, u8 rs2) in rv_divuw()
852 static inline u32 rv_remw(u8 rd, u8 rs1, u8 rs2) in rv_remw()
857 static inline u32 rv_remuw(u8 rd, u8 rs1, u8 rs2) in rv_remuw()
862 static inline u32 rv_ld(u8 rd, u16 imm11_0, u8 rs1) in rv_ld()
867 static inline u32 rv_lwu(u8 rd, u16 imm11_0, u8 rs1) in rv_lwu()
877 static inline u32 rv_amoadd_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoadd_d()
882 static inline u32 rv_amoand_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoand_d()
887 static inline u32 rv_amoor_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoor_d()
892 static inline u32 rv_amoxor_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoxor_d()
897 static inline u32 rv_amoswap_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_amoswap_d()
902 static inline u32 rv_lr_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_lr_d()
907 static inline u32 rv_sc_d(u8 rd, u8 rs2, u8 rs1, u8 aq, u8 rl) in rv_sc_d()
914 static inline u16 rvc_ld(u8 rd, u32 imm8, u8 rs1) in rvc_ld()
932 static inline u16 rvc_subw(u8 rd, u8 rs) in rvc_subw()
937 static inline u16 rvc_addiw(u8 rd, u32 imm6) in rvc_addiw()
942 static inline u16 rvc_ldsp(u8 rd, u32 imm9) in rvc_ldsp()
960 static inline u32 rvzba_zextw(u8 rd, u8 rs1) in rvzba_zextw()
970 static inline void emit_jalr(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_jalr()
980 static inline void emit_mv(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_mv()
988 static inline void emit_add(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_add()
996 static inline void emit_addi(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_addi()
1009 static inline void emit_li(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_li()
1017 static inline void emit_lui(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_lui()
1025 static inline void emit_slli(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_slli()
1033 static inline void emit_andi(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_andi()
1041 static inline void emit_srli(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_srli()
1049 static inline void emit_srai(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_srai()
1057 static inline void emit_sub(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_sub()
1065 static inline void emit_or(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_or()
1073 static inline void emit_and(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_and()
1081 static inline void emit_xor(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_xor()
1089 static inline void emit_lw(u8 rd, s32 off, u8 rs1, struct rv_jit_context *ctx) in emit_lw()
1109 static inline void emit_sh2add(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_sh2add()
1120 static inline void emit_sh3add(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_sh3add()
1134 static inline void emit_addiw(u8 rd, u8 rs, s32 imm, struct rv_jit_context *ctx) in emit_addiw()
1142 static inline void emit_ld(u8 rd, s32 off, u8 rs1, struct rv_jit_context *ctx) in emit_ld()
1162 static inline void emit_subw(u8 rd, u8 rs1, u8 rs2, struct rv_jit_context *ctx) in emit_subw()
1170 static inline void emit_sextb(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_sextb()
1181 static inline void emit_sexth(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_sexth()
1192 static inline void emit_sextw(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_sextw()
1197 static inline void emit_zexth(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_zexth()
1208 static inline void emit_zextw(u8 rd, u8 rs, struct rv_jit_context *ctx) in emit_zextw()
1219 static inline void emit_bswap(u8 rd, s32 imm, struct rv_jit_context *ctx) in emit_bswap()