sparc: remove ARM files.

Change-Id: I208baa6a97800a8d3a423ffeb00279767706ddef
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2130
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Adrien Destugues
2020-01-22 00:25:19 +00:00
committed by waddlesplash
parent ca9fab6849
commit 175d1f0eca
6 changed files with 0 additions and 90 deletions
@@ -1,15 +0,0 @@
#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
@@ -1,15 +0,0 @@
#include <math.h>
#if __ARM_PCS_VFP && !BROKEN_VFP_ASM
float fabsf(float x)
{
__asm__ ("vabs.f32 %0, %1" : "=t"(x) : "t"(x));
return x;
}
#else
#include "../fabsf.c"
#endif
@@ -1,15 +0,0 @@
#include <math.h>
#if __ARM_FEATURE_FMA && __ARM_FP&8 && !__SOFTFP__
double fma(double x, double y, double z)
{
__asm__ ("vfma.f64 %P0, %P1, %P2" : "+w"(z) : "w"(x), "w"(y));
return z;
}
#else
#include "../fma.c"
#endif
@@ -1,15 +0,0 @@
#include <math.h>
#if __ARM_FEATURE_FMA && __ARM_FP&4 && !__SOFTFP__ && !BROKEN_VFP_ASM
float fmaf(float x, float y, float z)
{
__asm__ ("vfma.f32 %0, %1, %2" : "+t"(z) : "t"(x), "t"(y));
return z;
}
#else
#include "../fmaf.c"
#endif
@@ -1,15 +0,0 @@
#include <math.h>
#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)
double sqrt(double x)
{
__asm__ ("vsqrt.f64 %P0, %P1" : "=w"(x) : "w"(x));
return x;
}
#else
#include "../sqrt.c"
#endif
@@ -1,15 +0,0 @@
#include <math.h>
#if (__ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)) && !BROKEN_VFP_ASM
float sqrtf(float x)
{
__asm__ ("vsqrt.f32 %0, %1" : "=t"(x) : "t"(x));
return x;
}
#else
#include "../sqrtf.c"
#endif