On Wed, Aug 20, 2014 at 8:41 PM, Bill Schmidt
<wschm...@linux.vnet.ibm.com> wrote:
> Hi,
>
> The Power ISA 2.07 enables some additional forms of existing vector
> builtins, in particular allowing use of vector long long (signed and
> unsigned) and vector double forms.  This patch adds those builtins and
> provides documentation for them.  There are also cases where builtins
> from ISA 2.06 were not added for all possible vector types (for
> instance, sometimes defining vector signed long long but omitting vector
> unsigned long long).  This patch fixes those omissions as well.
>
> I've added a new compile-only test that verifies the new forms are
> accepted by the compiler.  I've bootstrapped and regtested this on
> powerpc64le-unknown-linux-gnu with no regressions, and this new test
> passes.  Is this ok for trunk?
>
> Thanks,
> Bill
>
>
> [gcc]
>
> 2014-08-20  Bill Schmidt  <wschm...@linux.vnet.ibm.com>
>
>         * config/rs6000/altivec.h (vec_cpsgn): New #define.
>         (vec_mergee): Likewise.
>         (vec_mergeo): Likewise.
>         (vec_cntlz): Likewise.
>         * config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
>         entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
>         VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
>         VMRGEW, and VMRGOW.
>         * doc/extend.texi: Document various forms of vec_cpsgn,
>         vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
>         vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
>         vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
>         vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
>         vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
>
> [gcc/testsuite]
>
> 2014-08-20  Bill Schmidt  <wschm...@linux.vnet.ibm.com>
>
>         * testsuite/gcc.target/powerpc/builtins-1.c: New test.

Okay.

Thanks, David

Reply via email to