This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] rs6000: Fix the dlmzb. testcases
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Peter Bergner <bergner at vnet dot ibm dot com>
- Date: Wed, 24 Dec 2014 12:45:45 -0500
- Subject: Re: [PATCH] rs6000: Fix the dlmzb. testcases
- Authentication-results: sourceware.org; auth=none
- References: <4bc07dec7a614761e45d9c3f665b691d92361f76 dot 1419439879 dot git dot segher at kernel dot crashing dot org>
On Wed, Dec 24, 2014 at 12:05 PM, Segher Boessenkool
<segher@kernel.crashing.org> wrote:
> The dlmzb. instruction requires an 8-byte aligned operand. The testcases
> try to enforce that by passing an arg as "long long *", but current GCC
> still assumes an alignment of 1 (correctly I think -- the pointer is only
> used as pointer to char).
>
> This patch changes the testcases to explicitly have an 8-byte aligned datum.
>
> Okay for mainline?
>
>
> Segher
>
>
> 2014-12-24 Segher Boessenkool <segher@kernel.crashing.org>
>
> gcc/testsuite/
> * gcc.target/powerpc/405-dlmzb-strlen-1.c: Explicitly align arg.
> * gcc.target/powerpc/440-dlmzb-strlen-1.c: Ditto.
Okay.
Thanks, David