2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512bw-kmovq-2.c
blob1a5f94c388eaa5f77d6d18b07bf189040c8d8258
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512bw -O2" } */
3 /* { dg-final { scan-assembler-times "kmovq\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 1 } } */
5 #include <immintrin.h>
6 volatile __mmask64 k1;
8 void
9 avx512bw_test ()
11 __mmask64 k0 = 11;
12 __mmask64 k = _load_mask64 (&k0);
14 asm volatile ("" : "+k" (k));
15 k1 = k;