This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, rs6000] A few more vector interfaces


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]