aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/float16-3a.c
blob: 3846c8e9b6e464ecb21525ceb1e94c3ee65bca8d (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-O2 -mavx512fp16" } */

_Float16
foo (int x)
{
  return x;
}

/* { dg-final { scan-assembler-times "vcvtsi2shl\[ \t\]+\[^\n\r]*%xmm0" 1 } } */