From: Doug Evans Date: Wed, 29 Jun 1994 02:41:26 +0000 (+0000) Subject: (simplify_set): Evaluate HAVE_conditional_move at runtime. X-Git-Tag: misc/cutover-egcs-0~6344 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=094030c93f19e1da77ab7a8d02d83603815d0d59;p=thirdparty%2Fgcc.git (simplify_set): Evaluate HAVE_conditional_move at runtime. From-SVN: r7599 --- diff --git a/gcc/combine.c b/gcc/combine.c index b32f3fed35f6..38dca46f704e 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. */