| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O3 -fopenmp-simd -march=armv8-a+sve -fstack-clash-protection --param stack-clash-protection-guard-size=16 -funwind-tables" } */ |
| 3 |
/* { dg-require-effective-target supports_stack_clash_protection } */ |
| 4 |
|
| 5 |
#include "stack-check-prologue-16.c" |
| 6 |
|
| 7 |
/* Checks that the CFA notes are correct for every sp adjustment, but we also |
| 8 |
need to make sure we can unwind correctly before the frame is set up. So |
| 9 |
check that we're emitting r15 with a copy of sp an setting the CFA there. */ |
| 10 |
|
| 11 |
/* { dg-final { scan-assembler-times {mov\tx11, sp} 1 } } */ |
| 12 |
/* { dg-final { scan-assembler-times {\.cfi_def_cfa_register 11} 1 } } */ |
| 13 |
/* { dg-final { scan-assembler-times {\.cfi_escape 0xf,0xc,0x8f,0,0x92,0x2e,0,.*} 1 } } */ |