Debian Codegraph @

gcc/testsuite/gcc.target/i386/avx512bf16-cvtsbh2ss-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mavx512bf16 -O2" } */
3 /* { dg-additional-options "-fno-PIE -mfpmath=sse" { target ia32 } } */
4 /* { dg-final { scan-assembler-times "pslld" 1 } } */
5
6 #include <immintrin.h>
7
8 volatile __bfloat16 x1;
9 volatile float res;
10
11 void extern
12 avx512bf16_test (void)
13 {
14 res = _mm_cvtsbh_ss (x1);
15 }