re PR target/81959 (PowerPC __float128 optimization fails with integer PRE_INC addresses)
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Fri, 1 Dec 2017 23:52:20 +0000 (23:52 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 1 Dec 2017 23:52:20 +0000 (23:52 +0000)
commitb2db7624af722cf550f1020501294d4206b60e7b
tree5ffe06a611ba4660fc6dff8c087a56b615b3a2eb
parent92f0112cab96a60bb777b81e93a5d10437c5fa60
re PR target/81959 (PowerPC __float128 optimization fails with integer PRE_INC addresses)

[gcc]
2017-12-01  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/81959
* config/rs6000/rs6000.c (rs6000_address_for_fpconvert): Check for
whether we can allocate pseudos before trying to fix an address.
* config/rs6000/rs6000.md (float_<mode>si2_hw): Make sure the
memory address is indexed or indirect.
(floatuns_<mode>si2_hw2): Likewise.

[gcct/testsuite]
2017-12-01  Michael Meissner  <meissner@linux.vnet.ibm.com>

PR target/81959
* gcc.target/powerpc/pr81959.c: New test.

From-SVN: r255341
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr81959.c [new file with mode: 0644]