1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -mavx512fp16" } */
       3  
       4  #include <immintrin.h>
       5  
       6  __m128h
       7  __attribute__ ((noinline, noclone))
       8  set_128 (_Float16 x)
       9  {
      10    return _mm_set_sh (x);
      11  }
      12  
      13  /* { dg-final { scan-assembler-times "vmovw\[ \t]\+\[^\n\r]*xmm0" 1 { target { ia32 } } } } */
      14  /* { dg-final { scan-assembler-times "vmovw\[ \t]\+\[^\n\r]*xmm0" 2 { target { ! ia32 } } } } */