summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/i386/f_expf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/machine/i386/f_expf.c')
-rw-r--r--newlib/libc/machine/i386/f_expf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/machine/i386/f_expf.c b/newlib/libc/machine/i386/f_expf.c
index 438772764..6b86e8997 100644
--- a/newlib/libc/machine/i386/f_expf.c
+++ b/newlib/libc/machine/i386/f_expf.c
@@ -8,6 +8,8 @@
* ====================================================
*/
+#if !defined(_SOFT_FLOAT)
+
/*
Fast version of exp using Intel float instructions.
@@ -42,4 +44,4 @@ float _f_expf (float x)
return x;
}
-
+#endif