Lines Matching refs:TCGReg

130 static TCGReg tcg_target_call_oarg_reg(TCGCallReturnKind kind, int slot)
295 static int32_t encode_r(RISCVInsn opc, TCGReg rd, TCGReg rs1, TCGReg rs2)
307 static int32_t encode_i(RISCVInsn opc, TCGReg rd, TCGReg rs1, uint32_t imm)
324 static int32_t encode_s(RISCVInsn opc, TCGReg rs1, TCGReg rs2, uint32_t imm)
343 static int32_t encode_sb(RISCVInsn opc, TCGReg rs1, TCGReg rs2, uint32_t imm)
355 static int32_t encode_u(RISCVInsn opc, TCGReg rd, uint32_t imm)
374 static int32_t encode_uj(RISCVInsn opc, TCGReg rd, uint32_t imm)
384 TCGReg rd, TCGReg rs1, TCGReg rs2)
390 TCGReg rd, TCGReg rs1, TCGArg imm)
396 TCGReg rs1, TCGReg rs2, uint32_t imm)
402 TCGReg rs1, TCGReg rs2, uint32_t imm)
408 TCGReg rd, uint32_t imm)
414 TCGReg rd, uint32_t imm)
495 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg)
511 static void tcg_out_movi(TCGContext *s, TCGType type, TCGReg rd,
577 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2)
582 static void tcg_out_addi_ptr(TCGContext *s, TCGReg rd, TCGReg rs,
589 static void tcg_out_ext8u(TCGContext *s, TCGReg ret, TCGReg arg)
594 static void tcg_out_ext16u(TCGContext *s, TCGReg ret, TCGReg arg)
604 static void tcg_out_ext32u(TCGContext *s, TCGReg ret, TCGReg arg)
614 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg)
624 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg)
634 static void tcg_out_ext32s(TCGContext *s, TCGReg ret, TCGReg arg)
639 static void tcg_out_exts_i32_i64(TCGContext *s, TCGReg ret, TCGReg arg)
646 static void tcg_out_extu_i32_i64(TCGContext *s, TCGReg ret, TCGReg arg)
651 static void tcg_out_extrl_i64_i32(TCGContext *s, TCGReg ret, TCGReg arg)
656 static void tcg_out_ldst(TCGContext *s, RISCVInsn opc, TCGReg data,
657 TCGReg addr, intptr_t offset)
697 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg arg,
698 TCGReg arg1, intptr_t arg2)
704 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg,
705 TCGReg arg1, intptr_t arg2)
712 TCGReg base, intptr_t ofs)
722 TCGReg rl, TCGReg rh,
723 TCGReg al, TCGReg ah,
730 TCGReg th = TCG_REG_TMP1;
798 static void tcg_out_brcond(TCGContext *s, TCGCond cond, TCGReg arg1,
799 TCGReg arg2, TCGLabel *l)
806 TCGReg t = arg1;
819 static int tcg_out_setcond_int(TCGContext *s, TCGCond cond, TCGReg ret,
820 TCGReg arg1, tcg_target_long arg2, bool c2)
865 TCGReg tmp = arg2;
912 static void tcg_out_setcond(TCGContext *s, TCGCond cond, TCGReg ret,
913 TCGReg arg1, tcg_target_long arg2, bool c2)
918 TCGReg tmp = tmpflags & ~SETCOND_FLAGS;
939 static void tcg_out_negsetcond(TCGContext *s, TCGCond cond, TCGReg ret,
940 TCGReg arg1, tcg_target_long arg2, bool c2)
943 TCGReg tmp;
977 static void tcg_out_movcond_zicond(TCGContext *s, TCGReg ret, TCGReg test_ne,
1022 static void tcg_out_movcond_br1(TCGContext *s, TCGCond cond, TCGReg ret,
1023 TCGReg cmp1, TCGReg cmp2,
1045 static void tcg_out_movcond_br2(TCGContext *s, TCGCond cond, TCGReg ret,
1046 TCGReg cmp1, TCGReg cmp2,
1050 TCGReg tmp;
1074 static void tcg_out_movcond(TCGContext *s, TCGCond cond, TCGReg ret,
1075 TCGReg cmp1, int cmp2, bool c_cmp2,
1076 TCGReg val1, bool c_val1,
1077 TCGReg val2, bool c_val2)
1080 TCGReg t;
1105 TCGReg ret, TCGReg src1, int src2, bool c_src2)
1122 TCGReg link = tail ? TCG_REG_ZERO : TCG_REG_RA;
1235 static TCGLabelQemuLdst *prepare_host_addr(TCGContext *s, TCGReg *pbase,
1236 TCGReg addr_reg, MemOpIdx oi,
1256 TCGReg addr_adj;
1316 TCGReg base;
1356 static void tcg_out_qemu_ld_direct(TCGContext *s, TCGReg val,
1357 TCGReg base, MemOp opc, TCGType type)
1392 static void tcg_out_qemu_ld(TCGContext *s, TCGReg data_reg, TCGReg addr_reg,
1396 TCGReg base;
1408 static void tcg_out_qemu_st_direct(TCGContext *s, TCGReg val,
1409 TCGReg base, MemOp opc)
1432 static void tcg_out_qemu_st(TCGContext *s, TCGReg data_reg, TCGReg addr_reg,
1436 TCGReg base;