summaryrefslogtreecommitdiff
path: root/src/math/powerpc64/fmaf.c
blob: c678fefecd0e357f877d1eb6fa618effd6a3ad35 (plain)
1
2
3
4
5
6
7
#include <math.h>

float fmaf(float x, float y, float z)
{
	__asm__ ("fmadds %0, %1, %2, %3" : "=f"(x) : "f"(x), "f"(y), "f"(z));
	return x;
}