re PR target/87033 (The compiler does not generate the LWAX instruction)
authorMichael Meissner <meissner@linux.ibm.com>
Mon, 20 Aug 2018 23:46:37 +0000 (23:46 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 20 Aug 2018 23:46:37 +0000 (23:46 +0000)
commita7e94dc09a4470fde623197382e8dea4553e2d6b
tree7f70c04abface4896f049270e05a115098eb2556
parentfe7a679e8c4ce1a50afad508e094377bab365ea4
re PR target/87033 (The compiler does not generate the LWAX instruction)

[gcc]
2018-08-20  Michael Meissner  <meissner@linux.ibm.com>

PR target/87033
* config/rs6000/rs6000.md (extendsi<mode>2): Change constraints
from 'Y' to 'YZ' to enable the LWAX instruction to be generated
for indexed loads.

[gcc/testsuite]
2018-08-20  Michael Meissner  <meissner@linux.ibm.com>

PR target/87033
* gcc.target/powerpc/pr87033.c: New test.

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