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

double fmin(double x, double y)
{
	__asm__ ("fminnm %d0, %d1, %d2" : "=w"(x) : "w"(x), "w"(y));
	return x;
}