1 /* Check that we can use the save instruction to save $16, $17 and $31. */
2 /* { dg-do compile { target mips16_attribute } } */
3 /* { dg-mips-options "-mips32r2 -mgp32 -O2" } */
4 /* { dg-add-options mips16_attribute } */
12 asm volatile ("" ::: "$16", "$17");
14 /* { dg-final { scan-assembler "\tsave\t\[0-9\]*,\\\$16,\\\$17,\\\$31" } } */
15 /* { dg-final { scan-assembler "\trestore\t\[0-9\]*,\\\$16,\\\$17,\\\$31" } } */