summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/interrupt_handler-3.c
blob: 298e04677792b6af087dcc318f2550bf03c997dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* Make sure that we emit .cfa_restore notes for LO, HI and GPRs.  */
/* { dg-options "-mips32r2 -msoft-float -g" } */
/* { dg-skip-if "forbidding a frame pointer makes this a code quallity test" { *-*-* } { "-O0" } { "" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 1\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 2\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 3\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 4\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 5\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 6\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 7\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 8\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 9\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 10\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 11\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 12\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 13\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 14\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 15\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 24\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 25\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 31\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 64\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_restore 65\n" } } */
/* { dg-final { scan-assembler "\t\\\.cfi_def_cfa_offset 0\n" } } */
/* { dg-final { scan-assembler-not "\\\.cfi_def_cfa( |\t)" } } */
/* { dg-final { scan-assembler-not "\\\.cfi_def_cfa_register( |\t)" } } */

extern void f (void);

NOMIPS16 void __attribute__ ((interrupt))
v1 (void)
{
  f ();
}