2018-11-11 Xianmiao Qu <xianmiao_qu@c-sky.com>
[official-gcc.git] / gcc / testsuite / gcc.target / csky / fnmul-4.c
blobfa186bbac1ddd15168d9ae35b2512e7d1b52957b
1 /* { dg-do compile } */
2 /* { dg-options "-mcpu=ck810f -mhard-float -O2 -frounding-math" } */
4 double
5 fnmuld (double a, double b)
7 /* { dg-final { scan-assembler "fnmuld" } } */
8 return -(a * b);
11 float
12 fnmuls (float a, float b)
14 /* { dg-final { scan-assembler "fnmuls" } } */
15 return -(a * b);