simplify-rtx.c (simplify_unary_operation): When simplifying (neg (lt X 0)) into ...
authorRoger Sayle <sayle@gcc.gnu.org>
Fri, 3 Mar 2006 05:55:02 +0000 (05:55 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 3 Mar 2006 05:55:02 +0000 (05:55 +0000)
commit0f2f71b552e7c1136401c3b7c7d8a28d92aed1bc
tree141afc731966bde556ecd0d21f0b4225099403fd
parente20f951129228f1decc51b4dfe5609cb55806b2a
simplify-rtx.c (simplify_unary_operation): When simplifying (neg (lt X 0)) into (ashiftrt X C) or (lshiftrt X C)...

* simplify-rtx.c (simplify_unary_operation): When simplifying
(neg (lt X 0)) into (ashiftrt X C) or (lshiftrt X C), make sure
that we perform the right shift in the appropriate mode, and
then extend or truncate the result to requested mode.

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