summaryrefslogtreecommitdiff
path: root/src/math/s390x/fma.c
blob: 86da0e49584f792f67baf2b5fcf1a0879ceb551d (plain)
1
2
3
4
5
6
7
#include <math.h>

double fma(double x, double y, double z)
{
	__asm__ ("madbr %0, %1, %2" : "+f"(z) : "f"(x), "f"(y));
	return z;
}