aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/fpu/s_remquol.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/s_remquol.S')
-rw-r--r--sysdeps/i386/fpu/s_remquol.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu/s_remquol.S b/sysdeps/i386/fpu/s_remquol.S
index c71c002243..65240adbe4 100644
--- a/sysdeps/i386/fpu/s_remquol.S
+++ b/sysdeps/i386/fpu/s_remquol.S
@@ -31,9 +31,10 @@ ENTRY (BP_SYM (__remquol))
andl $4, %ecx
andl $3, %eax
orl %eax, %ecx
- movl $0xef2960, %eax
+ leal (%ecx,%ecx,2),%ecx
+ movl $0xef2a60, %eax
shrl %cl, %eax
- andl $3, %eax
+ andl $7, %eax
movl QUOP(%esp), %ecx
CHECK_BOUNDS_BOTH_WIDE (%ecx, QUOP(%esp), $4)
movl DVDND+8(%esp), %edx