about summary refs log tree commit diff
path: root/sysdeps/i386/fpu/s_remquo.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/fpu/s_remquo.S')
-rw-r--r--sysdeps/i386/fpu/s_remquo.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu/s_remquo.S b/sysdeps/i386/fpu/s_remquo.S
index 4857b98ab4..5056593214 100644
--- a/sysdeps/i386/fpu/s_remquo.S
+++ b/sysdeps/i386/fpu/s_remquo.S
@@ -31,9 +31,10 @@ ENTRY (BP_SYM (__remquo))
 	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+4(%esp), %edx