[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / spill_1.c
blobc9528cb21daaefcdd5f1218ee13edf40ee44bd99
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 } } */