1 #include <math.h> 2 fma(double x,double y,double z)3 double fma(double x, double y, double z) 4 { 5 __asm__ ("madbr %0, %1, %2" : "+f"(z) : "f"(x), "f"(y)); 6 return z; 7 } 8