From: Richard Sandiford Date: Mon, 19 Aug 2013 17:35:57 +0000 (+0000) Subject: mulsize-1.c: Check for SLL as well as SUBU. X-Git-Tag: upstream/12.2.0~68338 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a3def9768c4ad790f4d5f14c1bf17d39b184987;p=platform%2Fupstream%2Fgcc.git mulsize-1.c: Check for SLL as well as SUBU. gcc/testsuite/ * gcc.target/mips/mulsize-1.c: Check for SLL as well as SUBU. * gcc.target/mips/mulsize-2.c: Check for ADDU rather than SUBU. Check for SLL too. From-SVN: r201848 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65e70f1..04ee703 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2013-08-19 Richard Sandiford + + * gcc.target/mips/mulsize-1.c: Check for SLL as well as SUBU. + * gcc.target/mips/mulsize-2.c: Check for ADDU rather than SUBU. + Check for SLL too. + 2013-08-19 Joern Rennecke * gcc.target/avr/progmem-error-1.cpp: Update linenumber of error. diff --git a/gcc/testsuite/gcc.target/mips/mulsize-1.c b/gcc/testsuite/gcc.target/mips/mulsize-1.c index 4dd5a19..0997fd9 100644 --- a/gcc/testsuite/gcc.target/mips/mulsize-1.c +++ b/gcc/testsuite/gcc.target/mips/mulsize-1.c @@ -1,4 +1,5 @@ /* { dg-final { scan-assembler "\t.globl\tf7" } } */ +/* { dg-final { scan-assembler "\tsll\t" } } */ /* { dg-final { scan-assembler "\tsubu\t" } } */ /* { dg-final { scan-assembler-not "\tli\t" } } */ /* { dg-final { scan-assembler-not "\tmul\t" } } */ diff --git a/gcc/testsuite/gcc.target/mips/mulsize-2.c b/gcc/testsuite/gcc.target/mips/mulsize-2.c index c427bfa..4cc2224 100644 --- a/gcc/testsuite/gcc.target/mips/mulsize-2.c +++ b/gcc/testsuite/gcc.target/mips/mulsize-2.c @@ -1,5 +1,6 @@ /* { dg-final { scan-assembler "\t.globl\tf9" } } */ -/* { dg-final { scan-assembler "\tsubu\t" } } */ +/* { dg-final { scan-assembler "\tsll\t" } } */ +/* { dg-final { scan-assembler "\taddu\t" } } */ /* { dg-final { scan-assembler-not "\tli\t" } } */ /* { dg-final { scan-assembler-not "\tmul\t" } } */ int