fmaf.c raw

   1  #include <math.h>
   2  
   3  float fmaf(float x, float y, float z)
   4  {
   5  	__asm__ ("fmadd %s0, %s1, %s2, %s3" : "=w"(x) : "w"(x), "w"(y), "w"(z));
   6  	return x;
   7  }
   8