This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Adjust vec_unpacku patterns for little endian
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 20 Oct 2013 09:15:02 -0400
- Subject: Re: [PATCH, rs6000] Adjust vec_unpacku patterns for little endian
- Authentication-results: sourceware.org; auth=none
- References: <1382241617 dot 6275 dot 152 dot camel at gnopaine>
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