]> 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>
Mon, 27 Jul 2009 15:30:41 +0000 (15:30 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 27 Jul 2009 15:30:41 +0000 (15:30 +0000)
commit80b77fe07d9a3cf6a06740f48fd2f4bd6be9b035
treee23e7f41593fc15668e223a4e7708379c830ee5b
parenta4d45afd237a804730f29855d7e5a61d6c911cf6
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: r150126
gcc/ChangeLog
gcc/config/pa/pa.c