gcc:
commit6c65ab3540cd56a0dcc7cbed4b7e4202e9dd3afa
authorwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Feb 2014 01:24:31 +0000 (3 01:24 +0000)
committerwschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Feb 2014 01:24:31 +0000 (3 01:24 +0000)
tree55a470858b59f5d226845b47c3acd7f8a0807469
parent3a4f7ef5722d3b1a35d53e9d5673d5a1a2ceccc9
gcc:

2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec.
(altivec_vsumsws): Add handling for -maltivec=be with a little
endian target.
(altivec_vsumsws_direct): New.
(reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of
gen_altivec_vsumsws.

gcc/testsuite:

2014-02-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.dg/vmx/vsums.c: New.
* gcc.dg/vmx/vsums-be-order.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207414 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/altivec.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vmx/vsums-be-order.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vmx/vsums.c [new file with mode: 0644]