(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
avx512vl-vpunpckhdq-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-mavx512vl -O2" } */
       3  /* { dg-final { scan-assembler-times "vpunpckhdq\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
       4  /* { dg-final { scan-assembler-times "vpunpckhdq\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
       5  /* { dg-final { scan-assembler-times "vpunpckhdq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
       6  /* { dg-final { scan-assembler-times "vpunpckhdq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
       7  
       8  #include <immintrin.h>
       9  
      10  volatile __m256i x, y, z;
      11  volatile __m128i a, b, c;
      12  volatile __mmask8 m;
      13  
      14  void extern
      15  avx512bw_test (void)
      16  {
      17    x = _mm256_mask_unpackhi_epi32 (x, m, y, z);
      18    x = _mm256_maskz_unpackhi_epi32 (m, y, z);
      19    a = _mm_mask_unpackhi_epi32 (a, m, b, c);
      20    a = _mm_maskz_unpackhi_epi32 (m, b, c);
      21  }