From: Adam Nemet Date: Tue, 27 Jan 2009 07:41:46 +0000 (+0000) Subject: re PR testsuite/38864 (Fixed-point tests under gcc.target/mips are missing the fixed_... X-Git-Tag: releases/gcc-4.4.0~738 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8cff583a258b08c0dc0d0f101a5b11c8b58115ca;p=thirdparty%2Fgcc.git re PR testsuite/38864 (Fixed-point tests under gcc.target/mips are missing the fixed_point target check) PR testsuite/38864 * gcc.target/mips/fixed-vector-type.c: Add { target { fixed_point} } to dg-do compile. * gcc.target/mips/fixed-scalar-type.c: Likewise. * gcc.target/mips/dpaq_sa_l_w.c: Likewise. * gcc.target/mips/dpsq_sa_l_w.c: Likewise. From-SVN: r143694 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 89c32e50df64..7718c9187e3a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2009-01-26 Adam Nemet + + PR testsuite/38864 + * gcc.target/mips/fixed-vector-type.c: Add target { fixed_point} + to dg-do compile. + * gcc.target/mips/fixed-scalar-type.c: Likewise. + * gcc.target/mips/dpaq_sa_l_w.c: Likewise. + * gcc.target/mips/dpsq_sa_l_w.c: Likewise. + 2009-01-26 H.J. Lu PR target/38952 diff --git a/gcc/testsuite/gcc.target/mips/dpaq_sa_l_w.c b/gcc/testsuite/gcc.target/mips/dpaq_sa_l_w.c index d1812c165206..87d1da98cb52 100644 --- a/gcc/testsuite/gcc.target/mips/dpaq_sa_l_w.c +++ b/gcc/testsuite/gcc.target/mips/dpaq_sa_l_w.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { fixed_point } } } */ /* { dg-options "-O2 -mgp32 -mdsp" } */ /* { dg-final { scan-assembler-times "\tdpaq_sa.l.w\t\\\$ac" 3 } } */ diff --git a/gcc/testsuite/gcc.target/mips/dpsq_sa_l_w.c b/gcc/testsuite/gcc.target/mips/dpsq_sa_l_w.c index 849bd9232613..9aeb5667acff 100644 --- a/gcc/testsuite/gcc.target/mips/dpsq_sa_l_w.c +++ b/gcc/testsuite/gcc.target/mips/dpsq_sa_l_w.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target { fixed_point } } } */ /* { dg-options "-O2 -mgp32 -mdsp" } */ /* { dg-final { scan-assembler-times "\tdpsq_sa.l.w\t\\\$ac" 2 } } */ diff --git a/gcc/testsuite/gcc.target/mips/fixed-scalar-type.c b/gcc/testsuite/gcc.target/mips/fixed-scalar-type.c index a2e2fbfefe30..b4734f4d5224 100644 --- a/gcc/testsuite/gcc.target/mips/fixed-scalar-type.c +++ b/gcc/testsuite/gcc.target/mips/fixed-scalar-type.c @@ -1,5 +1,5 @@ /* Test scalar fixed-point instructions */ -/* { dg-do compile } */ +/* { dg-do compile { target { fixed_point } } } */ /* { dg-options "-mdspr2 -O2" } */ /* { dg-final { scan-assembler-times "\taddu\t" 10 } } */ /* { dg-final { scan-assembler-times "\tsubu\t" 10 } } */ diff --git a/gcc/testsuite/gcc.target/mips/fixed-vector-type.c b/gcc/testsuite/gcc.target/mips/fixed-vector-type.c index 2fb16aa1d07f..9b67704794fa 100644 --- a/gcc/testsuite/gcc.target/mips/fixed-vector-type.c +++ b/gcc/testsuite/gcc.target/mips/fixed-vector-type.c @@ -1,5 +1,5 @@ /* Test vector fixed-point instructions */ -/* { dg-do compile } */ +/* { dg-do compile { target { fixed_point } } } */ /* { dg-options "-mdspr2 -O2" } */ /* { dg-final { scan-assembler-times "\taddq_s.ph\t" 2 } } */ /* { dg-final { scan-assembler-times "\tsubq_s.ph\t" 2 } } */