[ARM] Fix PR85203: cmse_nonsecure_caller returns wrong result
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / spill_1.c
blob847425895d456e4433b0d15556d60a66a8f8f70c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef int v4si __attribute__ ((vector_size (16)));
6 void bar (void);
7 void
8 foo (void)
10 v4si x = { 1, 1, 1, 1 };
11 asm ("# %0" :: "w" (x));
12 bar ();
13 asm ("# %0" :: "w" (x));
16 /* { dg-final { scan-assembler-times {\tmovi\tv[0-9]+\.4s,} 2 } } */
17 /* { dg-final { scan-assembler-not {\tldr\t} } } */
18 /* { dg-final { scan-assembler-not {\tstr\t} } } */