1 /* { dg-options "-O3 -msve-vector-bits=scalable" } */ 2 3 void vset(int * restrict dst,int * restrict src,int count)4vset (int *restrict dst, int *restrict src, int count) 5 { 6 for (int i = 0; i < count; ++i) 7 #pragma GCC unroll 4 8 for (int j = 0; j < 4; ++j) 9 *dst++ = 1; 10 } 11 12 /* { dg-final { scan-assembler-times {\tst1w\tz} 1 } } */ 13