(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
avx512fp16-vcvtsh2usi-1a.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-mavx512fp16 -O2" } */
       3  /* { dg-final { scan-assembler-times "vcvtsh2usi\[ \\t\]+\[^\{\n\]*%xmm\[0-9\]+\[^\n\r]*%e\[ad]x" 1 } } */
       4  /* { dg-final { scan-assembler-times "vcvtsh2usi\[ \\t\]+\{rn-sae\}\[^\{\n\]*%xmm\[0-9\]+\[^\n\r]*%e\[ad]x" 1 } } */
       5  
       6  
       7  #include <immintrin.h>
       8  
       9  volatile __m128h x1;
      10  volatile unsigned int res1;
      11  
      12  void extern
      13  avx512f_test (void)
      14  {
      15    res1 = _mm_cvtsh_u32 (x1);
      16    res1 = _mm_cvt_roundsh_u32 (x1, 8);
      17  }