(emit_store_flag): Properly test for STORE_FLAG_VALUE of just sign bit.

From-SVN: r13552
This commit is contained in:
Richard Kenner 1997-01-27 09:04:44 -05:00
parent 0802d51684
commit 12dd565fc5

View File

@ -3951,7 +3951,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
&& GET_MODE_CLASS (mode) == MODE_INT && GET_MODE_CLASS (mode) == MODE_INT
&& (normalizep || STORE_FLAG_VALUE == 1 && (normalizep || STORE_FLAG_VALUE == 1
|| (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT || (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
&& (STORE_FLAG_VALUE && ((STORE_FLAG_VALUE & GET_MODE_MASK (mode))
== (HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1))))) == (HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1)))))
{ {
subtarget = target; subtarget = target;
@ -4145,7 +4145,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
normalizep = STORE_FLAG_VALUE; normalizep = STORE_FLAG_VALUE;
else if (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT else if (GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
&& (STORE_FLAG_VALUE && ((STORE_FLAG_VALUE & GET_MODE_MASK (mode))
== (HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1))) == (HOST_WIDE_INT) 1 << (GET_MODE_BITSIZE (mode) - 1)))
; ;
else else