From 2827300fbe8b237b825aa29b95f24026aedd4b20 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Jun 1998 12:33:44 +0000 Subject: Update. 1998-06-18 12:29 Ulrich Drepper * 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 * stdlib/tst-strtod.c (long_dbl): Provide receipe to regenerate longestdbl. --- sysdeps/libm-i387/e_scalb.S | 4 ++-- sysdeps/libm-i387/e_scalbf.S | 4 ++-- sysdeps/libm-i387/e_scalbl.S | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sysdeps') 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) -- cgit v1.2.3-70-g09d2