aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/e_pow.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-15 18:44:07 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-15 18:44:07 +0000
commitaff6dc6cff1c12744e98001be0c8018936b00004 (patch)
tree54d8c712693b79e0bad0abae875c772fb1a700c4 /sysdeps/i386/fpu/e_pow.S
parent3fe4dc4156af9255fe86b5040c2538e9d7f5459d (diff)
downloadglibc-aff6dc6cff1c12744e98001be0c8018936b00004.zip
glibc-aff6dc6cff1c12744e98001be0c8018936b00004.tar.gz
glibc-aff6dc6cff1c12744e98001be0c8018936b00004.tar.bz2
Update.
1999-07-15 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/fpu/e_pow.S: Use addl instead of pop/pop to keep program deterministic. * sysdeps/i386/fpu/e_powf.S: Likewise. * sysdeps/i386/fpu/e_powl.S: Likewise.
Diffstat (limited to 'sysdeps/i386/fpu/e_pow.S')
-rw-r--r--sysdeps/i386/fpu/e_pow.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/i386/fpu/e_pow.S b/sysdeps/i386/fpu/e_pow.S
index 75ad211..6b20482 100644
--- a/sysdeps/i386/fpu/e_pow.S
+++ b/sysdeps/i386/fpu/e_pow.S
@@ -1,5 +1,5 @@
/* ix87 specific implementation of pow function.
- Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
@@ -279,8 +279,7 @@ ENTRY(__ieee754_pow)
ret
25: fstp %st(0)
-26: popl %eax
- popl %edx
+26: addl $8, %esp
27: // Raise divide-by-zero exception and get infinity value.
fldl MO(one)
fdivl MO(zero)