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