blob: 89de8525b25e2e9a95a36a16a0f26e8816a2a6cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* { dg-do compile } */
/* { dg-require-effective-target float16 } */
/* { dg-options "-frounding-math" } */
/* { dg-add-options float16 } */
/* { dg-additional-options "-mavx" { target avx } } */
typedef __attribute__((__vector_size__(16))) _Float16 F;
typedef __attribute__((__vector_size__(32))) int V;
F f;
void
foo()
{
f += __builtin_convertvector((V){3307}, F);
}
|