about summary refs log tree commit diff
path: root/sysdeps/i386/fpu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-06-20 07:23:23 +0000
committerUlrich Drepper <drepper@redhat.com>2002-06-20 07:23:23 +0000
commit4c49989e4178fc032cfdf37ee898babc7e3fa593 (patch)
tree24f6855b68683881dfed04a4404a0e93a2b7fc19 /sysdeps/i386/fpu
parent1474b1c6c55b3d647e1f3ccc89821f8a35124dcb (diff)
downloadglibc-4c49989e4178fc032cfdf37ee898babc7e3fa593.tar.gz
glibc-4c49989e4178fc032cfdf37ee898babc7e3fa593.tar.xz
glibc-4c49989e4178fc032cfdf37ee898babc7e3fa593.zip
Update.
2002-06-13  Stephen L Moshier  <steve@moshier.net>

	* sysdeps/ieee754/ldbl-96/s_scalbnl.c: Fix cases in which
	argument or result is subnormal.

2002-06-19  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/i386/fpu/s_remquo.S: Fix three mistakes in computing the
	quotient.
	* sysdeps/i386/fpu/s_remquof.S: Likewise.
	* sysdeps/i386/fpu/s_remquol.S: Likewise.

	* sysdeps/hppa/dl-machine.h: Don't use multi-line string literals.

	* sysdeps/unix/sysv/linux/alpha/sendfile64.c: New file.
	* sysdeps/unix/sysv/linux/ia64/sendfile64.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: New file.
	* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: New file.
Diffstat (limited to 'sysdeps/i386/fpu')
-rw-r--r--sysdeps/i386/fpu/s_remquo.S5
-rw-r--r--sysdeps/i386/fpu/s_remquof.S5
-rw-r--r--sysdeps/i386/fpu/s_remquol.S5
3 files changed, 9 insertions, 6 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
diff --git a/sysdeps/i386/fpu/s_remquof.S b/sysdeps/i386/fpu/s_remquof.S
index 90f46dcbc0..d3c5965be4 100644
--- a/sysdeps/i386/fpu/s_remquof.S
+++ b/sysdeps/i386/fpu/s_remquof.S
@@ -31,9 +31,10 @@ ENTRY (BP_SYM (__remquof))
 	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(%esp), %edx
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