summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/test_frame_13.c
blob: 74b3370fa463b652265e00fff80cc8856524d509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Verify:
     * without outgoing.
     * total frame size > 512.
     * number of callee-save reg >= 2.
     * Use a single stack adjustment, no writeback.  */

/* { dg-do run } */
/* { dg-options "-O2 --save-temps" } */

#include "test_frame_common.h"

t_frame_pattern (test13, 700, )
t_frame_run (test13)

/* { dg-final { scan-assembler-times "sub\tsp, sp, #\[0-9\]+" 1 } } */
/* { dg-final { scan-assembler-times "stp\tx29, x30, \\\[sp\\\]" 1 } } */