gcc/testsuite/gcc.target/aarch64/test_frame_11.c
raw| 1 | /* Verify: |
| 2 | * without outgoing. |
| 3 | * total frame size <= 512. |
| 4 | * number of callee-save reg >= 2. |
| 5 | * optimized code should use "stp !" for stack adjustment. */ |
| 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 (test11, 400, ) |
| 13 | t_frame_run (test11) |
| 14 | |
| 15 | /* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp, -\[0-9\]+\\\]!" 2 } } */ |