From 5a70ef5182ff258522fd55c79d18d0a24fc093fe Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Sun, 11 May 2008 12:03:07 +0000 Subject: [PATCH] scc-1.c: Require mips16_attribute, and add the associated options. gcc/testsuite/ * gcc.target/mips/scc-1.c: Require mips16_attribute, and add the associated options. * gcc.target/mips/scc-3.c: Likewise. From-SVN: r135172 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/mips/scc-1.c | 3 ++- gcc/testsuite/gcc.target/mips/scc-3.c | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e832305f17f..97b447fda2e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2008-05-11 Richard Sandiford + + * gcc.target/mips/scc-1.c: Require mips16_attribute, and add + the associated options. + * gcc.target/mips/scc-3.c: Likewise. + 2008-05-11 Francois-Xavier Coudert * gfortran.dg/default_format_1.f90: Move denormals tests to diff --git a/gcc/testsuite/gcc.target/mips/scc-1.c b/gcc/testsuite/gcc.target/mips/scc-1.c index 443b0bf7d17..4bd4a4c2fb2 100644 --- a/gcc/testsuite/gcc.target/mips/scc-1.c +++ b/gcc/testsuite/gcc.target/mips/scc-1.c @@ -1,5 +1,6 @@ -/* { dg-do compile } */ +/* { dg-do compile { target mips16_attribute } } */ /* { dg-mips-options "-O -mips32" } */ +/* { dg-add-options mips16_attribute } */ /* { dg-final { scan-assembler-times {slt \$2,\$5,\$4} 1 } } */ /* { dg-final { scan-assembler-times {sltu \$2,\$5,\$4} 1 } } */ diff --git a/gcc/testsuite/gcc.target/mips/scc-3.c b/gcc/testsuite/gcc.target/mips/scc-3.c index e496d401dd4..eb9d575f061 100644 --- a/gcc/testsuite/gcc.target/mips/scc-3.c +++ b/gcc/testsuite/gcc.target/mips/scc-3.c @@ -1,5 +1,6 @@ -/* { dg-do compile } */ +/* { dg-do compile { target mips16_attribute } } */ /* { dg-mips-options "-O -mabi=o64" } */ +/* { dg-add-options mips16_attribute } */ /* { dg-final { scan-assembler-not "and\t\|andi\t\|ext\t\|sll\t\|srl\t" } } */ /* { dg-final { scan-assembler-times "slt\t\|sltu\t" 8 } } */ -- 2.30.2