gcc/testsuite/gcc.target/aarch64/test_frame_12.c
raw| 1 | /* Verify: |
| 2 | * with outgoing. |
| 3 | * total frame size <= 512. |
| 4 | * number of callee-save reg >= 2. */ |
| 5 | |
| 6 | /* { dg-do run } */ |
| 7 | /* { dg-options "-O2 --save-temps" } */ |
| 8 | |
| 9 | #include "test_frame_common.h" |
| 10 | |
| 11 | t_frame_pattern_outgoing (test12, 400, , 8, a[8]) |
| 12 | t_frame_run (test12) |
| 13 | |
| 14 | /* { dg-final { scan-assembler-times "sub\tsp, sp, #\[0-9\]+" 1 } } */ |
| 15 | |
| 16 | /* Check epilogue using no write-back. */ |
| 17 | /* { dg-final { scan-assembler "ldp\tx29, x30, \\\[sp, \[0-9\]+\\\]" } } */ |
| 18 |