aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1994-06-29 02:41:26 +0000
committerDoug Evans <dje@gnu.org>1994-06-29 02:41:26 +0000
commit094030c93f19e1da77ab7a8d02d83603815d0d59 (patch)
tree6a0f61cc4a939b7d4c6669dfcca1ff64ee1e6535
parent55c2d311c4fa96040ac08766048a14e4cd8d1c54 (diff)
downloadgcc-094030c93f19e1da77ab7a8d02d83603815d0d59.zip
gcc-094030c93f19e1da77ab7a8d02d83603815d0d59.tar.gz
gcc-094030c93f19e1da77ab7a8d02d83603815d0d59.tar.bz2
(simplify_set): Evaluate HAVE_conditional_move at runtime.
From-SVN: r7599
-rw-r--r--gcc/combine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/combine.c b/gcc/combine.c
index b32f3fed..38dca46 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -4348,8 +4348,6 @@ simplify_set (x)
}
#endif
-#ifndef HAVE_conditional_move
-
/* If we don't have a conditional move, SET_SRC is an IF_THEN_ELSE, and we
are comparing an item known to be 0 or -1 against 0, use a logical
operation instead. Check for one of the arms being an IOR of the other
@@ -4358,6 +4356,9 @@ simplify_set (x)
if (GET_CODE (dest) != PC
&& GET_CODE (src) == IF_THEN_ELSE
+#ifdef HAVE_conditional_move
+ && ! HAVE_conditional_move
+#endif
&& (GET_CODE (XEXP (src, 0)) == EQ || GET_CODE (XEXP (src, 0)) == NE)
&& XEXP (XEXP (src, 0), 1) == const0_rtx
&& (num_sign_bit_copies (XEXP (XEXP (src, 0), 0),
@@ -4396,7 +4397,6 @@ simplify_set (x)
src = SET_SRC (x);
}
-#endif
/* If either SRC or DEST is a CLOBBER of (const_int 0), make this
whole thing fail. */