From e2af33815e5793c70ed6f56431768cc1286d6d47 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 6 Apr 2004 22:29:09 +0200 Subject: [PATCH] i386-sse-8.c: Don't use -march=pentium3 on x86_64. * gcc.dg/i386-sse-8.c: Don't use -march=pentium3 on x86_64. * gcc.dg/i386-local.c: Expect %edi, not %eax register on x86_64. * gcc.dg/20020103-1.c: Add -fno-asynchronous-unwind-tables to options. From-SVN: r80464 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.dg/20020103-1.c | 2 +- gcc/testsuite/gcc.dg/i386-local.c | 3 ++- gcc/testsuite/gcc.dg/i386-sse-8.c | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e4d8c8abfb9..77a46b07f8c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-04-06 Jakub Jelinek + + * gcc.dg/i386-sse-8.c: Don't use -march=pentium3 on x86_64. + * gcc.dg/i386-local.c: Expect %edi, not %eax register on x86_64. + * gcc.dg/20020103-1.c: Add -fno-asynchronous-unwind-tables to + options. + 2004-04-06 Uros Bizjak * gcc.dg/builtins-36.c: New test. diff --git a/gcc/testsuite/gcc.dg/20020103-1.c b/gcc/testsuite/gcc.dg/20020103-1.c index 5197fa67e1f..3082247fb0d 100644 --- a/gcc/testsuite/gcc.dg/20020103-1.c +++ b/gcc/testsuite/gcc.dg/20020103-1.c @@ -1,7 +1,7 @@ /* Verify that constant equivalences get reloaded properly, either by being spilled to the stack, or regenerated, but not dropped to memory. */ /* { dg-do compile { target i?86-*-* powerpc-*-* rs6000-*-* alpha*-*-* x86_64-*-*} } */ -/* { dg-options "-O2 -fpic -fno-omit-frame-pointer" } */ +/* { dg-options "-O2 -fpic -fno-omit-frame-pointer -fno-asynchronous-unwind-tables" } */ /* { dg-final { scan-assembler-not "LC" } } */ /* Clobber all call-saved registers that can hold a pointer value. */ diff --git a/gcc/testsuite/gcc.dg/i386-local.c b/gcc/testsuite/gcc.dg/i386-local.c index 0c3103007cf..45d6aba53db 100644 --- a/gcc/testsuite/gcc.dg/i386-local.c +++ b/gcc/testsuite/gcc.dg/i386-local.c @@ -1,6 +1,7 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2 -funit-at-a-time" } */ -/* { dg-final { scan-assembler "magic\[^\\n\]*eax" } } */ +/* { dg-final { scan-assembler "magic\[^\\n\]*eax" { target i?86-*-* } } } */ +/* { dg-final { scan-assembler "magic\[^\\n\]*edi" { target x86_64-*-* } } } */ /* Verify that local calling convention is used. */ static t(int) __attribute__ ((noinline)); diff --git a/gcc/testsuite/gcc.dg/i386-sse-8.c b/gcc/testsuite/gcc.dg/i386-sse-8.c index 8db0df4c4d2..8ec5e7034a5 100644 --- a/gcc/testsuite/gcc.dg/i386-sse-8.c +++ b/gcc/testsuite/gcc.dg/i386-sse-8.c @@ -3,7 +3,7 @@ /* { dg-do compile } */ /* { dg-options "" } */ -/* { dg-options "-march=pentium3" { target i?86-*-* x86_64-*-* } } */ +/* { dg-options "-march=pentium3" { target i?86-*-* } } */ int main() {