2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f_cond_move.c
blob10e470db5ca2d6d89ff91736a9652e841a088710
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -mavx512f" } */
3 /* { dg-final { scan-assembler-times "(?:vpblendmd|vmovdqa32)\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 8 } } */
5 unsigned int x[128];
6 unsigned int y[128];
8 void
9 foo ()
11 int i;
12 for (i = 0; i < 128; i++)
13 x[i] = y[i] > 3 ? 2 : 0;