Commit ca6b7cec by Eric Botcazou Committed by Eric Botcazou

simd-4.x: Remove.

	* gcc.c-torture/execute/simd-4.x: Remove.
	* gcc.c-torture/execute/va-arg-25.x: Likewise.
	* gcc.dg/compat/vector-1_x.c: Do not XFAIL on SPARC.
	Guard with #ifndef SKIP_ATTRIBUTE.
	* gcc.dg/compat/vector-1_y.c: Likewise.
	* gcc.dg/compat/vector-2_x.c: Likewise.
	* gcc.dg/compat/vector-2_y.c: Likewise.
	* g++.dg/eh/simd-1.C: Do not XFAIL on SPARC.
	* g++.dg/eh/simd-2.C: Likewise.

From-SVN: r78089
parent 1b5963f7
2004-02-19 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/execute/simd-4.x: Remove.
* gcc.c-torture/execute/va-arg-25.x: Likewise.
* gcc.dg/compat/vector-1_x.c: Do not XFAIL on SPARC.
Guard with #ifndef SKIP_ATTRIBUTE.
* gcc.dg/compat/vector-1_y.c: Likewise.
* gcc.dg/compat/vector-2_x.c: Likewise.
* gcc.dg/compat/vector-2_y.c: Likewise.
* g++.dg/eh/simd-1.C: Do not XFAIL on SPARC.
* g++.dg/eh/simd-2.C: Likewise.
2004-02-19 Alan Modra <amodra@bigpond.net.au> 2004-02-19 Alan Modra <amodra@bigpond.net.au>
* gcc.c-torture/compile/complex-1.c: New. * gcc.c-torture/compile/complex-1.c: New.
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
// { dg-options "-O" } // { dg-options "-O" }
// { dg-options "-O -w" { target i?86-*-* } } // { dg-options "-O -w" { target i?86-*-* } }
// { dg-do run } // { dg-do run }
// { dg-error "" "PR target/12916" { target sparc*-*-* } 11 }
typedef int __attribute__((mode(V2SI))) vecint; typedef int __attribute__((mode(V2SI))) vecint;
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
// { dg-options "-O -w" { target i?86-*-* } } // { dg-options "-O -w" { target i?86-*-* } }
// { dg-options "-O -w -maltivec" { target powerpc64-*-linux* } } // { dg-options "-O -w -maltivec" { target powerpc64-*-linux* } }
// { dg-do run { xfail "powerpc64-*-linux*"} } // { dg-do run { xfail "powerpc64-*-linux*"} }
// { dg-error "" "PR target/12916" { target sparc64-*-* sparcv9-*-* } 13 }
// { dg-error "" "PR target/12916" { target sparc-*-* } 15 }
typedef int __attribute__((mode(V4SI))) vecint; typedef int __attribute__((mode(V4SI))) vecint;
......
# This doesn't work on sparc*-*-* at -O0.
set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"PR target/12916" \
{ "sparc*-*-*" } \
{ "-O0" } \
{ "" }
}
}
return 0
# This doesn't work on SPARC 64-bit.
if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"PR target/12916" \
{ "*-*-*" } \
{ "*" } \
{ "-m32" }
}
}
} elseif { [istarget "sparc-*-*"] } {
set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"PR target/12916" \
{ "*-*-*" } \
{ "-m64" } \
{ "" }
}
}
}
return 0
/* { dg-options "-w" } */ /* { dg-options "-w" } */
/* { dg-xfail-if "PR target/12916" "sparc*-*-*" "*" "" } */
#ifndef SKIP_ATTRIBUTE
#include "compat-common.h" #include "compat-common.h"
#include "vector-defs.h" #include "vector-defs.h"
...@@ -15,9 +16,12 @@ SETUP (4, si); ...@@ -15,9 +16,12 @@ SETUP (4, si);
SETUP (1, di); SETUP (1, di);
SETUP (2, di); SETUP (2, di);
#endif
void void
vector_1_x (void) vector_1_x (void)
{ {
#ifndef SKIP_ATTRIBUTE
DEBUG_INIT DEBUG_INIT
CHECK (8, qi); CHECK (8, qi);
...@@ -34,4 +38,5 @@ vector_1_x (void) ...@@ -34,4 +38,5 @@ vector_1_x (void)
if (fails != 0) if (fails != 0)
abort (); abort ();
#endif
} }
/* { dg-options "-w" } */ /* { dg-options "-w" } */
/* { dg-xfail-if "PR target/12916" "sparc*-*-*" "*" "" } */
#ifndef SKIP_ATTRIBUTE
#include "compat-common.h" #include "compat-common.h"
#include "vector-defs.h" #include "vector-defs.h"
...@@ -14,3 +15,5 @@ TEST (2, si, 301) ...@@ -14,3 +15,5 @@ TEST (2, si, 301)
TEST (4, si, 302) TEST (4, si, 302)
TEST (1, di, 401) TEST (1, di, 401)
TEST (2, di, 402) TEST (2, di, 402)
#endif
/* { dg-options "-w" } */ /* { dg-options "-w" } */
/* { dg-xfail-if "PR target/12916" "sparc*-*-*" "*" "" } */
#ifndef SKIP_ATTRIBUTE
#include "compat-common.h" #include "compat-common.h"
#include "vector-defs.h" #include "vector-defs.h"
...@@ -10,9 +11,12 @@ SETUP (4, sf); ...@@ -10,9 +11,12 @@ SETUP (4, sf);
SETUP (16, sf); SETUP (16, sf);
SETUP (2, df); SETUP (2, df);
#endif
void void
vector_2_x (void) vector_2_x (void)
{ {
#ifndef SKIP_ATTRIBUTE
DEBUG_INIT DEBUG_INIT
CHECK (2, sf); CHECK (2, sf);
...@@ -24,4 +28,5 @@ vector_2_x (void) ...@@ -24,4 +28,5 @@ vector_2_x (void)
if (fails != 0) if (fails != 0)
abort (); abort ();
#endif
} }
/* { dg-options "-w" } */ /* { dg-options "-w" } */
/* { dg-xfail-if "PR target/12916" "sparc*-*-*" "*" "" } */
#ifndef SKIP_ATTRIBUTE
#include "compat-common.h" #include "compat-common.h"
#include "vector-defs.h" #include "vector-defs.h"
...@@ -9,3 +10,5 @@ TEST (2, sf, 301.0) ...@@ -9,3 +10,5 @@ TEST (2, sf, 301.0)
TEST (4, sf, 302.0) TEST (4, sf, 302.0)
TEST (16, sf, 304.0) TEST (16, sf, 304.0)
TEST (2, df, 402.0) TEST (2, df, 402.0)
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment