altivec.h (vec_pmsum_be): New #define.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 20 Aug 2015 17:01:32 +0000 (17:01 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 20 Aug 2015 17:01:32 +0000 (17:01 +0000)
commit6992707b2a12c2323206c14f8c3983822d26c27c
tree31a226902ac5c715d5d196d7f17608caaa767aae
parentb68db6d1892178c1f8dcdfd5fbfd1b2ef0c5b49d
altivec.h (vec_pmsum_be): New #define.

[gcc]

2015-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/altivec.h (vec_pmsum_be): New #define.
(vec_shasigma_be): New #define.
* config/rs6000/rs6000-builtin.def (VPMSUMB): New BU_P8V_AV2_2.
(VPMSUMH): Likewise.
(VPMSUMW): Likewise.
(VPMSUMD): Likewise.
(VPMSUM): New BU_P8V_OVERLOAD_2.
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): New
entries for VEC_MADD and VEC_VPMSUM.

[gcc/testsuite]

2015-08-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* gcc.target/powerpc/altivec-35.c (foo): Add tests for vec_madd.
* gcc.target/powerpc/p8vector-builtin-8.c (foo): Add tests for
vec_vpmsum_be and vec_shasigma_be.

From-SVN: r227036
gcc/ChangeLog
gcc/config/rs6000/altivec.h
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000-c.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/altivec-35.c
gcc/testsuite/gcc.target/powerpc/p8vector-builtin-8.c