This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PowerPC] rs6000_expand_vector_init selects wrong field for splat in LE mode
- 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>, David Edelsohn <dje at gcc dot gnu dot org>
- Date: Mon, 22 Jul 2013 17:52:06 -0400
- Subject: Re: [PATCH, PowerPC] rs6000_expand_vector_init selects wrong field for splat in LE mode
- References: <1374513162 dot 3633 dot 86 dot camel at gnopaine>
On Mon, Jul 22, 2013 at 1:12 PM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> In little-endian mode, the field selected for use in a vector splat is
> numbered differently than in big-endian mode. This patch corrects the
> code generated for little-endian. This addresses 45 test failures when
> running the test-suite in little-endian mode.
>
> Bootstrapped and tested on powerpc64-unknown-linux-gnu with no new
> regressions. Ok for trunk?
>
> Patch by Anton Blanchard.
>
> Thanks,
> Bill
>
>
> 2013-07-22 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
> for Anton Blanchard <anton@au1.ibm.com>
>
> * config/rs6000/rs6000.c (rs6000_expand_vector_init): Fix
> endianness when selecting field to splat.
Okay.
But please either only list Anton in the ChangeLog or list both you
and Anton, but not "for Anton".
Thanks, David