/openbmc/qemu/tcg/ |
H A D | tcg-internal.h | 95 TCGOp *tcg_gen_op1(TCGOpcode, TCGArg); 96 TCGOp *tcg_gen_op2(TCGOpcode, TCGArg, TCGArg); 97 TCGOp *tcg_gen_op3(TCGOpcode, TCGArg, TCGArg, TCGArg); 98 TCGOp *tcg_gen_op4(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg); 99 TCGOp *tcg_gen_op5(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg); 100 TCGOp *tcg_gen_op6(TCGOpcode, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg); 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 | 45 static void tcg_assert_listed_vecop(TCGOpcode op) in tcg_assert_listed_vecop() 48 const TCGOpcode *p = tcg_ctx->vecop_list; in tcg_assert_listed_vecop() 60 bool tcg_can_emit_vecop_list(const TCGOpcode *list, in tcg_can_emit_vecop_list() 68 TCGOpcode opc = *list; 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() 189 static void vec_gen_op2(TCGOpcode opc, unsigned vece, TCGv_vec r, TCGv_vec a) in vec_gen_op2() 200 static void vec_gen_op3(TCGOpcode opc, unsigned vece, in vec_gen_op3() [all …]
|
H A D | tcg-op-gvec.c | 30 static const TCGOpcode vecop_list_empty[1] = { 0 }; 448 static TCGType choose_vector_type(const TCGOpcode *list, unsigned vece, in choose_vector_type() 1201 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_2() 1202 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_2() 1265 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_2i() 1266 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_2i() 1344 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_2s() 1345 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_2s() 1411 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_3() 1412 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_3() [all …]
|
H A D | tcg-op.c | 40 TCGOp * NI tcg_gen_op1(TCGOpcode opc, TCGArg a1) in tcg_gen_op1() 47 TCGOp * NI tcg_gen_op2(TCGOpcode opc, TCGArg a1, TCGArg a2) in tcg_gen_op2() 55 TCGOp * NI tcg_gen_op3(TCGOpcode opc, TCGArg a1, TCGArg a2, TCGArg a3) in tcg_gen_op3() 64 TCGOp * NI tcg_gen_op4(TCGOpcode opc, TCGArg a1, TCGArg a2, in tcg_gen_op4() 75 TCGOp * NI tcg_gen_op5(TCGOpcode opc, TCGArg a1, TCGArg a2, in tcg_gen_op5() 87 TCGOp * NI tcg_gen_op6(TCGOpcode opc, TCGArg a1, TCGArg a2, TCGArg a3, in tcg_gen_op6() 110 static void DNI tcg_gen_op1_i32(TCGOpcode opc, TCGv_i32 a1) in tcg_gen_op1_i32() 115 static void DNI tcg_gen_op1_i64(TCGOpcode opc, TCGv_i64 a1) in tcg_gen_op1_i64() 120 static TCGOp * DNI tcg_gen_op1i(TCGOpcode opc, TCGArg a1) in tcg_gen_op1i() 125 static void DNI tcg_gen_op2_i32(TCGOpcode opc, TCGv_i32 a1, TCGv_i32 a2) in tcg_gen_op2_i32() [all …]
|
H A D | tcg-op-ldst.c | 90 static void gen_ldst(TCGOpcode opc, TCGTemp *vl, TCGTemp *vh, in gen_ldst() 113 static void gen_ldst_i64(TCGOpcode opc, TCGv_i64 v, TCGTemp *addr, MemOpIdx oi) in gen_ldst_i64() 232 TCGOpcode opc; in tcg_gen_qemu_ld_i32_int() 286 TCGOpcode opc; in tcg_gen_qemu_st_i32_int() 344 TCGOpcode opc; in tcg_gen_qemu_ld_i64_int() 412 TCGOpcode opc; in tcg_gen_qemu_st_i64_int() 560 TCGOpcode opc; in tcg_gen_qemu_ld_i128_int() 677 TCGOpcode opc; in tcg_gen_qemu_st_i128_int()
|
H A D | optimize.c | 380 TCGOpcode new_op; in tcg_opt_gen_mov() 439 static uint64_t do_constant_folding_2(TCGOpcode op, uint64_t x, uint64_t y) in do_constant_folding_2() 602 static uint64_t do_constant_folding(TCGOpcode op, TCGType type, in do_constant_folding() 833 TCGOpcode and_opc = (ctx->type == TCG_TYPE_I32 in do_constant_folding_cond1() 1085 TCGOpcode not_op; in fold_to_not() 1594 TCGOpcode and_opc; in fold_deposit() 1881 TCGOpcode opc, negopc = 0; in fold_movcond() 2172 TCGOpcode add_opc, xor_opc, neg_opc; in fold_setcond_zmask() 2211 TCGOpcode and_opc, sub_opc, xor_opc, neg_opc, shr_opc; in fold_setcond_tst_pow2() 2212 TCGOpcode uext_opc = 0, sext_opc = 0; in fold_setcond_tst_pow2() [all …]
|
H A D | tcg.c | 131 static void tcg_out_op(TCGContext *s, TCGOpcode opc, 141 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 161 static inline void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, in tcg_out_vec_op() 670 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode); 1936 bool tcg_op_supported(TCGOpcode op) in tcg_op_supported() 2239 static TCGOp *tcg_op_alloc(TCGOpcode opc, unsigned nargs); 2565 TCGOpcode c; in tcg_dump_ops() 2950 TCGOpcode op; in process_op_defs() 3204 static TCGOp *tcg_op_alloc(TCGOpcode opc, unsigned nargs) in tcg_op_alloc() 3235 TCGOp *tcg_emit_op(TCGOpcode opc, unsigned nargs) in tcg_emit_op() [all …]
|
H A D | tci.c | 374 TCGOpcode opc; in tcg_qemu_tb_exec() 1073 TCGOpcode op; in print_insn_tci()
|
/openbmc/qemu/include/tcg/ |
H A D | tcg.h | 172 typedef enum TCGOpcode { enum 177 } TCGOpcode; typedef 419 TCGOpcode opc : 8; 481 const TCGOpcode *vecop_list; 832 TCGOpcode op; 836 bool tcg_op_supported(TCGOpcode op); 855 TCGOp *tcg_emit_op(TCGOpcode opc, unsigned nargs); 858 TCGOpcode opc, unsigned nargs); 860 TCGOpcode opc, unsigned nargs); 1023 int tcg_can_emit_vec_op(TCGOpcode, TCGType, unsigned); [all …]
|
H A D | tcg-op-gvec-common.h | 93 const TCGOpcode *opt_opc; 116 const TCGOpcode *opt_opc; 135 const TCGOpcode *opt_opc; 156 const TCGOpcode *opt_opc; 179 const TCGOpcode *opt_opc; 200 const TCGOpcode *opt_opc; 223 const TCGOpcode *opt_opc;
|
/openbmc/qemu/tcg/tci/ |
H A D | tcg-target.c.inc | 27 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op) 256 static void tcg_out_op_l(TCGContext *s, TCGOpcode op, TCGLabel *l0) 265 static void tcg_out_op_p(TCGContext *s, TCGOpcode op, void *p0) 285 static void tcg_out_op_r(TCGContext *s, TCGOpcode op, TCGReg r0) 294 static void tcg_out_op_v(TCGContext *s, TCGOpcode op) 299 static void tcg_out_op_ri(TCGContext *s, TCGOpcode op, TCGReg r0, int32_t i1) 310 static void tcg_out_op_rl(TCGContext *s, TCGOpcode op, TCGReg r0, TCGLabel *l1) 320 static void tcg_out_op_rr(TCGContext *s, TCGOpcode op, TCGReg r0, TCGReg r1) 330 static void tcg_out_op_rrm(TCGContext *s, TCGOpcode op, 343 static void tcg_out_op_rrr(TCGContext *s, TCGOpcode op, [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | gengvec.c | 143 static const TCGOpcode vecop_list[] = { in gen_gvec_ssra() 219 static const TCGOpcode vecop_list[] = { in gen_gvec_usra() 330 static const TCGOpcode vecop_list[] = { in gen_gvec_srshr() 417 static const TCGOpcode vecop_list[] = { in gen_gvec_srsra() 524 static const TCGOpcode vecop_list[] = { in gen_gvec_urshr() 630 static const TCGOpcode vecop_list[] = { in gen_gvec_ursra() 716 static const TCGOpcode vecop_list[] = { INDEX_op_shri_vec, 0 }; in gen_gvec_sri() 803 static const TCGOpcode vecop_list[] = { INDEX_op_shli_vec, 0 }; in gen_gvec_sli() 909 static const TCGOpcode vecop_list[] = { in gen_gvec_mla() 941 static const TCGOpcode vecop_list[] = { in gen_gvec_mls() [all …]
|
H A D | gengvec64.c | 40 static const TCGOpcode vecop_list[] = { INDEX_op_rotli_vec, 0 }; in gen_gvec_rax1() 100 static const TCGOpcode vecop[] = { INDEX_op_rotli_vec, 0 }; in gen_gvec_xar() 246 static const TCGOpcode vecop_list[] = { in gen_gvec_suqadd_qc() 339 static const TCGOpcode vecop_list[] = { in gen_gvec_usqadd_qc()
|
H A D | translate-sve.c | 3300 static const TCGOpcode vecop_list[] = { INDEX_op_sub_vec, 0 }; in trans_SUBR_zzi() 6177 static const TCGOpcode sshll_list[] = { 6197 static const TCGOpcode ushll_list[] = { 6314 static const TCGOpcode sqxtn_list[] = { 6378 static const TCGOpcode uqxtn_list[] = { 6436 static const TCGOpcode sqxtun_list[] = { 6545 static const TCGOpcode shrnb_vec_list[] = { INDEX_op_shri_vec, 0 }; 6601 static const TCGOpcode shrnt_vec_list[] = { INDEX_op_shli_vec, 0 }; 6649 static const TCGOpcode sqshrunb_vec_list[] = { 6682 static const TCGOpcode sqshrunt_vec_list[] = { [all …]
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_vec.c.inc | 551 static const TCGOpcode vecop_list[] = { 634 static const TCGOpcode vecop_list[] = { 722 static const TCGOpcode vecop_list[] = { 805 static const TCGOpcode vecop_list[] = { 884 static const TCGOpcode vecop_list[] = { 967 static const TCGOpcode vecop_list[] = { 1046 static const TCGOpcode vecop_list[] = { 1129 static const TCGOpcode vecop_list[] = { 1216 static const TCGOpcode vecop_list[] = { 1300 static const TCGOpcode vecop_list[] = { [all …]
|
/openbmc/qemu/target/ppc/translate/ |
H A D | vmx-impl.c.inc | 793 static const TCGOpcode vecop_list[] = { 846 static const TCGOpcode vecop_list[] = { 1213 static const TCGOpcode vecop_list[] = { 1480 static const TCGOpcode vecop_list[] = { 2319 static const TCGOpcode vecop_list[] = { 2413 static const TCGOpcode vecop_list[] = { 2853 static const TCGOpcode vecop_list[] = { 2926 static const TCGOpcode vecop_list_sub_u[] = { 2929 static const TCGOpcode vecop_list_sub_s[] = { 2932 static const TCGOpcode vecop_list_add_u[] = { [all …]
|
H A D | vsx-impl.c.inc | 719 static const TCGOpcode vecop_list[] = { 768 static const TCGOpcode vecop_list[] = { 1102 static const TCGOpcode vecop_list[] = { 2485 static const TCGOpcode vecop_list[] = { 2619 static const TCGOpcode vecop_list[] = {
|
/openbmc/qemu/tcg/loongarch64/ |
H A D | tcg-target.c.inc | 1273 static void tcg_out_op(TCGContext *s, TCGOpcode opc, 1827 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 2143 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 2180 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 2186 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
|
/openbmc/qemu/tcg/arm/ |
H A D | tcg-target.c.inc | 1802 static void tcg_out_op(TCGContext *s, TCGOpcode opc, 2121 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op) 2604 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 2812 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 2853 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece,
|
/openbmc/qemu/tcg/riscv/ |
H A D | tcg-target.c.inc | 1957 static void tcg_out_op(TCGContext *s, TCGOpcode opc, 2363 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 2534 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 2540 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 2580 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
|
/openbmc/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 2114 static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, 2945 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 3087 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 3136 TCGv_vec v1, TCGv_vec v2, TCGOpcode add_sub_opc) 3172 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 3204 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 2107 static void tcg_out_op(TCGContext *s, TCGOpcode opc, 2514 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 2841 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 2883 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 2954 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
|
/openbmc/qemu/tcg/ppc/ |
H A D | tcg-target.c.inc | 2945 static void tcg_out_op(TCGContext *s, TCGOpcode opc, 3542 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 3863 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 4034 TCGv_vec v1, TCGArg imm, TCGOpcode opci) 4103 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 4145 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
|
/openbmc/qemu/tcg/sparc64/ |
H A D | tcg-target.c.inc | 1284 static void tcg_out_op(TCGContext *s, TCGOpcode opc, 1528 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op)
|
/openbmc/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 2598 static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, 3280 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 3613 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode op) 3875 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 4245 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece,
|