/qemu/include/tcg/ |
H A D | tcg-cond.h | 60 } TCGCond; typedef 63 static inline TCGCond tcg_invert_cond(TCGCond c) in tcg_invert_cond() 65 return (TCGCond)(c ^ 1); in tcg_invert_cond() 69 static inline TCGCond tcg_swap_cond(TCGCond c) in tcg_swap_cond() 71 return (TCGCond)(c ^ ((c & 2) << 1)); in tcg_swap_cond() 93 static inline TCGCond tcg_unsigned_cond(TCGCond c) in tcg_unsigned_cond() 99 static inline TCGCond tcg_signed_cond(TCGCond c) in tcg_signed_cond() 105 static inline TCGCond tcg_tst_eqne_cond(TCGCond c) in tcg_tst_eqne_cond() 111 static inline TCGCond tcg_tst_ltge_cond(TCGCond c) in tcg_tst_ltge_cond() 120 static inline TCGCond tcg_high_cond(TCGCond c) in tcg_high_cond() [all …]
|
H A D | tcg-op-common.h | 124 void tcg_gen_setcond_i32(TCGCond cond, TCGv_i32 ret, 126 void tcg_gen_setcondi_i32(TCGCond cond, TCGv_i32 ret, 128 void tcg_gen_negsetcond_i32(TCGCond cond, TCGv_i32 ret, 130 void tcg_gen_negsetcondi_i32(TCGCond cond, TCGv_i32 ret, 132 void tcg_gen_movcond_i32(TCGCond cond, TCGv_i32 ret, TCGv_i32 c1, 227 void tcg_gen_setcond_i64(TCGCond cond, TCGv_i64 ret, 229 void tcg_gen_setcondi_i64(TCGCond cond, TCGv_i64 ret, 231 void tcg_gen_negsetcond_i64(TCGCond cond, TCGv_i64 ret, 233 void tcg_gen_negsetcondi_i64(TCGCond cond, TCGv_i64 ret, 235 void tcg_gen_movcond_i64(TCGCond cond, TCGv_i64 ret, TCGv_i64 c1, [all …]
|
H A D | tcg-op-gvec-common.h | 376 void tcg_gen_gvec_cmp(TCGCond cond, unsigned vece, uint32_t dofs, 379 void tcg_gen_gvec_cmpi(TCGCond cond, unsigned vece, uint32_t dofs, 382 void tcg_gen_gvec_cmps(TCGCond cond, unsigned vece, uint32_t dofs,
|
/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_branch.c.inc | 36 target_long offs, TCGCond cond) 46 static bool gen_rr_bc(DisasContext *ctx, arg_rr_offs *a, TCGCond cond) 55 static bool gen_rz_bc(DisasContext *ctx, arg_r_offs *a, TCGCond cond) 64 static bool gen_cz_bc(DisasContext *ctx, arg_c_offs *a, TCGCond cond)
|
/qemu/target/hexagon/ |
H A D | genptr.c | 473 TCGCond cond, TCGv pred) in gen_write_new_pc_addr() 497 TCGCond cond, TCGv pred) in gen_write_new_pc_pcrel() 537 static void gen_compare(TCGCond cond, TCGv res, TCGv arg1, TCGv arg2) in gen_compare() 595 TCGCond cond, TCGv pred) in gen_cond_jumpr() 600 static void gen_cond_jumpr31(DisasContext *ctx, TCGCond cond, TCGv pred) in gen_cond_jumpr31() 607 static void gen_cond_jump(DisasContext *ctx, TCGCond cond, TCGv pred, in gen_cond_jump() 615 TCGCond cond2, int pc_off) in gen_cmpnd_cmp_jmp() 686 TCGv arg, TCGCond cond, int pc_off) in gen_testbit0_jumpnv() 718 TCGCond cond, int pc_off) in gen_cond_call() 731 TCGCond cond, TCGv pred, TCGv new_pc) in gen_cond_callr() [all …]
|
H A D | translate.h | 68 TCGCond branch_cond;
|
/qemu/tcg/ |
H A D | tci.c | 137 TCGReg *r0, TCGReg *r1, TCGReg *r2, TCGCond *c3) in tci_args_rrrc() 175 TCGReg *r2, TCGReg *r3, TCGReg *r4, TCGCond *c5) in tci_args_rrrrrc() 196 static bool tci_compare32(uint32_t u0, uint32_t u1, TCGCond condition) in tci_compare32() 244 static bool tci_compare64(uint64_t u0, uint64_t u1, TCGCond condition) in tci_compare64() 377 TCGCond condition; in tcg_qemu_tb_exec() 1042 static const char *str_c(TCGCond c) in str_c() 1077 TCGCond c; in print_insn_tci()
|
H A D | optimize.c | 612 static bool do_constant_folding_cond_32(uint32_t x, uint32_t y, TCGCond c) in do_constant_folding_cond_32() 646 static bool do_constant_folding_cond_64(uint64_t x, uint64_t y, TCGCond c) in do_constant_folding_cond_64() 680 static int do_constant_folding_cond_eq(TCGCond c) in do_constant_folding_cond_eq() 710 TCGArg y, TCGCond c) in do_constant_folding_cond() 795 TCGCond cond; in do_constant_folding_cond1() 852 TCGCond c; in do_constant_folding_cond2() 1360 TCGCond cond; in fold_brcond2() 1877 TCGCond cond = op->args[5]; in fold_movcond() 2105 TCGCond cond; in fold_setcond_zmask() 2208 TCGCond cond = op->args[3]; in fold_setcond_tst_pow2() [all …]
|
H A D | tcg-op.c | 505 void tcg_gen_brcond_i32(TCGCond cond, TCGv_i32 arg1, TCGv_i32 arg2, TCGLabel *l) in tcg_gen_brcond_i32() 524 void tcg_gen_setcond_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_setcond_i32() 536 void tcg_gen_setcondi_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_setcondi_i32() 542 void tcg_gen_negsetcond_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_negsetcond_i32() 557 void tcg_gen_negsetcondi_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_negsetcondi_i32() 1128 void tcg_gen_movcond_i32(TCGCond cond, TCGv_i32 ret, TCGv_i32 c1, in tcg_gen_movcond_i32() 1958 void tcg_gen_setcond_i64(TCGCond cond, TCGv_i64 ret, in tcg_gen_setcond_i64() 1977 void tcg_gen_setcondi_i64(TCGCond cond, TCGv_i64 ret, in tcg_gen_setcondi_i64() 1995 void tcg_gen_negsetcondi_i64(TCGCond cond, TCGv_i64 ret, in tcg_gen_negsetcondi_i64() 2001 void tcg_gen_negsetcond_i64(TCGCond cond, TCGv_i64 ret, in tcg_gen_negsetcond_i64() [all …]
|
H A D | tcg-op-vec.c | 505 void tcg_gen_cmp_vec(TCGCond cond, unsigned vece, in tcg_gen_cmp_vec() 641 TCGv_vec b, TCGOpcode opc, TCGCond cond) in do_minmax() 766 void tcg_gen_cmpsel_vec(TCGCond cond, unsigned vece, TCGv_vec r, in tcg_gen_cmpsel_vec()
|
H A D | tcg-op-gvec.c | 3666 uint32_t oprsz, TCGCond cond) in expand_cmp_i32() 3683 uint32_t oprsz, TCGCond cond) in expand_cmp_i64() 3701 TCGType type, TCGCond cond) in expand_cmp_vec() 3715 void tcg_gen_gvec_cmp(TCGCond cond, unsigned vece, uint32_t dofs, in tcg_gen_gvec_cmp() 3829 TCGCond cond, TCGv_vec c) in expand_cmps_vec() 3842 void tcg_gen_gvec_cmps(TCGCond cond, unsigned vece, uint32_t dofs, in tcg_gen_gvec_cmps() 3968 void tcg_gen_gvec_cmpi(TCGCond cond, unsigned vece, uint32_t dofs, in tcg_gen_gvec_cmpi()
|
/qemu/target/riscv/insn_trans/ |
H A D | trans_rvzicond.c.inc | 27 static void gen_czero(TCGv dest, TCGv src1, TCGv src2, TCGCond cond)
|
H A D | trans_rvi.c.inc | 89 static TCGCond gen_compare_i128(bool bz, TCGv rl, 91 TCGCond cond) 154 TCGCond cond) 161 static bool gen_branch(DisasContext *ctx, arg_b *a, TCGCond cond)
|
/qemu/accel/tcg/ |
H A D | plugin-gen.c | 138 static TCGCond plugin_cond_to_tcgcond(enum qemu_plugin_cond cond) in plugin_cond_to_tcgcond() 166 TCGCond cond = tcg_invert_cond(plugin_cond_to_tcgcond(cb->cond)); in gen_udata_cond_cb()
|
/qemu/target/hexagon/idef-parser/ |
H A D | parser-helpers.h | 184 TCGCond type, 350 const char *cond_to_str(TCGCond cond);
|
/qemu/tcg/sparc64/ |
H A D | tcg-target.c.inc | 326 TCGType type, TCGCond cond, int vece) 651 static void tcg_out_cmp(TCGContext *s, TCGCond cond, 658 static void tcg_out_brcond_i32(TCGContext *s, TCGCond cond, TCGReg arg1, 666 static void tcg_out_movcc(TCGContext *s, TCGCond cond, int cc, TCGReg ret, 674 static void tcg_out_movcond_i32(TCGContext *s, TCGCond cond, TCGReg ret, 682 static void tcg_out_brcond_i64(TCGContext *s, TCGCond cond, TCGReg arg1, 711 static void tcg_out_movcond_i64(TCGContext *s, TCGCond cond, TCGReg ret, 727 static void tcg_out_setcond_i32(TCGContext *s, TCGCond cond, TCGReg ret, 801 static void tcg_out_setcond_i64(TCGContext *s, TCGCond cond, TCGReg ret,
|
/qemu/tcg/riscv/ |
H A D | tcg-target.c.inc | 149 TCGType type, TCGCond cond, int vece) 799 static void tcg_out_brcond(TCGContext *s, TCGCond cond, TCGReg arg1, 820 static int tcg_out_setcond_int(TCGContext *s, TCGCond cond, TCGReg ret, 913 static void tcg_out_setcond(TCGContext *s, TCGCond cond, TCGReg ret, 940 static void tcg_out_negsetcond(TCGContext *s, TCGCond cond, TCGReg ret, 1023 static void tcg_out_movcond_br1(TCGContext *s, TCGCond cond, TCGReg ret, 1046 static void tcg_out_movcond_br2(TCGContext *s, TCGCond cond, TCGReg ret, 1075 static void tcg_out_movcond(TCGContext *s, TCGCond cond, TCGReg ret,
|
/qemu/target/alpha/ |
H A D | translate.c | 472 static DisasJumpType gen_bcond_internal(DisasContext *ctx, TCGCond cond, in gen_bcond_internal() 485 static DisasJumpType gen_bcond(DisasContext *ctx, TCGCond cond, int ra, in gen_bcond() 494 static TCGv_i64 gen_fold_mzero(TCGCond *pcond, uint64_t *pimm, TCGv_i64 src) in gen_fold_mzero() 526 static DisasJumpType gen_fbcond(DisasContext *ctx, TCGCond cond, int ra, in gen_fbcond() 534 static void gen_fcmov(DisasContext *ctx, TCGCond cond, int ra, int rb, int rc) in gen_fcmov()
|
/qemu/target/mips/tcg/ |
H A D | msa_translate.c | 197 TCGCond cond) in gen_check_zero_element() 219 static bool gen_msa_BxZ_V(DisasContext *ctx, int wt, int sa, TCGCond cond) in gen_msa_BxZ_V()
|
H A D | tx79_translate.c | 235 TCGCond cond, unsigned wlen) in trans_parallel_compare()
|
/qemu/tcg/mips/ |
H A D | tcg-target.c.inc | 192 TCGType type, TCGCond cond, int vece) 879 static int tcg_out_setcond_int(TCGContext *s, TCGCond cond, TCGReg ret, 947 static void tcg_out_setcond(TCGContext *s, TCGCond cond, TCGReg ret, 954 static void tcg_out_brcond(TCGContext *s, TCGCond cond, TCGReg arg1, 1000 static int tcg_out_setcond2_int(TCGContext *s, TCGCond cond, TCGReg ret, 1027 static void tcg_out_setcond2(TCGContext *s, TCGCond cond, TCGReg ret, 1034 static void tcg_out_brcond2(TCGContext *s, TCGCond cond, TCGReg al, TCGReg ah, 1046 static void tcg_out_movcond(TCGContext *s, TCGCond cond, TCGReg ret,
|
/qemu/tcg/tci/ |
H A D | tcg-target.c.inc | 384 TCGReg r0, TCGReg r1, TCGReg r2, TCGCond c3) 441 TCGReg r3, TCGReg r4, TCGCond c5) 917 TCGType type, TCGCond cond, int vece)
|
/qemu/target/hppa/ |
H A D | translate.c | 40 TCGCond c; 365 static DisasCond cond_make_tt(TCGCond c, TCGv_i64 a0, TCGv_i64 a1) in cond_make_tt() 371 static DisasCond cond_make_ti(TCGCond c, TCGv_i64 a0, uint64_t imm) in cond_make_ti() 376 static DisasCond cond_make_vi(TCGCond c, TCGv_i64 a0, uint64_t imm) in cond_make_vi() 383 static DisasCond cond_make_vv(TCGCond c, TCGv_i64 a0, TCGv_i64 a1) in cond_make_vv() 837 TCGCond sign_cond, zero_cond; in do_cond() 916 TCGCond tc; in do_sub_cond() 975 TCGCond tc; in do_log_cond() 1927 TCGCond c = cond->c; in do_cbranch() 4370 TCGCond tc = TCG_COND_TSTNE; in trans_ftest()
|
/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 553 TCGType type, TCGCond cond, int vece) 1245 static int tgen_cmp2(TCGContext *s, TCGType type, TCGCond c, TCGReg r1, 1249 TCGCond inv_c = tcg_invert_cond(c); 1347 static int tgen_cmp(TCGContext *s, TCGType type, TCGCond c, TCGReg r1, 1354 static void tgen_setcond(TCGContext *s, TCGType type, TCGCond cond, 1488 static void tgen_movcond(TCGContext *s, TCGType type, TCGCond c, TCGReg dest, 1603 static void tgen_brcond(TCGContext *s, TCGType type, TCGCond c, 2962 switch ((TCGCond)args[3]) { 3043 TCGv_vec v1, TCGv_vec v2, TCGCond cond) 3085 TCGv_vec v1, TCGv_vec v2, TCGCond cond) [all …]
|
/qemu/tcg/loongarch64/ |
H A D | tcg-target.c.inc | 187 TCGType type, TCGCond cond, int vece) 549 static int tcg_out_setcond_int(TCGContext *s, TCGCond cond, TCGReg ret, 645 static void tcg_out_setcond(TCGContext *s, TCGCond cond, TCGReg ret, 672 static void tcg_out_movcond(TCGContext *s, TCGCond cond, TCGReg ret, 716 static void tcg_out_brcond(TCGContext *s, TCGCond cond, TCGReg arg1, 1925 TCGCond cond = args[3];
|