Commit 432be037 by Eric Botcazou Committed by Eric Botcazou

simd-5.c: Do not XFAIL on SPARC 64-bit.

	* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit.
	* gcc.c-torture/execute/20020227-1.x: Likewise.
	* gcc.c-torture/execute/simd-5.x: Remove.

From-SVN: r90184
parent 194acded
2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.c-torture/compile/simd-5.c: Do not XFAIL on SPARC 64-bit.
* gcc.c-torture/execute/20020227-1.x: Likewise.
* gcc.c-torture/execute/simd-5.x: Remove.
2004-11-06 Andrew Pinski <pinskia@physics.uc.edu> 2004-11-06 Andrew Pinski <pinskia@physics.uc.edu>
PR rtl-optimization/17933 PR rtl-optimization/17933
......
/* On SPARC64/SPARC-V9 it fails at -O0 and -O1, except with -m32. */
/* { dg-xfail-if "PR target/9200" { "sparc64-*-*" "sparcv9-*-*" } { "-O0" "-O1" } { "-m32" } } */
/* On regular SPARC it doesn't fail, except with -m64 at -O0 and -O1. */
/* { dg-xfail-if "PR target/9200" { "sparc-*-*" } { "-m64 -O0" "-m64 -O1" } { "" } } */
#define vector64 __attribute__((vector_size(8))) #define vector64 __attribute__((vector_size(8)))
main(){ main(){
......
...@@ -3,25 +3,25 @@ ...@@ -3,25 +3,25 @@
# sparc64/sparcv9 and mmix during April 2002. # sparc64/sparcv9 and mmix during April 2002.
if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } { if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
# On sparc64/sparcv9 it doesn't fail at -O0/-O1, or at all with -m32. # On sparc64/sparcv9 it doesn't fail at -O0/-O1/-O3, or at all with -m32.
set torture_eval_before_execute { set torture_eval_before_execute {
global compiler_conditional_xfail_data global compiler_conditional_xfail_data
set compiler_conditional_xfail_data { set compiler_conditional_xfail_data {
"This test fails on 64-bit targets, see PR6221." \ "This test fails on 64-bit targets, see PR6221." \
{ "*-*-*" } \ { "*-*-*" } \
{ "-O2" "-O3" "-Os" } \ { "-O2" "-Os" } \
{ "-m32" } { "-m32" }
} }
} }
} elseif { [istarget "sparc-*-*"] } { } elseif { [istarget "sparc-*-*"] } {
# Regular sparc fails with -m64, but not with -O0/-O1. # Regular sparc fails with -m64, but not with -O0/-O1/-O3.
set torture_eval_before_execute { set torture_eval_before_execute {
global compiler_conditional_xfail_data global compiler_conditional_xfail_data
set compiler_conditional_xfail_data { set compiler_conditional_xfail_data {
"This test fails on 64-bit targets, see PR6221." \ "This test fails on 64-bit targets, see PR6221." \
{ "*-*-*" } \ { "*-*-*" } \
{ "-m64" } \ { "-m64" } \
{ "-O0" "-O1" } { "-O0" "-O1" "-O3" }
} }
} }
} elseif { [istarget "powerpc64-*-*"] || [istarget "x86_64-*-*"] } { } elseif { [istarget "powerpc64-*-*"] || [istarget "x86_64-*-*"] } {
......
if { [istarget "sparc64-*-*"] || [istarget "sparcv9-*-*"] } {
set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"PR middle-end/9200" \
{ "*-*-*" } \
{ "-O0" } \
{ "-m32" }
}
}
} elseif { [istarget "sparc-*-*"] } {
set torture_eval_before_compile {
global compiler_conditional_xfail_data
set compiler_conditional_xfail_data {
"PR middle-end/9200" \
{ "*-*-*" } \
{ "-m64" } \
{ "-O1" "-O2" "-O3" "-Os" }
}
}
}
return 0
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