/openbmc/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() 75 static inline bool is_signed_cond(TCGCond c) in is_signed_cond() 81 static inline bool is_unsigned_cond(TCGCond c) in is_unsigned_cond() 87 static inline bool is_tst_cond(TCGCond c) in is_tst_cond() 93 static inline TCGCond tcg_unsigned_cond(TCGCond c) in tcg_unsigned_cond() 95 return is_signed_cond(c) ? (TCGCond)(c + 8) : c; in tcg_unsigned_cond() [all …]
|
H A D | tcg-op-common.h | 122 void tcg_gen_brcond_i32(TCGCond cond, TCGv_i32 arg1, TCGv_i32 arg2, TCGLabel *); 123 void tcg_gen_brcondi_i32(TCGCond cond, TCGv_i32 arg1, int32_t arg2, TCGLabel *); 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, 225 void tcg_gen_brcond_i64(TCGCond cond, TCGv_i64 arg1, TCGv_i64 arg2, TCGLabel *); 226 void tcg_gen_brcondi_i64(TCGCond cond, TCGv_i64 arg1, int64_t arg2, TCGLabel *); 227 void tcg_gen_setcond_i64(TCGCond cond, TCGv_i64 ret, [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,
|
/openbmc/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)
|
/openbmc/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() 588 static inline void gen_comparei(TCGCond cond, TCGv res, TCGv arg1, int arg2) in gen_comparei() 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() 614 int pnum, TCGCond cond1, TCGv arg1, TCGv arg2, in gen_cmpnd_cmp_jmp() 615 TCGCond cond2, int pc_off) in gen_cmpnd_cmp_jmp() 629 int pnum, TCGCond cond, TCGv arg1, TCGv arg2, in gen_cmpnd_cmp_jmp_t() [all …]
|
H A D | translate.h | 68 TCGCond branch_cond;
|
/openbmc/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() 1882 TCGCond cond = op->args[5]; in fold_movcond() 2110 TCGCond cond; in fold_setcond_zmask() 2213 TCGCond cond = op->args[3]; in fold_setcond_tst_pow2() [all …]
|
H A D | tcg-op.c | 511 void tcg_gen_brcond_i32(TCGCond cond, TCGv_i32 arg1, TCGv_i32 arg2, TCGLabel *l) in tcg_gen_brcond_i32() 522 void tcg_gen_brcondi_i32(TCGCond cond, TCGv_i32 arg1, int32_t arg2, TCGLabel *l) in tcg_gen_brcondi_i32() 531 void tcg_gen_setcond_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_setcond_i32() 543 void tcg_gen_setcondi_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_setcondi_i32() 549 void tcg_gen_negsetcond_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_negsetcond_i32() 564 void tcg_gen_negsetcondi_i32(TCGCond cond, TCGv_i32 ret, in tcg_gen_negsetcondi_i32() 1135 void tcg_gen_movcond_i32(TCGCond cond, TCGv_i32 ret, TCGv_i32 c1, in tcg_gen_movcond_i32() 1932 void tcg_gen_brcond_i64(TCGCond cond, TCGv_i64 arg1, TCGv_i64 arg2, TCGLabel *l) in tcg_gen_brcond_i64() 1950 void tcg_gen_brcondi_i64(TCGCond cond, TCGv_i64 arg1, int64_t arg2, TCGLabel *l) in tcg_gen_brcondi_i64() 1966 void tcg_gen_setcond_i64(TCGCond cond, TCGv_i64 ret, in tcg_gen_setcond_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()
|
/openbmc/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 | 144 static TCGCond gen_compare_i128(bool bz, TCGv rl, 146 TCGCond cond) 209 TCGCond cond) 216 static bool gen_branch(DisasContext *ctx, arg_b *a, TCGCond cond)
|
/openbmc/qemu/accel/tcg/ |
H A D | plugin-gen.c | 137 static TCGCond plugin_cond_to_tcgcond(enum qemu_plugin_cond cond) in plugin_cond_to_tcgcond() 165 TCGCond cond = tcg_invert_cond(plugin_cond_to_tcgcond(cb->cond)); in gen_udata_cond_cb()
|
/openbmc/qemu/target/hexagon/idef-parser/ |
H A D | parser-helpers.h | 182 TCGCond type, 339 const char *cond_to_str(TCGCond cond);
|
/openbmc/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,
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/qemu/tcg/i386/ |
H A D | tcg-target.c.inc | 195 TCGType type, TCGCond cond, int vece) 1516 static int tcg_out_cmp(TCGContext *s, TCGCond cond, TCGArg arg1, 1605 static void tcg_out_brcond(TCGContext *s, int rexw, TCGCond cond, 1619 TCGCond cond = args[4]; 1699 static void tcg_out_setcond(TCGContext *s, int rexw, TCGCond cond, 1863 static void tcg_out_movcond(TCGContext *s, int rexw, TCGCond cond, 3081 TCGReg v0, TCGReg v1, TCGReg v2, TCGCond cond) 3150 TCGReg v1, TCGReg v2, TCGCond cond) 3203 TCGReg v0, TCGReg v1, TCGReg v2, TCGCond cond) 3227 TCGReg v3, TCGReg v4, TCGCond cond) [all …]
|
/openbmc/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,
|
/openbmc/qemu/tcg/riscv/ |
H A D | tcg-target.c.inc | 382 TCGType type, TCGCond cond, int vece) 1200 static void tcg_out_brcond(TCGContext *s, TCGCond cond, TCGReg arg1, 1221 static int tcg_out_setcond_int(TCGContext *s, TCGCond cond, TCGReg ret, 1314 static void tcg_out_setcond(TCGContext *s, TCGCond cond, TCGReg ret, 1341 static void tcg_out_negsetcond(TCGContext *s, TCGCond cond, TCGReg ret, 1424 static void tcg_out_movcond_br1(TCGContext *s, TCGCond cond, TCGReg ret, 1447 static void tcg_out_movcond_br2(TCGContext *s, TCGCond cond, TCGReg ret, 1476 static void tcg_out_movcond(TCGContext *s, TCGCond cond, TCGReg ret, 1523 TCGCond cond, TCGReg ret,
|
/openbmc/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)
|
/openbmc/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()
|
/openbmc/qemu/tcg/s390x/ |
H A D | tcg-target.c.inc | 555 TCGType type, TCGCond cond, int vece) 1258 static int tgen_cmp2(TCGContext *s, TCGType type, TCGCond c, TCGReg r1, 1262 TCGCond inv_c = tcg_invert_cond(c); 1360 static int tgen_cmp(TCGContext *s, TCGType type, TCGCond c, TCGReg r1, 1367 static void tgen_setcond(TCGContext *s, TCGType type, TCGCond cond, 1501 static void tgen_movcond(TCGContext *s, TCGType type, TCGCond c, TCGReg dest, 1616 static void tgen_brcond(TCGContext *s, TCGType type, TCGCond c, 2858 TCGReg a1, TCGReg a2, TCGCond cond) 2911 TCGReg a1, TCGReg a2, TCGCond cond) 2920 int const_v3, TCGReg v4, TCGCond cond)
|
/openbmc/qemu/tcg/loongarch64/ |
H A D | tcg-target.c.inc | 187 TCGType type, TCGCond cond, int vece) 563 static int tcg_out_setcond_int(TCGContext *s, TCGCond cond, TCGReg ret, 658 static void tcg_out_setcond(TCGContext *s, TCGCond cond, TCGReg ret, 685 static void tcg_out_movcond(TCGContext *s, TCGCond cond, TCGReg ret, 729 static void tcg_out_brcond(TCGContext *s, TCGCond cond, TCGReg arg1, 1996 TCGCond cond = args[3];
|