musl-tcc/src/math/aarch64/fabsf.c

8 lines
102 B
C

#include <math.h>
float fabsf(float x)
{
__asm__ ("fabs %s0, %s1" : "=w"(x) : "w"(x));
return x;
}