2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512bw-kortestq-1.c
blob7f2761873ea66cfd99ee6eb86b5f5fda9a28ea73
1 /* { dg-do compile } */
2 /* { dg-options "-O0 -mavx512bw" } */
3 /* { dg-final { scan-assembler-times "kortestq\[ \\t\]+\[^\{\n\]*%k\[0-7\](?:\n|\[ \\t\]+#)" 2 } } */
5 #include <immintrin.h>
7 void
8 avx512bw_test () {
9 volatile __mmask64 k1;
10 __mmask64 k2;
12 volatile unsigned char r __attribute__((unused));
14 r = _kortestc_mask64_u8(k1, k2);
15 r = _kortestz_mask64_u8(k1, k2);