1  /* { dg-do compile } */
       2  /* { dg-options "-mavx512fp16 -O2" } */
       3  /* { dg-final { scan-assembler-times "vmovw\[^-]" 1 } } */
       4  /* { dg-final { scan-assembler-times "vpextrw" 1 } } */
       5  #include <immintrin.h>
       6  
       7  volatile __m128i x1;
       8  volatile short x2;
       9  
      10  void extern
      11  avx512f_test (void)
      12  {
      13    x1 = _mm_cvtsi16_si128 (x2);
      14    x2 = _mm_cvtsi128_si16 (x1);
      15  }