From cb3bb2a765649402a981196026fda605cdd6fc9f Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Mon, 22 Sep 1997 01:28:22 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/cse.c | 18 ++---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0815291084..5906f14672d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/cse.c b/gcc/cse.c index 9bcdcc3675e..e35a814b320 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -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, -- 2.30.2