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