diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-05-22 01:04:17 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-05-22 01:04:17 +0000 |
commit | 692e031294569fc76371c9eda58f01cce1716c22 (patch) | |
tree | 140844ad5e7d79e1b2e7a34393602b9ee0d1c5c3 /gcc/expr.c | |
parent | 759df569f189ce9e4d015c5b46ea5e2107923c69 (diff) | |
download | gcc-692e031294569fc76371c9eda58f01cce1716c22.zip gcc-692e031294569fc76371c9eda58f01cce1716c22.tar.gz gcc-692e031294569fc76371c9eda58f01cce1716c22.tar.bz2 |
remove #if HAVE_conditional_move
gcc/ChangeLog:
2015-05-20 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* combine.c, expmed.c, expr.c, optabs.c optabs.h, toplev.c: DOn't
check HAVE_conditional_move with the preprocessor.
From-SVN: r223518
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -2423,7 +2423,6 @@ get_def_for_expr (tree name, enum tree_code code) return def_stmt; } -#if HAVE_conditional_move /* Return the defining gimple statement for SSA_NAME NAME if it is an assigment and the class of the expresion on the RHS is CLASS. Return NULL otherwise. */ @@ -2443,7 +2442,6 @@ get_def_for_expr_class (tree name, enum tree_code_class tclass) return def_stmt; } -#endif /* Determine whether the LEN bytes generated by CONSTFUN can be @@ -7517,7 +7515,6 @@ highest_pow2_factor_for_target (const_tree target, const_tree exp) return MAX (factor, talign); } -#if HAVE_conditional_move /* Convert the tree comparison code TCODE to the rtl one where the signedness is UNSIGNEDP. */ @@ -7575,7 +7572,6 @@ convert_tree_comp_to_rtx (enum tree_code tcode, int unsignedp) } return code; } -#endif /* Subroutine of expand_expr. Expand the two operands of a binary expression EXP0 and EXP1 placing the results in OP0 and OP1. @@ -8021,7 +8017,6 @@ expand_cond_expr_using_cmove (tree treeop0 ATTRIBUTE_UNUSED, tree treeop1 ATTRIBUTE_UNUSED, tree treeop2 ATTRIBUTE_UNUSED) { -#if HAVE_conditional_move rtx insn; rtx op00, op01, op1, op2; enum rtx_code comparison_code; @@ -8105,7 +8100,6 @@ expand_cond_expr_using_cmove (tree treeop0 ATTRIBUTE_UNUSED, /* Otherwise discard the sequence and fall back to code with branches. */ end_sequence (); -#endif return NULL_RTX; } @@ -8892,7 +8886,7 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode, if (code == MIN_EXPR) comparison_code = LT; } -#if HAVE_conditional_move + /* Use a conditional move if possible. */ if (can_conditionally_move_p (mode)) { @@ -8920,7 +8914,7 @@ expand_expr_real_2 (sepops ops, rtx target, machine_mode tmode, branches. */ end_sequence (); } -#endif + if (target != op0) emit_move_insn (target, op0); |