Patchwork [i386] : Testsuite adjustments

login
register
mail settings
Submitter Uros Bizjak
Date Nov. 2, 2011, 12:08 p.m.
Message ID <CAFULd4Z1Pzmr4Utdp_Wwt0f6T7bLoRF2njnYjscc9qo1N0=Mkg@mail.gmail.com>
Download mbox | patch
Permalink /patch/123259/
State New
Headers show

Comments

Uros Bizjak - Nov. 2, 2011, 12:08 p.m.
Hello!

2011-11-02  Uros Bizjak  <ubizjak@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.

Patch

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"