URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [call-saved-2.c] - Rev 691
Compare with Previous | Blame | View Log
/* Check that we save non-MIPS16 GPRs if they are explicitly clobbered. */ /* { dg-options "(-mips16) isa_rev=0 -O2" } */ MIPS16 void foo (void) { asm volatile ("" ::: "$19", "$23", "$24", "$30"); } /* { dg-final { scan-assembler-not "\\\$16" } } */ /* { dg-final { scan-assembler-not "\\\$17" } } */ /* { dg-final { scan-assembler-not "\\\$18" } } */ /* { dg-final { scan-assembler "\\\$19" } } */ /* { dg-final { scan-assembler-not "\\\$20" } } */ /* { dg-final { scan-assembler-not "\\\$21" } } */ /* { dg-final { scan-assembler-not "\\\$22" } } */ /* { dg-final { scan-assembler "\\\$23" } } */ /* { dg-final { scan-assembler-not "\\\$24" } } */ /* { dg-final { scan-assembler "\\\$(30|fp)" } } */