diff mbox

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

Message ID 201011251252.05320.ebotcazou@adacore.com
State New
Headers show

Commit Message

Eric Botcazou Nov. 25, 2010, 11:52 a.m. UTC
> > 	* 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.

Comments

Rainer Orth Nov. 25, 2010, 11:55 a.m. UTC | #1
Eric Botcazou <ebotcazou@adacore.com> writes:

>> > 	* 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.

I do have a patch to compile *.c tests with gcc_target_compile instead
of gnat_target_compile, but hadn't gotten around to fully test it.
Hopefully will so later today or tomorrow.

Sorry for the delay.

	Rainer
diff mbox

Patch

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