re PR target/85755 (PowerPC Gcc's -mupdate produces inefficient code on power8/power9...
authorPeter Bergner <bergner@vnet.ibm.com>
Fri, 8 Jun 2018 17:17:45 +0000 (12:17 -0500)
committerPeter Bergner <bergner@gcc.gnu.org>
Fri, 8 Jun 2018 17:17:45 +0000 (12:17 -0500)
commitf57d14462e14ca3d33de5d4fd0c9260fa15b2065
tree1325ba07357ff04c13d13d80f48785d508d329ff
parenta14175560cca5da1f9ff776c5c7309473397d43d
re PR target/85755 (PowerPC Gcc's -mupdate produces inefficient code on power8/power9 machines)

gcc/
PR target/85755
* config/rs6000/rs6000.c (mem_operand_gpr): Enable PRE_INC and PRE_DEC
addresses.

gcc/testsuite/
PR target/85755
* gcc.target/powerpc/pr85755.c: New test.

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