diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-09-22 01:28:22 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-09-21 19:28:22 -0600 |
commit | cb3bb2a765649402a981196026fda605cdd6fc9f (patch) | |
tree | ca8b1edb1d99a8a28331458f9d95e77b1e08dcad /gcc/cse.c | |
parent | 2a1777af229bc5e9e738fd5bb8285ac0c1e24a7d (diff) | |
download | gcc-cb3bb2a765649402a981196026fda605cdd6fc9f.zip gcc-cb3bb2a765649402a981196026fda605cdd6fc9f.tar.gz gcc-cb3bb2a765649402a981196026fda605cdd6fc9f.tar.bz2 |
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
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 18 |
1 files changed, 2 insertions, 16 deletions
@@ -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, |