diff options
Diffstat (limited to 'lib/libm/math.c')
-rw-r--r-- | lib/libm/math.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/libm/math.c b/lib/libm/math.c index 7cbec5fb32..732049236d 100644 --- a/lib/libm/math.c +++ b/lib/libm/math.c @@ -86,19 +86,6 @@ double __aeabi_dmul(double x , double y) { #endif // defined(__thumb__) -// TODO this needs a better way of testing for Thumb2 FP hardware -#if defined(__thumb2__) - -float sqrtf(float x) { - asm volatile ( - "vsqrt.f32 %[r], %[x]\n" - : [r] "=t" (x) - : [x] "t" (x)); - return x; -} - -#endif - #ifndef NDEBUG float copysignf(float x, float y) { float_s_t fx={.f = x}; |