about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_llrint.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_llrint.S')
-rw-r--r--sysdeps/libm-i387/s_llrint.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_llrint.S b/sysdeps/libm-i387/s_llrint.S
index cfb8e86f7d..49bfebc993 100644
--- a/sysdeps/libm-i387/s_llrint.S
+++ b/sysdeps/libm-i387/s_llrint.S
@@ -26,6 +26,7 @@ ENTRY(__llrint)
 	fldt	4(%esp)
 	subl	$8, %esp
 	fistpll	(%esp)
+	fwait
 	popl	%eax
 	popl	%edx
 	ret