This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] rs6000: Fix the dlmzb. testcases


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]