about summary refs log tree commit diff
path: root/src/math/aarch64/fma.c
blob: 2450ea7e196ffd7c8b7a63022c7b325652294c02 (plain) (blame)
1
2
3
4
5
6
7
#include <math.h>

double fma(double x, double y, double z)
{
	__asm__ ("fmadd %d0, %d1, %d2, %d3" : "=w"(x) : "w"(x), "w"(y), "w"(z));
	return x;
}