summaryrefslogtreecommitdiff
path: root/lib/libm/aarch64/fmaxf.c
blob: 3477971819575b0b00cf3f70e863297f93a8708b (plain)
1
2
3
4
5
6
7
#include <math.h>

float fmaxf(float x, float y)
{
	__asm__("fmaxnm %s0, %s1, %s2" : "=w"(x) : "w"(x), "w"(y));
	return x;
}