]> git.ipfire.org Git - thirdparty/gcc.git/commit
pa.c (compute_zdepwi_operands): Limit deposit length to 32 - lsb.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Tue, 21 Jul 2009 00:43:42 +0000 (00:43 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 21 Jul 2009 00:43:42 +0000 (00:43 +0000)
commitef8d9a0e062668340eaa1ce42920f8a23715c582
treec14e6e1a363eb5cec5e321cfd384c13b4541b149
parent7e4bc1f8ca845c57aa04b62cc18a9a5bc5d1506e
pa.c (compute_zdepwi_operands): Limit deposit length to 32 - lsb.

* 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.

From-SVN: r149843
gcc/ChangeLog
gcc/config/pa/pa.c