/openbmc/qemu/include/tcg/ |
H A D | tcg-op-common.h | 17 TCGv_vec tcg_constant_vec(TCGType type, unsigned vece, int64_t val); 24 TCGv_vec tcg_temp_new_vec(TCGType type); 315 void tcg_gen_qemu_ld_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType); 316 void tcg_gen_qemu_st_i32_chk(TCGv_i32, TCGTemp *, TCGArg, MemOp, TCGType); 317 void tcg_gen_qemu_ld_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType); 318 void tcg_gen_qemu_st_i64_chk(TCGv_i64, TCGTemp *, TCGArg, MemOp, TCGType); 319 void tcg_gen_qemu_ld_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType); 320 void tcg_gen_qemu_st_i128_chk(TCGv_i128, TCGTemp *, TCGArg, MemOp, TCGType); 325 TCGArg, MemOp, TCGType); 327 TCGArg, MemOp, TCGType); [all …]
|
H A D | tcg.h | 241 typedef enum TCGType { enum 266 } TCGType; typedef 274 static inline int tcg_type_size(TCGType t) in tcg_type_size() 381 TCGType base_type:8; 382 TCGType type:8; 461 TCGType addr_type; /* TCG_TYPE_I32 or TCG_TYPE_I64 */ 527 TCGType riscv_cur_type; 1023 int tcg_can_emit_vec_op(TCGOpcode, TCGType, unsigned); 1025 static inline int tcg_can_emit_vec_op(TCGOpcode o, TCGType t, unsigned ve) in tcg_can_emit_vec_op() 1032 void tcg_expand_vec_op(TCGOpcode, TCGType, unsigned, TCGArg, ...); [all …]
|
/openbmc/qemu/tcg/ |
H A D | tcg-internal.h | 86 TCGTemp *tcg_temp_new_internal(TCGType type, TCGTempKind kind); 93 TCGTemp *tcg_constant_internal(TCGType type, int64_t val); 102 void vec_gen_2(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg); 103 void vec_gen_3(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg); 104 void vec_gen_4(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg, TCGArg); 105 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r,
|
H A D | tcg-op-vec.c | 61 TCGType type, unsigned vece) in tcg_can_emit_vecop_list() 143 void vec_gen_2(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, TCGArg a) in vec_gen_2() 152 void vec_gen_3(TCGOpcode opc, TCGType type, unsigned vece, in vec_gen_3() 163 void vec_gen_4(TCGOpcode opc, TCGType type, unsigned vece, in vec_gen_4() 175 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, in vec_gen_6() 193 TCGType type = rt->base_type; in vec_gen_op2() 206 TCGType type = rt->base_type; in vec_gen_op3() 231 TCGType type = rt->base_type; in tcg_gen_dup_i64_vec() 251 TCGType type = rt->base_type; in tcg_gen_dup_i32_vec() 262 TCGType type = rt->base_type; in tcg_gen_dup_mem_vec() [all …]
|
H A D | tcg-op-ldst.c | 274 MemOp memop, TCGType addr_type) in tcg_gen_qemu_ld_i32_chk() 331 MemOp memop, TCGType addr_type) in tcg_gen_qemu_st_i32_chk() 400 MemOp memop, TCGType addr_type) in tcg_gen_qemu_ld_i64_chk() 457 MemOp memop, TCGType addr_type) in tcg_gen_qemu_st_i64_chk() 664 MemOp memop, TCGType addr_type) in tcg_gen_qemu_ld_i128_chk() 781 MemOp memop, TCGType addr_type) in tcg_gen_qemu_st_i128_chk() 902 TCGType addr_type) in tcg_gen_nonatomic_cmpxchg_i32_chk() 939 TCGType addr_type) in tcg_gen_atomic_cmpxchg_i32_chk() 984 TCGType addr_type) in tcg_gen_nonatomic_cmpxchg_i64_chk() 1055 TCGArg idx, MemOp memop, TCGType addr_type) in tcg_gen_atomic_cmpxchg_i64_chk() [all …]
|
H A D | tcg.c | 96 TCGType type; /* result type of a load */ 113 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg1, 115 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg); 116 static void tcg_out_movi(TCGContext *s, TCGType type, 118 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg); 119 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg); 128 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2); 135 static bool tcg_out_dup_vec(TCGContext *s, TCGType type, unsigned vece, 137 static bool tcg_out_dupm_vec(TCGContext *s, TCGType type, unsigned vece, 139 static void tcg_out_dupi_vec(TCGContext *s, TCGType type, unsigned vece, [all …]
|
H A D | tcg-op-gvec.c | 448 static TCGType choose_vector_type(const TCGOpcode *list, unsigned vece, in choose_vector_type() 485 static void do_dup_store(TCGType type, uint32_t dofs, uint32_t oprsz, in do_dup_store() 540 TCGType type; in do_dup() 1043 uint32_t oprsz, uint32_t tysz, TCGType type, in expand_2_vec() 1063 uint32_t oprsz, uint32_t tysz, TCGType type, in expand_2i_vec() 1081 uint32_t oprsz, uint32_t tysz, TCGType type, in expand_2s_vec() 1102 uint32_t tysz, TCGType type, bool load_dest, in expand_3_vec() 1126 TCGType type, int64_t c, in expand_3i_vec() 1152 uint32_t tysz, TCGType type, bool write_aofs, in expand_4_vec() 1179 uint32_t tysz, TCGType type, int64_t c, in expand_4i_vec() [all …]
|
H A D | optimize.c | 45 TCGType type; 70 TCGType type; 289 static void record_mem_copy(OptContext *ctx, TCGType type, in record_mem_copy() 340 static TCGTemp *find_mem_copy_for(OptContext *ctx, TCGType type, intptr_t s) in find_mem_copy_for() 354 TCGType type = ctx->type; in arg_new_constant() 602 static uint64_t do_constant_folding(TCGOpcode op, TCGType type, in do_constant_folding() 709 static int do_constant_folding_cond(TCGType type, TCGArg x, in do_constant_folding_cond() 2638 TCGType type; in fold_tcg_ld_memcopy() 2695 TCGType type; in fold_tcg_st_memcopy()
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 17 /* We're going to re-use TCGType in setting of the SF bit, which controls 289 TCGType type, TCGCond cond, int vece) 669 static void tcg_out_insn_3201(TCGContext *s, AArch64Insn insn, TCGType ext, 713 static void tcg_out_insn_3401(TCGContext *s, AArch64Insn insn, TCGType ext, 728 static void tcg_out_insn_3402(TCGContext *s, AArch64Insn insn, TCGType ext, 737 static void tcg_out_insn_3403(TCGContext *s, AArch64Insn insn, TCGType ext, 746 static void tcg_out_insn_3405(TCGContext *s, AArch64Insn insn, TCGType ext, 760 TCGType sf, TCGReg rd, TCGReg rn, 770 TCGType ext, TCGReg rd, TCGReg rn, 780 static void tcg_out_insn_3502(TCGContext *s, AArch64Insn insn, TCGType ext, [all …]
|
/openbmc/qemu/tcg/tci/ |
H A D | tcg-target.c.inc | 486 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg val, TCGReg base, 503 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 520 static void tcg_out_movi(TCGContext *s, TCGType type, 547 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg rd, TCGReg rs) 576 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg rd, TCGReg rs) 635 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 892 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg val, TCGReg base, 909 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val, 917 TCGType type, TCGCond cond, int vece)
|
/openbmc/qemu/tcg/riscv/ |
H A D | tcg-target.c.inc | 382 TCGType type, TCGCond cond, int vece) 739 static void set_vtype(TCGContext *s, TCGType type, MemOp vsew) 752 static MemOp set_vtype_len(TCGContext *s, TCGType type) 760 static void set_vtype_len_sew(TCGContext *s, TCGType type, MemOp vsew) 771 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 796 static void tcg_out_movi(TCGContext *s, TCGType type, TCGReg rd, 862 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 899 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 909 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 1001 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg arg, [all …]
|
/openbmc/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 195 TCGType type, TCGCond cond, int vece) 745 int r, int v, int rm, TCGType type) 754 int rm, int aaa, bool z, TCGType type) 901 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 952 static bool tcg_out_dup_vec(TCGContext *s, TCGType type, unsigned vece, 983 static bool tcg_out_dupm_vec(TCGContext *s, TCGType type, unsigned vece, 1015 static void tcg_out_dupi_vec(TCGContext *s, TCGType type, unsigned vece, 1052 static void tcg_out_movi_vec(TCGContext *s, TCGType type, 1073 static void tcg_out_movi_int(TCGContext *s, TCGType type, 1106 static void tcg_out_movi(TCGContext *s, TCGType type, [all …]
|
/openbmc/qemu/tcg/loongarch64/ |
H A D | tcg-target.c.inc | 187 TCGType type, TCGCond cond, int vece) 298 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 362 static void tcg_out_movi(TCGContext *s, TCGType type, TCGReg rd, 439 static void tcg_out_addi(TCGContext *s, TCGType type, TCGReg rd, 478 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 505 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 510 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 830 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg dest, 870 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg src, 910 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val, [all …]
|
/openbmc/qemu/tcg/sparc64/ |
H A D | tcg-target.c.inc | 326 TCGType type, TCGCond cond, int vece) 371 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 415 static void tcg_out_movi_int(TCGContext *s, TCGType type, TCGReg ret, 485 static void tcg_out_movi(TCGContext *s, TCGType type, 492 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg rd, TCGReg rs) 497 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg rd, TCGReg rs) 538 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 568 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg ret, 574 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, 580 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val, [all …]
|
/openbmc/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 555 TCGType type, TCGCond cond, int vece) 855 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg dst, TCGReg src) 907 static void tcg_out_movi(TCGContext *s, TCGType type, 1023 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg data, 1056 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg data, 1089 static inline bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val, 1095 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 1116 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg dest, TCGReg src) 1126 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg dest, TCGReg src) 1175 static void tgen_andi(TCGContext *s, TCGType type, TCGReg dest, uint64_t val) [all …]
|
/openbmc/qemu/tcg/ppc/ |
H A D | tcg-target.c.inc | 291 TCGType type, TCGCond cond, int vece) 852 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 925 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg dst, TCGReg src) 935 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg dst, TCGReg src) 1136 static void tcg_out_movi_int(TCGContext *s, TCGType type, TCGReg ret, 1269 static void tcg_out_dupi_vec(TCGContext *s, TCGType type, unsigned vece, 1360 static void tcg_out_movi(TCGContext *s, TCGType type, TCGReg ret, 1375 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 1625 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg ret, 1678 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, [all …]
|
/openbmc/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 192 TCGType type, TCGCond cond, int vece) 510 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 559 static void tcg_out_movi_int(TCGContext *s, TCGType type, TCGReg ret, 633 static void tcg_out_movi(TCGContext *s, TCGType type, 640 static void tcg_out_ext8s(TCGContext *s, TCGType type, TCGReg rd, TCGReg rs) 651 static void tcg_out_ext16s(TCGContext *s, TCGType type, TCGReg rd, TCGReg rs) 685 static bool tcg_out_xchg(TCGContext *s, TCGType type, TCGReg r1, TCGReg r2) 796 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg arg, 806 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, 816 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val, [all …]
|
/openbmc/qemu/tcg/arm/ |
H A D | tcg-target.c.inc | 505 TCGType type, TCGCond cond, int vece) 947 static void tcg_out_ext8s(TCGContext *s, TCGType t, TCGReg rd, TCGReg rn) 958 static void tcg_out_ext16s(TCGContext *s, TCGType t, TCGReg rd, TCGReg rn) 1634 MemOpIdx oi, TCGType data_type) 1720 MemOpIdx oi, TCGType data_type) 2326 static void tcg_out_ld(TCGContext *s, TCGType type, TCGReg arg, 2351 static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, 2371 static bool tcg_out_sti(TCGContext *s, TCGType type, TCGArg val, 2377 static bool tcg_out_mov(TCGContext *s, TCGType type, TCGReg ret, TCGReg arg) 2401 static void tcg_out_movi(TCGContext *s, TCGType type, [all …]
|