From 99f4c49e8a85e0b95c8676432b26b38bb11cc0de Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 25 Aug 2005 08:42:01 +0000 Subject: 20020103-1.c: Scan for LC[0-9], not LC. * gcc.dg/20020103-1.c: Scan for LC[0-9], not LC. * gcc.dg/altivec-22.c: Rename from.. * gcc.dg/altivec-nomfcr.c: ..this. From-SVN: r103479 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/20020103-1.c | 2 +- gcc/testsuite/gcc.dg/altivec-22.c | 10 ++++++++++ gcc/testsuite/gcc.dg/altivec-nomfcr.c | 10 ---------- 4 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 gcc/testsuite/gcc.dg/altivec-22.c delete mode 100644 gcc/testsuite/gcc.dg/altivec-nomfcr.c (limited to 'gcc') diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 738bc55..842d7a1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-08-25 Alan Modra + + * gcc.dg/20020103-1.c: Scan for LC[0-9], not LC. + * gcc.dg/altivec-22.c: Rename from.. + * gcc.dg/altivec-nomfcr.c: ..this. + 2005-08-24 Paolo Bonzini PR tree-optimization/23546 diff --git a/gcc/testsuite/gcc.dg/20020103-1.c b/gcc/testsuite/gcc.dg/20020103-1.c index 3082247..54ad83c 100644 --- a/gcc/testsuite/gcc.dg/20020103-1.c +++ b/gcc/testsuite/gcc.dg/20020103-1.c @@ -2,7 +2,7 @@ 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 -fno-asynchronous-unwind-tables" } */ -/* { dg-final { scan-assembler-not "LC" } } */ +/* { dg-final { scan-assembler-not "LC\[0-9\]" } } */ /* Clobber all call-saved registers that can hold a pointer value. */ #if defined(__i386__) diff --git a/gcc/testsuite/gcc.dg/altivec-22.c b/gcc/testsuite/gcc.dg/altivec-22.c new file mode 100644 index 0000000..5c8c96b --- /dev/null +++ b/gcc/testsuite/gcc.dg/altivec-22.c @@ -0,0 +1,10 @@ +/* { dg-do compile { target powerpc-*-* } } */ +/* { dg-options "-O3 -maltivec" } */ +/* { dg-final { scan-assembler-not "mfcr" } } */ + +#include + +int foo(vector float x, vector float y) { + if (vec_all_eq(x,y)) return 3245; + else return 12; +} diff --git a/gcc/testsuite/gcc.dg/altivec-nomfcr.c b/gcc/testsuite/gcc.dg/altivec-nomfcr.c deleted file mode 100644 index 5c8c96b..0000000 --- a/gcc/testsuite/gcc.dg/altivec-nomfcr.c +++ /dev/null @@ -1,10 +0,0 @@ -/* { dg-do compile { target powerpc-*-* } } */ -/* { dg-options "-O3 -maltivec" } */ -/* { dg-final { scan-assembler-not "mfcr" } } */ - -#include - -int foo(vector float x, vector float y) { - if (vec_all_eq(x,y)) return 3245; - else return 12; -} -- cgit v1.1