re PR target/87870 (ppc64le generates poor code when loading constants into TImode...
authorPeter Bergner <bergner@linux.ibm.com>
Mon, 17 Dec 2018 22:07:11 +0000 (22:07 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Mon, 17 Dec 2018 22:07:11 +0000 (16:07 -0600)
commit00fd062886928ee3617a171f31c1e4e07f65f38f
treef90406664298f3ae328a989d45ccbf0ad6ab540d
parent1e9d69235a88347d293dec7927e34dd38f6ee580
re PR target/87870 (ppc64le generates poor code when loading constants into TImode vars)

gcc/
PR target/87870
* config/rs6000/vsx.md (nW): New mode iterator.
(vsx_mov<mode>_64bit): Use it.  Remove redundant GPR 0/-1 alternative.
Update length attribute for (<??r>, <nW>)  alternative.
(vsx_mov<mode>_32bit): Likewise.

gcc/testsuite/
PR target/87870
* gcc.target/powerpc/pr87870.c: New test.

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