PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512f-kunpckbw-2.c
blob86580f289aab27ac427299950af5175ea372f815
1 /* { dg-do run } */
2 /* { dg-options "-O2 -mavx512f" } */
3 /* { dg-require-effective-target avx512f } */
5 #define AVX512F
7 #include "avx512f-helper.h"
9 static __mmask16 __attribute__((noinline,noclone))
10 unpack (__mmask16 arg1, __mmask16 arg2)
12 __mmask16 res;
14 res = _mm512_kunpackb (arg1, arg2);
16 return res;
19 void
20 TEST (void)
22 if (unpack (0x07, 0x70) != 0x0770)
23 __builtin_abort ();