doc: add missing @option for musttail
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / sve / ext_2.c
blob5593b070ca77e6c09bdb4a6f0913fea66c752f5d
1 /* { dg-do compile } */
2 /* { dg-options "-O -msve-vector-bits=256" } */
4 typedef int vnx4si __attribute__((vector_size (32)));
6 void
7 foo (void)
9 register vnx4si x asm ("z0");
10 register vnx4si y asm ("z1");
12 asm volatile ("" : "=w" (y));
13 x = __builtin_shuffle (y, y, (vnx4si) { 1, 2, 3, 4, 5, 6, 7, 8 });
14 asm volatile ("" :: "w" (x));
17 /* { dg-final { scan-assembler {\tmovprfx\tz0, z1\n\text\tz0\.b, z0\.b, z1\.b, #4\n} } } */