Commit Message

Sometime recently (r161984?) the compiler is now vectorizing the
initialization loops for slp-perm.[123].c on powerpc64-linux. I copied
the method of really disabling vectorization in the initialization loops
used in PR testsuite/44538 by adding a asm ("") into the loops we don't
want vectorized. For safety, I did the same for the check_results loops.
Looking closer, I also noticed the loop limits for the check_results
loop were bogus for slp-perm-[34].c, so I fixed those too.
Ok for mainline?
Peter
* gcc.dg/vect/slp-perm-1.c (main): Make sure loops aren't vectorized.
* gcc.dg/vect/slp-perm-2.c (main): Likewise.
* gcc.dg/vect/slp-perm-3.c (main): Likewise. Fix loop limit.
* gcc.dg/vect/slp-perm-4.c (main): Fix loop limit.

On Sun, 2010-07-18 at 20:02 +0200, Richard Guenther wrote:
> On Fri, Jul 16, 2010 at 8:29 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:> > Sometime recently (r161984?) the compiler is now vectorizing the> > initialization loops for slp-perm.[123].c on powerpc64-linux. I copied> > the method of really disabling vectorization in the initialization loops> > used in PR testsuite/44538 by adding a asm ("") into the loops we don't> > want vectorized. For safety, I did the same for the check_results loops.> > Looking closer, I also noticed the loop limits for the check_results> > loop were bogus for slp-perm-[34].c, so I fixed those too.> >> > Ok for mainline?> > Ok.
Thanks, committed as revision 162311.
Peter