OSDN Git Service

* simplify-rtx.c (simplify_unary_operation): When simplifying
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Mar 2006 05:55:02 +0000 (05:55 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Mar 2006 05:55:02 +0000 (05:55 +0000)
commit4a9a1e2b3160e09b09cf4200a4ae7936b5130439
tree141afc731966bde556ecd0d21f0b4225099403fd
parent2bd412b30b89f6c5ae67f234e68ae94864ca7c79
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111671 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/simplify-rtx.c