clear-cache-1.c: Test for alternate cache flush function names too.

2012-08-04  Sandra Loosemore  <sandra@codesourcery.com>
	    Catherine Moore  <clm@codesourcery.com>

	gcc/testsuite/
	* gcc.target/mips/clear-cache-1.c: Test for alternate cache
	flush function names too.
	* gcc.target/mips/clear-cache-1.c: Likewise.

Co-Authored-By: Catherine Moore <clm@codesourcery.com>

From-SVN: r190145
This commit is contained in:
Sandra Loosemore 2012-08-04 18:05:55 -04:00 committed by Sandra Loosemore
parent 57bdf399d4
commit b6f1f6eaed
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2012-08-04 Sandra Loosemore <sandra@codesourcery.com>
Catherine Moore <clm@codesourcery.com>
* gcc.target/mips/clear-cache-1.c: Test for alternate cache
flush function names too.
* gcc.target/mips/clear-cache-1.c: Likewise.
2012-08-03 Bill Schmidt <wschmidt@linux.ibm.com>
PR target/54156

View File

@ -2,7 +2,7 @@
/* { dg-options "-O2 -msynci isa_rev>=2" } */
/* { dg-final { scan-assembler "synci" } } */
/* { dg-final { scan-assembler "jr.hb" } } */
/* { dg-final { scan-assembler-not "_flush_cache" } } */
/* { dg-final { scan-assembler-not "_flush_cache|mips_sync_icache|_cacheflush" } } */
NOMIPS16 void f()
{

View File

@ -2,7 +2,7 @@
/* { dg-options "-O2 -mips32" } */
/* { dg-final { scan-assembler-not "synci" } } */
/* { dg-final { scan-assembler-not "jr.hb" } } */
/* { dg-final { scan-assembler "_flush_cache" } } */
/* { dg-final { scan-assembler "_flush_cache|mips_sync_icache|_cacheflush" } } */
void f()
{