Sign in
android
/
platform
/
external
/
musl
/
3da2b5cceae98f5098e62e7865fe6433c1e82775
/
.
/
src
/
math
/
riscv64
/
fmaf.c
blob: f9dc47eda91dde05efa159a07ed019de16f05c94 [
file
] [
log
] [
blame
]
#include
<math.h>
#if __riscv_flen >= 32
float
fmaf
(
float
x
,
float
y
,
float
z
)
{
__asm__
(
"fmadd.s %0, %1, %2, %3"
:
"=f"
(
x
)
:
"f"
(
x
),
"f"
(
y
),
"f"
(
z
));
return
x
;
}
#else
#include
"../fmaf.c"
#endif