[patch, testsuite] Fix vectorizer testsuite failures on ARM

Ira Rosen ira.rosen@linaro.org
Mon Jun 13 09:22:00 GMT 2011


On 9 June 2011 13:00, Ira Rosen <ira.rosen@linaro.org> wrote:
> Hi,
>
> This patch fixes several vectorizer testsuite failures on ARM:
> - vect-16.c checks that the vectorization fails without -ffast-math,
> but -ffast-math is a default flag for vector tests on ARM. I renamed
> the test to no-fast-math-vect-16.c to avoid the use of the flag for
> it.
> - vect-peel-3.c and vect-peel-4.c test vectorizer's peeling heuristics
> ignoring double-word vectors. This patch changes the misalignment
> values of the data-refs.
> - bb-slp-10.c contains a misaligned store supported not only on
> vect_hw_misalign targets, but also on vect_element_align targets. The
> patch fixes that.
>
> Tested on arm-linux-gnueabi, powerpc64-suse-linux and x86_64-suse-linux.
> OK for mainline?
>

I'll commit this patch tomorrow if nobody objects.

Thanks,
Ira

> Thanks,
> Ira
>
> testsuite/ChangeLog:
>
>       * gcc.dg/vect/vect-16.c: Rename to ...
>       * gcc.dg/vect/no-fast-math-vect16.c: ... this.
>       * gcc.dg/vect/vect-peel-3.c: Adjust misalignment values
>       for double-word vectors.
>       * gcc.dg/vect/vect-peel-4.c: Likewise.
>       * gcc.dg/vect/bb-slp-10.c: Replace vect_hw_misalign with
>       vect_element_align.
>       * gcc.dg/vect/vect.exp: Run no-fast-math-* tests with
>       -fno-fast-math.
>



More information about the Gcc-patches mailing list