summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/e_scalb.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/e_scalb.S')
-rw-r--r--sysdeps/libm-i387/e_scalb.S4
1 files changed, 2 insertions, 2 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)