blob: 0eb2ba1ef58ae2d5e867bd036368afb7ba61d4f5 [file] [log] [blame]
#include <math.h>
#if defined(_SOFT_FLOAT) || defined(__NO_FPRS__) || defined(BROKEN_PPC_D_ASM)
#include "../fma.c"
#else
double fma(double x, double y, double z)
{
__asm__("fmadd %0, %1, %2, %3" : "=d"(x) : "d"(x), "d"(y), "d"(z));
return x;
}
#endif