This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, testsuite]: Committed: Remove target selector from sse5-* tests


Hello!

We don't need i?86-*-* and x86_64-*-* target selectors in i386 test directory. Tests, valid only on 64bit targets should require lp64 effective target.

2007-09-22 Uros Bizjak <ubizjak@gmail.com>

       * gcc.target/i386/sse5-hadduX.c: Remove target selector.
       * gcc.target/i386/sse5-haddX.c: Ditto.
       * gcc.target/i386/sse5-hsubX.c: Ditto.
       * gcc.target/i386/sse5-maccXX.c: Ditto.
       * gcc.target/i386/sse5-msubXX.c: Ditto.
       * gcc.target/i386/sse5-nmaccXX.c: Ditto.
       * gcc.target/i386/sse5-nmsubXX.c: Ditto.
       * gcc.target/i386/sse5-permpX.c: Ditto.
       * gcc.target/i386/sse5-fma.c: Remove target selector. Require lp64
       effective target.
       * gcc.target/i386/sse5-fma-vector.c: Ditto.
       * gcc.target/i386/sse5-ima-vector.c: Ditto.
       * gcc.target/i386/sse5-pcmov.c: Ditto.
       * gcc.target/i386/sse5-pcmov2.c: Ditto.

Patch is committed to SVN after running i386 target testsuite.

Uros.
Index: sse5-maccXX.c
===================================================================
--- sse5-maccXX.c	(revision 128665)
+++ sse5-maccXX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 
Index: sse5-nmaccXX.c
===================================================================
--- sse5-nmaccXX.c	(revision 128665)
+++ sse5-nmaccXX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 
Index: sse5-pcmov2.c
===================================================================
--- sse5-pcmov2.c	(revision 128665)
+++ sse5-pcmov2.c	(working copy)
@@ -1,7 +1,8 @@
 /* Test that the compiler properly optimizes conditional floating point moves
    into the pcmov instruction on SSE5 systems.  */
 
-/* { dg-do compile { target x86_64-*-*} } */
+/* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -msse5" } */
 
 extern void exit (int);
Index: sse5-msubXX.c
===================================================================
--- sse5-msubXX.c	(revision 128665)
+++ sse5-msubXX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 
Index: sse5-nmsubXX.c
===================================================================
--- sse5-nmsubXX.c	(revision 128665)
+++ sse5-nmsubXX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 
Index: sse5-hsubX.c
===================================================================
--- sse5-hsubX.c	(revision 128665)
+++ sse5-hsubX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 
Index: sse5-permpX.c
===================================================================
--- sse5-permpX.c	(revision 128665)
+++ sse5-permpX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 
Index: sse5-pcmov.c
===================================================================
--- sse5-pcmov.c	(revision 128665)
+++ sse5-pcmov.c	(working copy)
@@ -1,7 +1,8 @@
 /* Test that the compiler properly optimizes conditional floating point moves
    into the pcmov instruction on SSE5 systems.  */
 
-/* { dg-do compile { target x86_64-*-*} } */
+/* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -msse5" } */
 
 extern void exit (int);
Index: sse5-fma-vector.c
===================================================================
--- sse5-fma-vector.c	(revision 128665)
+++ sse5-fma-vector.c	(working copy)
@@ -1,7 +1,8 @@
 /* Test that the compiler properly optimizes floating point multiply and add
    instructions vector into fmaddps on SSE5 systems.  */
 
-/* { dg-do compile { target x86_64-*-*} } */
+/* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -msse5 -mfused-madd -ftree-vectorize" } */
 
 extern void exit (int);
Index: sse5-ima-vector.c
===================================================================
--- sse5-ima-vector.c	(revision 128665)
+++ sse5-ima-vector.c	(working copy)
@@ -1,7 +1,8 @@
 /* Test that the compiler properly optimizes vector 32-bit integer point
    multiply and add instructions vector into pmacsdd on SSE5 systems.  */
 
-/* { dg-do compile { target x86_64-*-*} } */
+/* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -msse5 -ftree-vectorize" } */
 
 extern void exit (int);
Index: sse5-haddX.c
===================================================================
--- sse5-haddX.c	(revision 128665)
+++ sse5-haddX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 
Index: sse5-fma.c
===================================================================
--- sse5-fma.c	(revision 128665)
+++ sse5-fma.c	(working copy)
@@ -1,7 +1,8 @@
 /* Test that the compiler properly optimizes floating point multiply and add
    instructions into fmaddss, fmsubss, fnmaddss, fnmsubss on SSE5 systems.  */
 
-/* { dg-do compile { target x86_64-*-*} } */
+/* { dg-do compile } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -msse5 -mfused-madd" } */
 
 extern void exit (int);
Index: sse5-hadduX.c
===================================================================
--- sse5-hadduX.c	(revision 128665)
+++ sse5-hadduX.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do run { target i?86-*-* x86_64-*-* } } */
+/* { dg-do run } */
 /* { dg-require-effective-target sse5 } */
 /* { dg-options "-O2 -msse5" } */
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]