• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <math.h>
2 
3 #if __ARM_FEATURE_FMA && __ARM_FP&8 && !__SOFTFP__
4 
fma(double x,double y,double z)5 double fma(double x, double y, double z)
6 {
7 	__asm__ ("vfma.f64 %P0, %P1, %P2" : "+w"(z) : "w"(x), "w"(y));
8 	return z;
9 }
10 
11 #else
12 
13 #include "../fma.c"
14 
15 #endif
16