This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] A few more vector interfaces
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 20 Aug 2015 11:46:01 -0400
- Subject: Re: [PATCH, rs6000] A few more vector interfaces
- Authentication-results: sourceware.org; auth=none
- References: <1440085255 dot 5233 dot 2 dot camel at oc8801110288 dot ibm dot com>
On Thu, Aug 20, 2015 at 11:40 AM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> This patch adds a few more vector interfaces listed in the ELFv2 ABI
> v1.1: missing flavors of vec_madd, vec_pmsum_be, and vec_shasigma_be.
> Existing tests have been updated to check for correct code gen. Tested
> on powerpc64le-unknown-linux-gnu with no regressions. Ok for trunk?
>
> Thanks,
> Bill
>
>
> [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.
Okay.
Thanks, David