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
[AArch64] Add support for 16-bit FMOV immediates
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
f16_mov_immediate_3.c
blob
63d950a8694d66f29225b5fc8793c8ae0f8cc604
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
#pragma GCC target
"+nofp16"
5
6
__fp16
f4
()
7
{
8
__fp16 a
=
0.1
;
9
10
__fp16 z
=
a
*
a
;
11
return
z
;
12
}
13
14
/* { dg-final { scan-assembler-times {dup\tv[0-9]+.4h, w[0-9]+} 1 } } */