OSDN Git Service

* pa.c (compute_zdepwi_operands): Limit deposit length to 32 - lsb.
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jul 2009 00:43:42 +0000 (00:43 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jul 2009 00:43:42 +0000 (00:43 +0000)
commiteab96f1cae5069ad34bb2722cc8b8decc556410e
treec14e6e1a363eb5cec5e321cfd384c13b4541b149
parent7d82f7731692f10cd02e13c98c58dc61b9722f72
* pa.c (compute_zdepwi_operands): Limit deposit length to 32 - lsb.
Cast "1" to unsigned HOST_WIDE_INT.
(compute_zdepdi_operands): Limit maximum length to 64 bits.  Limit
deposit length to the maximum length - lsb.  Extend length if
HOST_BITS_PER_WIDE_INT is 32.

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