aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/e_scalbf.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/e_scalbf.S')
-rw-r--r--sysdeps/i386/fpu/e_scalbf.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/i386/fpu/e_scalbf.S b/sysdeps/i386/fpu/e_scalbf.S
index b6dd02122a..12b25159ac 100644
--- a/sysdeps/i386/fpu/e_scalbf.S
+++ b/sysdeps/i386/fpu/e_scalbf.S
@@ -67,8 +67,10 @@ ENTRY(__ieee754_scalbf)
fstp %st
fstp %st
andl $0x80000000, %edx
+ andl $0x0228, %eax
+ cmpl $0x0028, %eax
+ je 4f
andl $8, %eax
- jnz 4f
shrl $27, %edx
addl %edx, %eax
fldl MOX(zero_nan, %eax, 1)