Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
math
/
arm
/
fmaf.c
blob: a1793d27f1ff51f7968cdbbb036345d1875de30a [
file
] [
log
] [
blame
]
#include
<math.h>
#if __ARM_FEATURE_FMA && __ARM_FP&4 && !__SOFTFP__ && !BROKEN_VFP_ASM
float
fmaf
(
float
x
,
float
y
,
float
z
)
{
__asm__
(
"vfma.f32 %0, %1, %2"
:
"+t"
(
z
)
:
"t"
(
x
),
"t"
(
y
));
return
z
;
}
#else
#include
"../fmaf.c"
#endif