e4355bd6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <math.h> #if __ARM_PCS_VFP double fabs(double x) { __asm__ ("vabs.f64 %P0, %P1" : "=w"(x) : "w"(x)); return x; } #else #include "../fabs.c" #endif