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