(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
mips/
save-restore-4.c
       1  /* Check that we can use the save instruction to save $16, $17 and $31.  */
       2  /* { dg-options "(-mips16) isa_rev>=1 -mabi=32" } */
       3  /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
       4  
       5  void bar (void);
       6  
       7  MIPS16 void
       8  foo (void)
       9  {
      10    bar ();
      11    asm volatile ("" ::: "$16", "$17");
      12  }
      13  /* { dg-final { scan-assembler "\tsave\t\[0-9\]*,\\\$16,\\\$17,\\\$31" } } */
      14  /* { dg-final { scan-assembler "\trestore\t\[0-9\]*,\\\$16,\\\$17,\\\$31" } } */