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
2018-11-11 Xianmiao Qu <xianmiao_qu@c-sky.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
csky
/
fnmul-3.c
blob
558e23cccaa3bc33df18cf0741627c550fd476f7
1
/* { dg-do compile } */
2
/* { dg-options "-mcpu=ck810f -mhard-float -O2" } */
3
4
double
5
fnmuld
(
double
a
,
double
b
)
6
{
7
/* { dg-final { scan-assembler "fnmuld" } } */
8
return
-(
a
*
b
);
9
}
10
11
float
12
fnmuls
(
float
a
,
float
b
)
13
{
14
/* { dg-final { scan-assembler "fnmuls" } } */
15
return
-(
a
*
b
);
16
}
17