cse.c (simplify_relational_operation): Set h0u just like h0s.

* cse.c (simplify_relational_operation): Set h0u just like h0s.
        Similarly for h1u and h1s.

From-SVN: r15616
This commit is contained in:
Jeffrey A Law 1997-09-22 01:28:22 +00:00 committed by Jeff Law
parent 2a1777af22
commit cb3bb2a765
2 changed files with 5 additions and 16 deletions

View File

@ -1,5 +1,8 @@
Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
* cse.c (simplify_relational_operation): Set h0u just like h0s.
Similarly for h1u and h1s.
* jump.c (jmp_uses_reg_or_mem): Deleted unused function.
(find_basic_blocks): Use computed_jump_p to determine if a
particular JUMP_INSN is a computed jump.

View File

@ -4482,14 +4482,7 @@ simplify_relational_operation (code, mode, op0, op1)
else
{
l0u = l0s = INTVAL (op0);
h0s = l0s < 0 ? -1 : 0;
/* If WIDTH is nonzero and larger than HOST_BITS_PER_WIDE_INT,
then the high word is derived from the sign bit of the low
word, else the high word is zero. */
if (width != 0 && width > HOST_BITS_PER_WIDE_INT)
h0u = l0s < 0 ? -1 : 0;
else
h0u = 0;
h0u = h0s = l0s < 0 ? -1 : 0;
}
if (GET_CODE (op1) == CONST_DOUBLE)
@ -4500,14 +4493,7 @@ simplify_relational_operation (code, mode, op0, op1)
else
{
l1u = l1s = INTVAL (op1);
h1s = l1s < 0 ? -1 : 0;
/* If WIDTH is nonzero and larger than HOST_BITS_PER_WIDE_INT,
then the high word is derived from the sign bit of the low
word, else the high word is zero. */
if (width != 0 && width > HOST_BITS_PER_WIDE_INT)
h1u = l1s < 0 ? -1 : 0;
else
h1u = 0;
h1u = h1s = l1s < 0 ? -1 : 0;
}
/* If WIDTH is nonzero and smaller than HOST_BITS_PER_WIDE_INT,