about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-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
4 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c70c71c68a..71c4db430f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
+	* sysdeps/i386/fpu/s_frexpf.S: Likewise.
+	* sysdeps/i386/fpu/s_frexpl.S: Likewise.
+
 	* sysdeps/generic/glob.c: Adjust types of several variables to
 	avoid warnings.
 
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