[PATCH, rs6000] Generate LE code for vec_lvsl and vec_lvsr that is compatible with BE code

David Edelsohn dje.gcc@gmail.com
Fri Oct 3 18:18:00 GMT 2014


On Thu, Oct 2, 2014 at 3:20 PM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> Here's a revised version of the patch that addresses Segher's comments.
> Bootstrapped and tested on powerpc64le-unknown-linux-gnu.  Ok for trunk?
>
> Thanks,
> Bill
>
>
> [gcc]
>
> 2014-10-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>
>         * altivec.md (altivec_lvsl): New define_expand.
>         (altivec_lvsl_direct): Rename define_insn from altivec_lvsl.
>         (altivec_lvsr): New define_expand.
>         (altivec_lvsr_direct): Rename define_insn from altivec_lvsr.
>         * rs6000.c (rs6000_expand_builtin): Change to use
>         altivec_lvs[lr]_direct; remove commented-out code.
>
> [gcc/testsuite]
>
> 2014-10-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>
>         * gcc.target/powerpc/lvsl-lvsr.c: New test.

Okay.

Thanks, Segher, for providing a second set of eyes.

Thanks, David



More information about the Gcc-patches mailing list