1  /* Check that we can use the swm instruction to save $16, $17 and $31.  */
       2  /* { dg-options "-mgp32 (-mmicromips)" } */
       3  /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
       4  
       5  void bar (void);
       6  
       7  MICROMIPS void
       8  foo (void)
       9  {
      10    bar ();
      11    asm volatile ("" ::: "$16", "$17");
      12  }
      13  /* { dg-final { scan-assembler "\tswm\t\\\$16-\\\$17,\\\$31" } } */
      14  /* { dg-final { scan-assembler "\tlwm\t\\\$16-\\\$17,\\\$31" } } */