repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
attr-neon-fp16.c
blob
984992f2ab06969969f5e7699d7af7fed356705a
1
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_fp_ok } */
3
/* { dg-options "-mfp16-format=ieee" } */
4
/* { dg-add-options arm_fp } */
5
6
#include
"arm_neon.h"
7
8
float16x4_t
__attribute__
((
target
(
"fpu=neon-fp16"
)))
9
foo
(
float32x4_t arg
)
10
{
11
return
vcvt_f16_f32
(
arg
);
12
}