[PATCH,rs6000] Add tests for vec_insert and vec_extract implemented with VSX instructions

David Edelsohn dje.gcc@gmail.com
Tue Jan 21 18:40:00 GMT 2014


> A previous patch of mine implemented support for -maltivec=be for little
> endian targets when expanding the vec_insert and vec_extract builtins.
> However, I neglected to include test cases for V2DI and V2DF, which are
> implemented using VSX instructions and therefore need different compile
> options.  This patch adds those tests, which pass for
> powerpc64{,le}-unknown-linux-gnu without further changes to GCC.  Ok for
> trunk?
>
> Thanks,
> Bill
>
>
> 2014-01-21  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>
>         * gcc.dg/vmx/insert-vsx-be-order.c: New.
>         * gcc.dg/vmx/extract-vsx.c: New.
>         * gcc.dg/vmx/extract-vsx-be-order.c: New.
>         * gcc.dg/vmx/insert-vsx.c: New.

Okay.

Thanks, David



More information about the Gcc-patches mailing list