URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [mips/] [save-restore-4.c] - Rev 321
Compare with Previous | Blame | View Log
/* Check that we can use the save instruction to save $16, $17 and $31. */ /* { dg-options "(-mips16) isa_rev>=1 -mabi=32 -O2" } */ void bar (void); MIPS16 void foo (void) { bar (); asm volatile ("" ::: "$16", "$17"); } /* { dg-final { scan-assembler "\tsave\t\[0-9\]*,\\\$16,\\\$17,\\\$31" } } */ /* { dg-final { scan-assembler "\trestore\t\[0-9\]*,\\\$16,\\\$17,\\\$31" } } */