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