| 1 |
/* Make sure that we emit .cfa_restore notes for LO and HI. */ |
| 2 |
/* { dg-options "-mips32r2 -msoft-float -g" } */ |
| 3 |
/* { dg-skip-if "forbidding a frame pointer makes this a code quallity test" { *-*-* } { "-O0" } { "" } } */ |
| 4 |
/* { dg-final { scan-assembler "\t\\\.cfi_restore 64\n" } } */ |
| 5 |
/* { dg-final { scan-assembler "\t\\\.cfi_restore 65\n" } } */ |
| 6 |
/* { dg-final { scan-assembler-not "\\\.cfi_def_cfa( |\t)" } } */ |
| 7 |
/* { dg-final { scan-assembler-not "\\\.cfi_def_cfa_register( |\t)" } } */ |
| 8 |
|
| 9 |
extern void f (void); |
| 10 |
|
| 11 |
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set)) |
| 12 |
v1 (void) |
| 13 |
{ |
| 14 |
f (); |
| 15 |
} |