(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
avx512vl-vcvtps2dq-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-mavx512vl -O2" } */
       3  /* { dg-final { scan-assembler-times "vcvtps2dq\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
       4  /* { dg-final { scan-assembler-times "vcvtps2dq\[ \\t\]+\[^\{\n\]*%ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
       5  /* { dg-final { scan-assembler-times "vcvtps2dq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}(?:\n|\[ \\t\]+#)" 1 } } */
       6  /* { dg-final { scan-assembler-times "vcvtps2dq\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
       7  
       8  #include <immintrin.h>
       9  
      10  volatile __m256 x1;
      11  volatile __m128 x2;
      12  volatile __m256i z1;
      13  volatile __m128i z2;
      14  volatile __mmask8 m;
      15  
      16  void extern
      17  avx512vl_test (void)
      18  {
      19    z1 = _mm256_mask_cvtps_epi32 (z1, m, x1);
      20    z1 = _mm256_maskz_cvtps_epi32 (m, x1);
      21    z2 = _mm_mask_cvtps_epi32 (z2, m, x2);
      22    z2 = _mm_maskz_cvtps_epi32 (m, x2);
      23  }