rs6000.c (rtx_is_swappable_p): Commentary adjustments.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 23 Apr 2015 01:49:08 +0000 (01:49 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 23 Apr 2015 01:49:08 +0000 (01:49 +0000)
commit30821df75c2dbbb969dca0144177948dda1f7a80
tree2a0b63ca7391ac3bf14a444fa31ed6295a5a0f87
parented0235376538cb63a7afdbfa43df61652175237a
rs6000.c (rtx_is_swappable_p): Commentary adjustments.

[gcc]

2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rtx_is_swappable_p): Commentary
adjustments.
(insn_is_swappable_p): Return 1 for a convert from double to
single precision when all of its uses are splats of BE element
zero.

[gcc/testsuite]

2015-04-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/swaps-p8-18.c: New test.

From-SVN: r222351
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/swaps-p8-18.c [new file with mode: 0644]