| 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 |