summaryrefslogtreecommitdiff
path: root/src/math/arm
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/arm')
-rw-r--r--src/math/arm/fabsf.c2
-rw-r--r--src/math/arm/sqrtf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math/arm/fabsf.c b/src/math/arm/fabsf.c
index 28153a61..4a217c98 100644
--- a/src/math/arm/fabsf.c
+++ b/src/math/arm/fabsf.c
@@ -1,6 +1,6 @@
#include <math.h>
-#if __ARM_PCS_VFP
+#if __ARM_PCS_VFP && !BROKEN_VFP_ASM
float fabsf(float x)
{
diff --git a/src/math/arm/sqrtf.c b/src/math/arm/sqrtf.c
index 98858ecd..32693293 100644
--- a/src/math/arm/sqrtf.c
+++ b/src/math/arm/sqrtf.c
@@ -1,6 +1,6 @@
#include <math.h>
-#if __ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)
+#if (__ARM_PCS_VFP || (__VFP_FP__ && !__SOFTFP__)) && !BROKEN_VFP_ASM
float sqrtf(float x)
{