[PATCH, rs6000] Adjust vec_unpacku patterns for little endian

David Edelsohn dje.gcc@gmail.com
Sun Oct 20 13:54:00 GMT 2013


On Sun, Oct 20, 2013 at 12:00 AM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> For little endian, the permute control vector for unpacking high and low
> halves of a vector register must be reversed from the one used for big
> endian.  Fixing this corrects 27 failing tests for
> powerpc64le-unknown-linux-gnu.
>
> Bootstrapped and tested for powerpc64{,le}-unknown-linux-gnu with no new
> regressions.  Is this ok for trunk?
>
> Thanks,
> Bill
>
>
> 2013-10-19  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>
>         * altivec.md (vec_unpacku_hi_v16qi): Adjust for little endian.
>         (vec_unpacku_hi_v8hi): Likewise.
>         (vec_unpacku_lo_v16qi): Likewise.
>         (vec_unpacku_lo_v8hi): Likewise.

Okay.

Thanks, David



More information about the Gcc-patches mailing list