aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-18 12:33:44 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-18 12:33:44 +0000
commit2827300fbe8b237b825aa29b95f24026aedd4b20 (patch)
treef66c6c4cf6daaeddfeada00735e35887ba6317b7 /sysdeps
parent0c2b5752e3b9d82282848aa33337319ed1bc1818 (diff)
downloadglibc-2827300fbe8b237b825aa29b95f24026aedd4b20.tar
glibc-2827300fbe8b237b825aa29b95f24026aedd4b20.tar.gz
glibc-2827300fbe8b237b825aa29b95f24026aedd4b20.tar.bz2
glibc-2827300fbe8b237b825aa29b95f24026aedd4b20.zip
Update.
1998-06-18 12:29 Ulrich Drepper <drepper@cygnus.com> * sysdeps/libm-i387/e_scalb.S: Fix bug in FPU stack handling. * sysdeps/libm-i387/e_scalbf.S: Likewise. * sysdeps/libm-i387/e_scalbl.S: Likewise. 1998-06-18 Ulrich Drepper <drepper@cygnus.com> * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate longestdbl.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/libm-i387/e_scalb.S4
-rw-r--r--sysdeps/libm-i387/e_scalbf.S4
-rw-r--r--sysdeps/libm-i387/e_scalbl.S4
3 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/libm-i387/e_scalb.S b/sysdeps/libm-i387/e_scalb.S
index b4c23ca595..7ff5541e2f 100644
--- a/sysdeps/libm-i387/e_scalb.S
+++ b/sysdeps/libm-i387/e_scalb.S
@@ -71,10 +71,10 @@ ENTRY(__ieee754_scalb)
fnstsw
movl 8(%esp), %edx
shrl $5, %eax
- fstp %st(1)
+ fstp %st
+ fstp %st
andl $0x80000000, %edx
andl $8, %eax
- fstp %st(1)
shrl $27, %edx
addl %edx, %eax
fldl MOX(zero_nan, %eax, 1)
diff --git a/sysdeps/libm-i387/e_scalbf.S b/sysdeps/libm-i387/e_scalbf.S
index c869da9b38..4222eecc97 100644
--- a/sysdeps/libm-i387/e_scalbf.S
+++ b/sysdeps/libm-i387/e_scalbf.S
@@ -73,10 +73,10 @@ ENTRY(__ieee754_scalbf)
fnstsw
movl 4(%esp), %edx
shrl $5, %eax
- fstp %st(1)
+ fstp %st
+ fstp %st
andl $0x80000000, %edx
andl $8, %eax
- fstp %st(1)
shrl $27, %edx
addl %edx, %eax
fldl MOX(zero_nan, %eax, 1)
diff --git a/sysdeps/libm-i387/e_scalbl.S b/sysdeps/libm-i387/e_scalbl.S
index 33eb7323dc..56cc833a56 100644
--- a/sysdeps/libm-i387/e_scalbl.S
+++ b/sysdeps/libm-i387/e_scalbl.S
@@ -73,10 +73,10 @@ ENTRY(__ieee754_scalbl)
fnstsw
movl 12(%esp), %edx
shrl $5, %eax
- fstp %st(1)
+ fstp %st
+ fstp %st
andl $0x8000, %edx
andl $8, %eax
- fstp %st(1)
shrl $11, %edx
addl %edx, %eax
fldl MOX(zero_nan, %eax, 1)