1 /* Check that we save the correct call-saved GPRs and FPRs.  */
2 /* { dg-options "-mabi=32 -mfp64" } */
3 
4 void bar (void);
5 
6 NOCOMPRESSION void
foo(int x)7 foo (int x)
8 {
9   __builtin_unwind_init ();
10   __builtin_eh_return (x, bar);
11 }
12 /* { dg-final { scan-assembler "\\\$16" } } */
13 /* { dg-final { scan-assembler "\\\$17" } } */
14 /* { dg-final { scan-assembler "\\\$18" } } */
15 /* { dg-final { scan-assembler "\\\$19" } } */
16 /* { dg-final { scan-assembler "\\\$20" } } */
17 /* { dg-final { scan-assembler "\\\$21" } } */
18 /* { dg-final { scan-assembler "\\\$22" } } */
19 /* { dg-final { scan-assembler "\\\$23" } } */
20 /* { dg-final { scan-assembler "\\\$(30|fp)" } } */
21 /* { dg-final { scan-assembler "\\\$f20" } } */
22 /* { dg-final { scan-assembler "\\\$f22" } } */
23 /* { dg-final { scan-assembler "\\\$f24" } } */
24 /* { dg-final { scan-assembler "\\\$f26" } } */
25 /* { dg-final { scan-assembler "\\\$f28" } } */
26 /* { dg-final { scan-assembler "\\\$f30" } } */
27 /* { dg-final { scan-assembler-not "\\\$f21" } } */
28 /* { dg-final { scan-assembler-not "\\\$f23" } } */
29 /* { dg-final { scan-assembler-not "\\\$f25" } } */
30 /* { dg-final { scan-assembler-not "\\\$f27" } } */
31 /* { dg-final { scan-assembler-not "\\\$f29" } } */
32 /* { dg-final { scan-assembler-not "\\\$f31" } } */
33