gcc/testsuite/gcc.target/aarch64/test_frame_13.c
raw| 1 | /* Verify: |
| 2 | * without outgoing. |
| 3 | * total frame size > 512. |
| 4 | * number of callee-save reg >= 2. |
| 5 | * Use a single stack adjustment, no writeback. */ |
| 6 | |
| 7 | /* { dg-do run } */ |
| 8 | /* { dg-options "-O2 --save-temps -fno-stack-protector" } */ |
| 9 | |
| 10 | #include "test_frame_common.h" |
| 11 | |
| 12 | t_frame_pattern (test13, 700, ) |
| 13 | t_frame_run (test13) |
| 14 | |
| 15 | /* { dg-final { scan-assembler-times "sub\tsp, sp, #\[0-9\]+" 1 } } */ |
| 16 | /* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp\\\]" 1 } } */ |