aboutsummaryrefslogtreecommitdiff
path: root/gcc/optabs.c
diff options
context:
space:
mode:
authorLars Brinkhoff <lars@nocrew.org>2001-02-18 20:24:10 +0000
committerRichard Henderson <rth@gcc.gnu.org>2001-02-18 12:24:10 -0800
commite1078cfca6ce48820c55353664830ad13d567ae3 (patch)
tree5d838e7d876763a62364f10f9e0ecd0823a85c0b /gcc/optabs.c
parent3bd241172417b6329baf196858143269c4b362e5 (diff)
downloadgcc-e1078cfca6ce48820c55353664830ad13d567ae3.zip
gcc-e1078cfca6ce48820c55353664830ad13d567ae3.tar.gz
gcc-e1078cfca6ce48820c55353664830ad13d567ae3.tar.bz2
optabs.c (expand_abs): Remove reference to HAVE_contitional_arithmetic.
* optabs.c (expand_abs): Remove reference to HAVE_contitional_arithmetic. * combine.c (simplify_set): Likewise. From-SVN: r39844
Diffstat (limited to 'gcc/optabs.c')
-rw-r--r--gcc/optabs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c
index 38ff991..aa7108a 100644
--- a/gcc/optabs.c
+++ b/gcc/optabs.c
@@ -2320,11 +2320,8 @@ expand_abs (mode, op0, target, result_unsignedp, safe)
/* If this machine has expensive jumps, we can do integer absolute
value of X as (((signed) x >> (W-1)) ^ x) - ((signed) x >> (W-1)),
- where W is the width of MODE. But don't do this if the machine has
- conditional arithmetic since the branches will be converted into
- a conditional negation insn. */
+ where W is the width of MODE. */
-#ifndef HAVE_conditional_arithmetic
if (GET_MODE_CLASS (mode) == MODE_INT && BRANCH_COST >= 2)
{
rtx extended = expand_shift (RSHIFT_EXPR, mode, op0,
@@ -2340,7 +2337,6 @@ expand_abs (mode, op0, target, result_unsignedp, safe)
if (temp != 0)
return temp;
}
-#endif
/* If that does not win, use conditional jump and negate. */