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
This commit is contained in:
Richard Sandiford 2013-08-19 17:35:57 +00:00 committed by Richard Sandiford
parent cfbf3ee885
commit 7a3def9768
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-08-19 Richard Sandiford <rdsandiford@googlemail.com>
* 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 <joern.rennecke@embecosm.com>
* gcc.target/avr/progmem-error-1.cpp: Update linenumber of error.

View File

@ -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" } } */

View File

@ -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