vsx.md (peephole for optimizing move SF to GPR): Adjust code to eliminate needing...
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Wed, 27 Sep 2017 01:20:24 +0000 (01:20 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Wed, 27 Sep 2017 01:20:24 +0000 (01:20 +0000)
commit7a6ed74db49fdec8ee1eabe97cfcde53a03d9fa3
treeaddb181ae9e1849c56f2074c3e7768d5d69738fc
parentf305b2321e7130e32d7a2b924569754f58b8c3f3
vsx.md (peephole for optimizing move SF to GPR): Adjust code to eliminate needing to do the shift right 32-bits operation after...

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

* config/rs6000/vsx.md (peephole for optimizing move SF to GPR):
Adjust code to eliminate needing to do the shift right 32-bits
operation after XSCVDPSPN.

[gcc/testsuite]
2017-09-26  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/pr71977-1.c: Update test to know that we
don't generate a 32-bit shift after doing XSCVDPSPN.
* gcc.target/powerpc/direct-move-float1.c: Likewise.
* gcc.target/powerpc/direct-move-float3.c: New test.

From-SVN: r253223
gcc/ChangeLog
gcc/config/rs6000/vsx.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/direct-move-float1.c
gcc/testsuite/gcc.target/powerpc/direct-move-float3.c [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/pr71977-1.c