| /openbmc/qemu/tcg/ |
| H A D | tcg-internal.h | 95 TCGOp *tcg_gen_op1(TCGOpcode, TCGType, TCGArg); 96 TCGOp *tcg_gen_op2(TCGOpcode, TCGType, TCGArg, TCGArg); 97 TCGOp *tcg_gen_op3(TCGOpcode, TCGType, TCGArg, TCGArg, TCGArg); 98 TCGOp *tcg_gen_op4(TCGOpcode, TCGType, TCGArg, TCGArg, TCGArg, TCGArg); 99 TCGOp *tcg_gen_op5(TCGOpcode, TCGType, TCGArg, TCGArg, TCGArg, TCGArg, TCGArg); 100 TCGOp *tcg_gen_op6(TCGOpcode, TCGType, TCGArg, TCGArg, 103 void vec_gen_2(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg); 104 void vec_gen_3(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg); 105 void vec_gen_4(TCGOpcode, TCGType, unsigned, TCGArg, TCGArg, TCGArg, TCGArg); 106 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, [all …]
|
| H A D | tcg-op-vec.c | 46 static void tcg_assert_listed_vecop(TCGOpcode op) in tcg_assert_listed_vecop() 49 const TCGOpcode *p = tcg_ctx->vecop_list; in tcg_assert_listed_vecop() 61 bool tcg_can_emit_vecop_list(const TCGOpcode *list, in tcg_can_emit_vecop_list() 69 TCGOpcode opc = *list; in tcg_can_emit_vecop_list() 144 void vec_gen_2(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, TCGArg a) in vec_gen_2() 153 void vec_gen_3(TCGOpcode opc, TCGType type, unsigned vece, in vec_gen_3() 164 void vec_gen_4(TCGOpcode opc, TCGType type, unsigned vece, in vec_gen_4() 176 void vec_gen_6(TCGOpcode opc, TCGType type, unsigned vece, TCGArg r, in vec_gen_6() 190 static void vec_gen_op2(TCGOpcode opc, unsigned vece, TCGv_vec r, TCGv_vec a) in vec_gen_op2() 201 static void vec_gen_op3(TCGOpcode opc, unsigned vece, in vec_gen_op3() [all …]
|
| H A D | tcg-op-gvec.c | 31 static const TCGOpcode vecop_list_empty[1] = { 0 }; 476 static TCGType choose_vector_type(const TCGOpcode *list, unsigned vece, in choose_vector_type() 1239 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_2_var() 1240 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_2_var() 1312 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_2i() 1313 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_2i() 1391 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_2s() 1392 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_2s() 1460 const TCGOpcode *this_list = g->opt_opc ? : vecop_list_empty; in tcg_gen_gvec_3_var() 1461 const TCGOpcode *hold_list = tcg_swap_vecop_list(this_list); in tcg_gen_gvec_3_var() [all …]
|
| H A D | tcg-op.c | 40 TCGOp * NI tcg_gen_op1(TCGOpcode opc, TCGType type, TCGArg a1) in tcg_gen_op1() 48 TCGOp * NI tcg_gen_op2(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2) in tcg_gen_op2() 57 TCGOp * NI tcg_gen_op3(TCGOpcode opc, TCGType type, TCGArg a1, in tcg_gen_op3() 68 TCGOp * NI tcg_gen_op4(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2, in tcg_gen_op4() 80 TCGOp * NI tcg_gen_op5(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2, in tcg_gen_op5() 93 TCGOp * NI tcg_gen_op6(TCGOpcode opc, TCGType type, TCGArg a1, TCGArg a2, in tcg_gen_op6() 117 static void DNI tcg_gen_op1_i32(TCGOpcode opc, TCGType type, TCGv_i32 a1) in tcg_gen_op1_i32() 122 static void DNI tcg_gen_op1_i64(TCGOpcode opc, TCGType type, TCGv_i64 a1) in tcg_gen_op1_i64() 127 static TCGOp * DNI tcg_gen_op1i(TCGOpcode opc, TCGType type, TCGArg a1) in tcg_gen_op1i() 132 static void DNI tcg_gen_op2_i32(TCGOpcode opc, TCGv_i32 a1, TCGv_i32 a2) in tcg_gen_op2_i32() [all …]
|
| H A D | optimize.c | 346 TCGOpcode opc, unsigned narg) in opt_insert_after() 352 TCGOpcode opc, unsigned narg) in opt_insert_before() 363 TCGOpcode new_op; in tcg_opt_gen_mov() 427 static uint64_t do_constant_folding_2(TCGOpcode op, TCGType type, in do_constant_folding_2() 591 static uint64_t do_constant_folding(TCGOpcode op, TCGType type, in do_constant_folding() 1145 TCGOpcode not_op; in fold_to_not() 2759 TCGOpcode neg_op; in fold_sub_to_neg() 3117 TCGOpcode opc = op->opc; in tcg_optimize()
|
| H A D | tcg.c | 149 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 169 static inline void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, in tcg_out_vec_op() 176 int tcg_can_emit_vec_op(TCGOpcode o, TCGType t, unsigned ve) in tcg_can_emit_vec_op() 872 static TCGConstraintSetIndex tcg_target_op_def(TCGOpcode, TCGType, unsigned); 2419 bool tcg_op_supported(TCGOpcode op, TCGType type, unsigned flags) in tcg_op_supported() 2616 static TCGOp *tcg_op_alloc(TCGOpcode opc, unsigned nargs); 2942 TCGOpcode c; in tcg_dump_ops() 3511 TCGOpcode opc = op->opc; in opcode_args_ct() 3588 static TCGOp *tcg_op_alloc(TCGOpcode opc, unsigned nargs) in tcg_op_alloc() 3619 TCGOp *tcg_emit_op(TCGOpcode opc, unsigned nargs) in tcg_emit_op() [all …]
|
| H A D | tci.c | 349 TCGOpcode opc; in tcg_qemu_tb_exec() 881 TCGOpcode op; in print_insn_tci()
|
| H A D | tcg-op-ldst.c | 92 static void gen_ldst1(TCGOpcode opc, TCGType type, TCGTemp *v, in gen_ldst1() 99 static void gen_ldst2(TCGOpcode opc, TCGType type, TCGTemp *vl, TCGTemp *vh, in gen_ldst2()
|
| /openbmc/qemu/include/tcg/ |
| H A D | tcg.h | 68 typedef enum TCGOpcode { enum 73 } TCGOpcode; typedef 324 TCGOpcode opc : 8; 382 const TCGOpcode *vecop_list; 790 bool tcg_op_supported(TCGOpcode op, TCGType type, unsigned flags); 815 TCGOp *tcg_emit_op(TCGOpcode opc, unsigned nargs); 978 int tcg_can_emit_vec_op(TCGOpcode, TCGType, unsigned); 981 void tcg_expand_vec_op(TCGOpcode, TCGType, unsigned, TCGArg, ...); 995 static inline const TCGOpcode *tcg_swap_vecop_list(const TCGOpcode *n) in tcg_swap_vecop_list() 998 const TCGOpcode *o = tcg_ctx->vecop_list; in tcg_swap_vecop_list() [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 | 40 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags) 120 static void tcg_out_op_l(TCGContext *s, TCGOpcode op, TCGLabel *l0) 129 static void tcg_out_op_p(TCGContext *s, TCGOpcode op, void *p0) 149 static void tcg_out_op_r(TCGContext *s, TCGOpcode op, TCGReg r0) 158 static void tcg_out_op_v(TCGContext *s, TCGOpcode op) 163 static void tcg_out_op_ri(TCGContext *s, TCGOpcode op, TCGReg r0, int32_t i1) 174 static void tcg_out_op_rl(TCGContext *s, TCGOpcode op, TCGReg r0, TCGLabel *l1) 184 static void tcg_out_op_rr(TCGContext *s, TCGOpcode op, TCGReg r0, TCGReg r1) 194 static void tcg_out_op_rrm(TCGContext *s, TCGOpcode op, 207 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 | 3659 static const TCGOpcode vecop_list[] = { INDEX_op_sub_vec, 0 }; in trans_SUBR_zzi() 6923 static const TCGOpcode sshll_list[] = { 6943 static const TCGOpcode ushll_list[] = { 7060 static const TCGOpcode sqxtn_list[] = { 7124 static const TCGOpcode uqxtn_list[] = { 7182 static const TCGOpcode sqxtun_list[] = { 7291 static const TCGOpcode shrnb_vec_list[] = { INDEX_op_shri_vec, 0 }; 7347 static const TCGOpcode shrnt_vec_list[] = { INDEX_op_shli_vec, 0 }; 7395 static const TCGOpcode sqshrunb_vec_list[] = { 7428 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 | 2182 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 2492 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 2529 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 2536 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags)
|
| /openbmc/qemu/tcg/s390x/ |
| H A D | tcg-target.c.inc | 3340 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 3482 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 3531 TCGv_vec v1, TCGv_vec v2, TCGOpcode add_sub_opc) 3567 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 3600 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags)
|
| /openbmc/qemu/tcg/riscv/ |
| H A D | tcg-target.c.inc | 2645 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 2816 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 2822 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 2863 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags)
|
| /openbmc/qemu/tcg/aarch64/ |
| H A D | tcg-target.c.inc | 2896 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 3223 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 3265 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 3337 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags)
|
| /openbmc/qemu/tcg/arm/ |
| H A D | tcg-target.c.inc | 2645 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags) 3038 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 3246 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 3287 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece,
|
| /openbmc/qemu/tcg/ppc/ |
| H A D | tcg-target.c.inc | 3831 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 4152 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 4323 TCGv_vec v1, TCGArg imm, TCGOpcode opci) 4392 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece, 4435 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags)
|
| /openbmc/qemu/tcg/i386/ |
| H A D | tcg-target.c.inc | 3811 static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, 4145 tcg_target_op_def(TCGOpcode op, TCGType type, unsigned flags) 4220 int tcg_can_emit_vec_op(TCGOpcode opc, TCGType type, unsigned vece) 4590 void tcg_expand_vec_op(TCGOpcode opc, TCGType type, unsigned vece,
|
| /openbmc/qemu/target/sparc/ |
| H A D | translate.c | 946 static const TCGOpcode vecop_list[] = { in gen_op_fchksm16() 974 static const TCGOpcode vecop_list[] = { in gen_op_fmean16()
|