From 7e7100abaef427034e92345d21bf96b2855fa706 Mon Sep 17 00:00:00 2001 From: janis Date: Wed, 12 Oct 2011 22:38:57 +0000 Subject: [PATCH] * gcc.target/powerpc/ppc-fma-3.c: Require powerpc_fprs. * gcc.target/powerpc/ppc-fma-4.c: Likewise. * gcc.target/powerpc/ppc-fma-5.c: Likewise. * gcc.target/powerpc/ppc-fma-7.c: Likewise. * gcc.target/powerpc/ppc-fpconv-11.c: Likewise. * gcc.target/powerpc/ppc-fpconv-3.c: Likewise. * gcc.target/powerpc/ppc-fpconv-7.c: Likewise. * gcc.target/powerpc/ppc-fpconv-8.c: Likewise. * gcc.target/powerpc/ppc-pow.c: Likewise. * gcc.target/powerpc/recip-1.c: Likewise. * gcc.target/powerpc/recip-2.c: Likewise. * gcc.target/powerpc/recip-3.c: Likewise. * gcc.target/powerpc/recip-4.c: Likewise. * gcc.target/powerpc/recip-5.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179876 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 17 +++++++++++++++++ gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c | 1 + gcc/testsuite/gcc.target/powerpc/ppc-pow.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-1.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-2.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-3.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-4.c | 1 + gcc/testsuite/gcc.target/powerpc/recip-5.c | 1 + 15 files changed, 31 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 943f36f..f52cb97 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,20 @@ +2011-10-12 Janis Johnson + + * gcc.target/powerpc/ppc-fma-3.c: Require powerpc_fprs. + * gcc.target/powerpc/ppc-fma-4.c: Likewise. + * gcc.target/powerpc/ppc-fma-5.c: Likewise. + * gcc.target/powerpc/ppc-fma-7.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-11.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-3.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-7.c: Likewise. + * gcc.target/powerpc/ppc-fpconv-8.c: Likewise. + * gcc.target/powerpc/ppc-pow.c: Likewise. + * gcc.target/powerpc/recip-1.c: Likewise. + * gcc.target/powerpc/recip-2.c: Likewise. + * gcc.target/powerpc/recip-3.c: Likewise. + * gcc.target/powerpc/recip-4.c: Likewise. + * gcc.target/powerpc/recip-5.c: Likewise. + 2011-10-12 David S. Miller * gcc.target/sparc/cmask.c: Remove 'vis3' target check and specify diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c index c83c582..3203704 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power6 -maltivec -ffast-math" } */ /* { dg-final { scan-assembler-times "vmaddfp" 2 } } */ /* { dg-final { scan-assembler-times "fmadd " 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c index 44da6e7..35836ee 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-4.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power6 -maltivec -ffast-math -ffp-contract=off" } */ /* { dg-final { scan-assembler-times "vmaddfp" 1 } } */ /* { dg-final { scan-assembler-times "fmadd " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c index 97243af..e5ba874 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-5.c @@ -1,5 +1,6 @@ /* { dg-do run { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O2 -mcpu=power5 -std=c99" } */ #ifndef __FP_FAST_FMA diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c b/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c index ec0c3d7..f6e7e4c 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fma-7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O3 -ftree-vectorize -mcpu=power6 -ffast-math" } */ /* { dg-final { scan-assembler-times "fmadd" 1 } } */ /* { dg-final { scan-assembler-times "fmsub " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c index 2eebbb4..23b3d1e 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-11.c @@ -1,5 +1,6 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O2 -mcpu=power5+ -ffast-math" } */ /* { dg-final { scan-assembler-not "xsrdpiz" } } */ /* { dg-final { scan-assembler "friz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c index 6196162..bf12113 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-3.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O2 -mcpu=power5 -ffast-math" } */ /* { dg-final { scan-assembler-not "lfiwax" } } */ /* { dg-final { scan-assembler-not "lfiwzx" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c index 007c864..808cbc3 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-7.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O3 -mcpu=power5 -ffast-math" } */ /* { dg-final { scan-assembler-times "fctiwz" 2 } } */ /* { dg-final { scan-assembler-not "fctiwuz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c index b5410f6..f841d7e 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-fpconv-8.c @@ -1,6 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O3 -mcpu=750 -ffast-math" } */ /* { dg-final { scan-assembler-times "fctiwz" 6 } } */ /* { dg-final { scan-assembler-not "fctiwuz" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/ppc-pow.c b/gcc/testsuite/gcc.target/powerpc/ppc-pow.c index e88125c..ee09d69 100644 --- a/gcc/testsuite/gcc.target/powerpc/ppc-pow.c +++ b/gcc/testsuite/gcc.target/powerpc/ppc-pow.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple-darwin* } } } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O2 -ffast-math -mcpu=power6" } */ /* { dg-final { scan-assembler-times "fsqrt" 3 } } */ /* { dg-final { scan-assembler-times "fmul" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-1.c b/gcc/testsuite/gcc.target/powerpc/recip-1.c index 590881b..4ae0c4f 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-1.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple-darwin* } } } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power6" } */ /* { dg-final { scan-assembler-times "frsqrte" 2 } } */ /* { dg-final { scan-assembler-times "fmsub" 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-2.c b/gcc/testsuite/gcc.target/powerpc/recip-2.c index 3e64c07..5c9fbbd 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-2.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-2.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple-darwin* } } } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power5" } */ /* { dg-final { scan-assembler-times "frsqrtes" 1 } } */ /* { dg-final { scan-assembler-times "fmsubs" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-3.c b/gcc/testsuite/gcc.target/powerpc/recip-3.c index 4065881..905e793 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-3.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-3.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { { powerpc*-*-* } && { ! powerpc*-apple-darwin* } } } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O2 -mrecip -ffast-math -mcpu=power7" } */ /* { dg-final { scan-assembler-times "xsrsqrtedp" 1 } } */ /* { dg-final { scan-assembler-times "xsmsub.dp\|fmsub\ " 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-4.c b/gcc/testsuite/gcc.target/powerpc/recip-4.c index bd496d7..35eef6f 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-4.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-4.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O3 -ftree-vectorize -mrecip -ffast-math -mcpu=power7 -fno-unroll-loops" } */ /* { dg-final { scan-assembler-times "xvrsqrtedp" 1 } } */ /* { dg-final { scan-assembler-times "xvmsub.dp" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/recip-5.c b/gcc/testsuite/gcc.target/powerpc/recip-5.c index 4a9c496..0b3823c 100644 --- a/gcc/testsuite/gcc.target/powerpc/recip-5.c +++ b/gcc/testsuite/gcc.target/powerpc/recip-5.c @@ -1,4 +1,5 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target powerpc_fprs } */ /* { dg-options "-O3 -ftree-vectorize -mrecip=all -ffast-math -mcpu=power7 -fno-unroll-loops" } */ /* { dg-final { scan-assembler-times "xvredp" 4 } } */ /* { dg-final { scan-assembler-times "xvresp" 5 } } */ -- 2.7.4