summaryrefslogblamecommitdiff
path: root/src/math/aarch64/fminf.c
blob: 80468f676a7ac725bafdc35e9852e863eb941c38 (plain) (tree)
1
2
3
4
5
6
7






                                                                    
#include <math.h>

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