simd-5.x: XFAIL on SPARC64.
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sat, 24 May 2003 11:52:18 +0000 (13:52 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 24 May 2003 11:52:18 +0000 (11:52 +0000)
* gcc.c-torture/compile/simd-5.x: XFAIL on SPARC64.

Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r67151

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/simd-5.x

index 81eb8e9b60a40377423ff503960d6a80289fae6b..aea6a2574525b01732b29cd489f70d3d71dc07dd 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-24  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+       * gcc.c-torture/compile/simd-5.x: XFAIL on SPARC64.
+
 2003-05-24  Andreas Tobler <a.tobler@schweiz.ch>
 
         * gcc.dg/torture/builtin-noret-1.c: Add dg-option -multiply_defined
index 81c9ccaa2f53d105a66a473c61182708d6f7a90d..ada37b186527abbb9cfdcdefccd5979a03709a37 100644 (file)
@@ -3,13 +3,38 @@ if { [istarget "h8300-*-*"] } {
     return 1;
 }
 
-# PowerPC-64 doesn't handle this; see PR target/9680
-set torture_eval_before_compile {
-    set compiler_conditional_xfail_data {
-        "PR target/9680" \
-        "powerpc64-*-*" \
-        { "*" } \
-        { "" }
+if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
+    # On SPARC64/SPARC-V9 it fails, except with -m32.
+    set torture_eval_before_compile {
+        global compiler_conditional_xfail_data
+        set compiler_conditional_xfail_data {
+            "PR target/9200" \
+            { "*-*-*" } \
+            { "*" } \
+            { "-m32" }
+        }
+    }
+} elseif { [istarget "sparc-*-*"] } {
+    # On regular SPARC it doesn't fail, except with -m64.
+    set torture_eval_before_compile {
+        global compiler_conditional_xfail_data
+        set compiler_conditional_xfail_data {
+            "PR target/9200" \
+            { "*-*-*" } \
+            { "-m64" } \
+            { "" }
+        }
+    }
+} elseif { [istarget "powerpc64-*-*"] } {
+    # On PowerPC-64 it fails unconditionally.
+    set torture_eval_before_compile {
+        global compiler_conditional_xfail_data
+        set compiler_conditional_xfail_data {
+            "PR target/9680" \
+            "*-*-*" \
+            { "*" } \
+            { "" }
+        }
     }
 }