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

float fmaf(float x, float y, float z)
{
	__asm__ ("fmadd %s0, %s1, %s2, %s3" : "=w"(x) : "w"(x), "w"(y), "w"(z));
	return x;
}