musl-tcc/src/math/powerpc64/sqrtf.c

8 lines
102 B
C

#include <math.h>
float sqrtf(float x)
{
__asm__ ("fsqrts %0, %1" : "=f"(x) : "f"(x));
return x;
}