simplify-rtx.c (SIGN_EXTEND): New macro.
authorZack Weinberg <zack@wolery.cumb.org>
Tue, 23 May 2000 18:06:22 +0000 (18:06 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 23 May 2000 18:06:22 +0000 (18:06 +0000)
commit3839069b02cfe7fdec691f6aacb9fd01b21d61c3
treed74eeea151683cddca3288fc1c7051594936223e
parentf31e826ba314bc910beec6de5bf534f2462a00c7
simplify-rtx.c (SIGN_EXTEND): New macro.

* simplify-rtx.c (SIGN_EXTEND): New macro.
(simplify_unary_operation, simplify_binary_operation,
simplify_relational_operation): Use SIGN_EXTEND.  Make low
halves of (low, high) pairs unsigned if they weren't already.
(simplify_ternary_operation): Cast INTVAL to unsigned before
comparing to a MODE_BITSIZE.

From-SVN: r34109
gcc/ChangeLog
gcc/simplify-rtx.c