aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
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)