1 /* { dg-do compile } */
2 /* { dg-skip-if "-mpure-code supports M-profile only and without Neon" { *-*-* } { "-mpure-code" } } */
3 /* { dg-require-effective-target arm_fp_ok } */
4 /* { dg-options "-mfp16-format=ieee" } */
5 /* { dg-add-options arm_fp } */
6
7 #include "arm_neon.h"
8
9 float16x4_t __attribute__((target("fpu=neon-fp16")))
10 foo (float32x4_t arg)
11 {
12 return vcvt_f16_f32 (arg);
13 }