| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O -mavx512vl -mavx512fp16" } */ |
| 3 |
|
| 4 |
typedef __bf16 __attribute__((__vector_size__ (16))) BF; |
| 5 |
typedef float __attribute__((__vector_size__ (32))) F; |
| 6 |
|
| 7 |
BF |
| 8 |
foo (F f) |
| 9 |
{ |
| 10 |
return __builtin_convertvector (f, BF); |
| 11 |
} |