2018-01-16 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-32-chars.c
blob0af5d2d19b453220969c25200e3059a49cd25477
1 /* { dg-do compile } */
2 /* { dg-additional-options "-mavx512bw -mavx512vl" { target { i?86-*-* x86_64-*-* } } } */
4 char a[32];
5 char b[32];
6 char c[32];
8 void test()
10 int i = 0;
11 for (i = 0; i < 32; i++)
12 if (b[i] > 0)
13 a[i] = c[i];
16 /* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" { target { i?86-*-* x86_64-*-* } } } } */