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]

Re: [doc, testsuite, libgfortran] Avoid use of SSE/SSE2/SSE3 on Solaris 8/9 x86


> > 	* gnat.dg/loop_optimization7.adb: Likewise.
> > 	* gnat.dg/sse_nolib.adb: Likewise.
>
> This disabled the testcases everywhere.  You cannot use
> dg-require-effective markers in the gnat.dg testsuite since the harness
> will try to compile a C test with gnatmake and this isn't supported.

We need to run these tests again.  Maybe adding dg-xfail-if directives would 
do the job, but I don't have the setup to check.

Tested on i586-suse-linux, applied on the mainline.


2010-11-25  Eric Botcazou  <ebotcazou@adacore.com>

	* gnat.dg/loop_optimization7.adb: Remove dg-require-effective-target.
	* gnat.dg/sse_nolib.adb: Likewise.


-- 
Eric Botcazou
Index: gnat.dg/sse_nolib.adb
===================================================================
--- gnat.dg/sse_nolib.adb	(revision 167107)
+++ gnat.dg/sse_nolib.adb	(working copy)
@@ -1,6 +1,5 @@
 --  { dg-do run { target i?86-*-* x86_64-*-* } }
 --  { dg-options "-O1 -msse" }
---  { dg-require-effective-target sse } 
 
 with Ada.Unchecked_Conversion;
 
@@ -11,7 +10,7 @@ procedure SSE_Nolib is
    package SSE_Types is
       VECTOR_ALIGN : constant := 16;
       VECTOR_BYTES : constant := 16;
-            
+
       type m128 is private;
    private
       type m128 is array (1 .. 4) of Float;
Index: gnat.dg/loop_optimization7.adb
===================================================================
--- gnat.dg/loop_optimization7.adb	(revision 167107)
+++ gnat.dg/loop_optimization7.adb	(working copy)
@@ -1,7 +1,6 @@
 -- { dg-do compile }
 -- { dg-options "-O3" }
 -- { dg-options "-O3 -msse" { target i?86-*-* x86_64-*-* } }
--- { dg-require-effective-target sse } 
 
 package body Loop_Optimization7 is
 

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