about summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-02 18:22:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-02 18:22:43 +0000
commit00f5fcbb6cba4496fc9a80e90114762218bc7e1b (patch)
tree8e4690e69c96091ab585af36d823bbecc68e75e7 /sysdeps/i386
parentec6f84770e4da31b975dc2106fa7cb1a821fe6d3 (diff)
downloadglibc-00f5fcbb6cba4496fc9a80e90114762218bc7e1b.tar.gz
glibc-00f5fcbb6cba4496fc9a80e90114762218bc7e1b.tar.xz
glibc-00f5fcbb6cba4496fc9a80e90114762218bc7e1b.zip
Update.
	* sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
	* sysdeps/i386/fpu/s_frexpf.S: Likewise.
	* sysdeps/i386/fpu/s_frexpl.S: Likewise.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/s_frexp.S1
-rw-r--r--sysdeps/i386/fpu/s_frexpf.S1
-rw-r--r--sysdeps/i386/fpu/s_frexpl.S1
3 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/i386/fpu/s_frexp.S b/sysdeps/i386/fpu/s_frexp.S
index 0f149de346..ce63a4798d 100644
--- a/sysdeps/i386/fpu/s_frexp.S
+++ b/sysdeps/i386/fpu/s_frexp.S
@@ -70,6 +70,7 @@ ENTRY (BP_SYM (__frexp))
 	fmull	MO(two54)
 	movl	$-54, %ecx
 	fstpl	VAL0(%esp)
+	fwait
 	movl	VAL1(%esp), %eax
 	movl	%eax, %edx
 	andl	$0x7fffffff, %eax
diff --git a/sysdeps/i386/fpu/s_frexpf.S b/sysdeps/i386/fpu/s_frexpf.S
index 5c8c8ee6b8..74b880994d 100644
--- a/sysdeps/i386/fpu/s_frexpf.S
+++ b/sysdeps/i386/fpu/s_frexpf.S
@@ -67,6 +67,7 @@ ENTRY (BP_SYM (__frexpf))
 	fmuls	MO(two25)
 	movl	$-25, %ecx
 	fstps	VAL(%esp)
+	fwait
 	movl	VAL(%esp), %eax
 	movl	%eax, %edx
 	andl	$0x7fffffff, %eax
diff --git a/sysdeps/i386/fpu/s_frexpl.S b/sysdeps/i386/fpu/s_frexpl.S
index df749f8d4c..cb943f74c2 100644
--- a/sysdeps/i386/fpu/s_frexpl.S
+++ b/sysdeps/i386/fpu/s_frexpl.S
@@ -72,6 +72,7 @@ ENTRY (BP_SYM (__frexpl))
 	fmull	MO(two64)	/* It's not necessary to use a 80bit factor */
 	movl	$-64, %ecx
 	fstpt	VAL0(%esp)
+	fwait
 	movl	VAL2(%esp), %eax
 	movl	%eax, %edx
 	andl	$0x7fff, %eax