Add support for conditional reductions using SVE CLASTB
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / sve / mov_rr_1.c
blob20b2344be1080082ba8aa73576524810fa624eb6
1 /* { dg-do assemble { target aarch64_asm_sve_ok } } */
2 /* { dg-options "-O3 -msve-vector-bits=256 --save-temps" } */
4 void sve_copy_rr (void)
6 typedef int vnx4si __attribute__((vector_size(32)));
7 register vnx4si x asm ("z1");
8 register vnx4si y asm ("z2");
9 asm volatile ("#foo" : "=w" (x));
10 y = x;
11 asm volatile ("#foo" :: "w" (y));
14 /* { dg-final { scan-assembler-times {\tmov\tz[0-9]+\.d, z[0-9]+\.d\n} 1 } } */