xref: /haiku/src/system/libroot/posix/musl/math/arm/fmaf.c (revision 42f51416eb68b0a79f50fe185b6d0ecb064c62dc)
1 #include <math.h>
2 
3 #if __ARM_FEATURE_FMA && __ARM_FP&4 && !__SOFTFP__ && !BROKEN_VFP_ASM
4 
5 float fmaf(float x, float y, float z)
6 {
7 	__asm__ ("vfma.f32 %0, %1, %2" : "+t"(z) : "t"(x), "t"(y));
8 	return z;
9 }
10 
11 #else
12 
13 #include "../fmaf.c"
14 
15 #endif
16