PR rtl-optimization/87918
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / avx512bw-kunpckwd-2.c
blob5d7f8955975204cb71b53f3c952bf1d9352fc298
1 /* { dg-do run } */
2 /* { dg-options "-O2 -mavx512bw" } */
3 /* { dg-require-effective-target avx512bw } */
5 #define AVX512BW
7 #include "avx512f-helper.h"
9 static __mmask32 __attribute__((noinline,noclone))
10 unpack (__mmask32 arg1, __mmask32 arg2)
12 __mmask32 res;
14 res = _mm512_kunpackw (arg1, arg2);
16 return res;
19 void
20 TEST (void)
22 if (unpack (0x07, 0x70) != 0x070070)
23 __builtin_abort ();