summaryrefslogtreecommitdiffstats
path: root/newlib/libc/machine/i386/f_pow.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-08-29 20:09:31 +0000
committerJeff Johnston <jjohnstn@redhat.com>2001-08-29 20:09:31 +0000
commit348c5e06c250a58e3890f4968c5962a282680ec4 (patch)
tree6637a9e23191e86b5c1b02b5a077c4a40e9b79dc /newlib/libc/machine/i386/f_pow.c
parent646d6b3a1ee7fba0d00d907c4de6e2b8c23edc9a (diff)
downloadcygnal-348c5e06c250a58e3890f4968c5962a282680ec4.tar.gz
cygnal-348c5e06c250a58e3890f4968c5962a282680ec4.tar.bz2
cygnal-348c5e06c250a58e3890f4968c5962a282680ec4.zip
2001-08-29 Joel Sherrill <joel@OARcorp.com>
* libc/include/sys/unistd.h: Prototype chroot() for RTEMS. 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: Add conditional compilation to avoid HW FPU instructions when compiled for soft-float.
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