This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, testsuite] Fix ppc and spu vectorization tests
On Sun, Jul 4, 2010 at 2:34 PM, Ira Rosen <IRAR@il.ibm.com> wrote:
>
> Hi,
>
> This patch removes two vectorization cost model tests for ppc: the loops
> are either unrolled or the vectorization is always profitable with bigger
> loop bounds.
> It also increases loop bounds in two other cost model tests.
>
> In pr35821-altivec.c the loop is optimized out. I can't change the code in
> such way that the loop is not optimized out and there is an ICE without the
> patch for pr35821. So, I suggest to remove this testcase, and pr35821-spu.c
> as well.
>
> Tested on powerpc64-suse-linux.
> OK for trunk?
Ok.
Richard.
> Thanks,
> Ira
>
> testsuite/ChangeLog:
>
> ? ? ?* gcc.dg/vect/costmodel/ppc/costmodel-vect-31d.c: Remove.
> ? ? ?* gcc.dg/vect/costmodel/ppc/costmodel-vect-76a.c: Increase loop
> bound.
> ? ? ?* gcc.dg/vect/costmodel/ppc/costmodel-vect-76b.c: Likewise.
> ? ? ?* gcc.dg/vect/costmodel/ppc/costmodel-vect-68d.c: Remove.
> ? ? ?* gcc.dg/vect/pr35821-altivec.c, gcc.dg/vect/pr35821-spu.c: Likewise.
>
> (See attached file: tests.txt)