| 1 |
/* Verify: |
| 2 |
* -fomit-frame-pointer. |
| 3 |
* without outgoing. |
| 4 |
* total frame size > 512. |
| 5 |
* number of callee-saved reg == 1. |
| 6 |
* use a single stack adjustment, no writeback. */ |
| 7 |
|
| 8 |
/* { dg-do run } */ |
| 9 |
/* { dg-options "-O2 -fomit-frame-pointer --save-temps -fno-stack-protector" } */ |
| 10 |
|
| 11 |
#include "test_frame_common.h" |
| 12 |
|
| 13 |
t_frame_pattern (test6, 700, ) |
| 14 |
t_frame_run (test6) |
| 15 |
|
| 16 |
/* { dg-final { scan-assembler-times "str\tx30, \\\[sp\\\]" 1 } } */ |
| 17 |
/* { dg-final { scan-assembler "ldr\tx30, \\\[sp\\\]" } } */ |
| 18 |
/* { dg-final { scan-assembler "ldr\tx30, \\\[sp\\\]," } } */ |
| 19 |
|