2 /* { dg-options "-O2 -ftree-vectorize -ffast-math -mavx512bw -save-temps" } */
3 /* { dg-require-effective-target avx512bw } */
5 #include "avx512bw-check.h"
8 unsigned char yy
[10000];
9 unsigned char xx
[10000];
12 __attribute__ ((noinline
)) foo (unsigned short s
)
15 for (i
= 0; i
< s
; i
++)
24 for (i
= 0; i
< 2 * N
+ 1; i
++, j
++)
29 for (i
= 0; i
< N
; i
++)
30 if ( (unsigned char)(2*i
+1) != yy
[i
] )
34 /* { dg-final { scan-assembler-times "vpmovwb\[ \\t\]+\[^\n\]*%zmm" 2 } } */