Hello! 2011-11-02 Uros Bizjak <ubiz...@gmail.com>
* gcc.target/i386/avx-cvt-2.c (dg-options): Add -mtune=generic. * gcc.target/i386/avx2-cvt-2.c (dg-options): Ditto. * gcc.target/i386/sse2-cvt-2.c (dg-options): Ditto. * gcc.target/i386/vectorize4-avx.c (dg-final): Remove xfail *-*-*. Tested on x86_64-pc-linux-gnu, committed to mainline SVN. Uros.
Index: gcc.target/i386/avx-cvt-2.c =================================================================== --- gcc.target/i386/avx-cvt-2.c (revision 180768) +++ gcc.target/i386/avx-cvt-2.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -mavx -mno-avx2 -fdump-tree-vect-details" } */ +/* { dg-options "-O3 -mavx -mno-avx2 -mtune=generic -fdump-tree-vect-details" } */ #include "avx-cvt-1.c" Index: gcc.target/i386/sse2-cvt-2.c =================================================================== --- gcc.target/i386/sse2-cvt-2.c (revision 180768) +++ gcc.target/i386/sse2-cvt-2.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -msse2 -mno-sse3 -fdump-tree-vect-details" } */ +/* { dg-options "-O3 -msse2 -mno-sse3 -mtune=generic -fdump-tree-vect-details" } */ #include "sse2-cvt-1.c" Index: gcc.target/i386/vectorize4-avx.c =================================================================== --- gcc.target/i386/vectorize4-avx.c (revision 180768) +++ gcc.target/i386/vectorize4-avx.c (working copy) @@ -11,4 +11,4 @@ dest[i] = sqrt (tmp_out[i]); } -/* { dg-final { scan-assembler "vsqrtpd\[ \\t\]+\[^\n\]*%ymm" { xfail *-*-* } } } */ +/* { dg-final { scan-assembler "vsqrtpd\[ \\t\]+\[^\n\]*%ymm" } } */ Index: gcc.target/i386/avx2-cvt-2.c =================================================================== --- gcc.target/i386/avx2-cvt-2.c (revision 180768) +++ gcc.target/i386/avx2-cvt-2.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -mavx2 -fdump-tree-vect-details" } */ +/* { dg-options "-O3 -mavx2 -mtune=generic -fdump-tree-vect-details" } */ #include "avx2-cvt-1.c"