Debian Codegraph @

gcc/testsuite/gcc.target/i386/avxneconvert-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mavxneconvert -O2" } */
3
4 typedef float v8sf __attribute__((vector_size(32)));
5 typedef __bf16 v8bf __attribute__((vector_size(16)));
6
7 v8bf
8 foo (v8sf a)
9 {
10 return __builtin_ia32_cvtneps2bf16_v8sf (a);
11 }