summaryrefslogtreecommitdiff
path: root/lib/libm/aarch64/fmaf.c
blob: 9f80e06545d4efb0c6786cc0b98e011a30f202a8 (plain)
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;
}