about summary refs log tree commit diff
path: root/src/math/aarch64/fmaxf.c
blob: ee5eac2d7384295cf26f04f49560191b1d2b1cff (plain) (blame)
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;
}