about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_lrint.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_lrint.S')
-rw-r--r--sysdeps/libm-i387/s_lrint.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_lrint.S b/sysdeps/libm-i387/s_lrint.S
index 19241456a8..3be4ca7903 100644
--- a/sysdeps/libm-i387/s_lrint.S
+++ b/sysdeps/libm-i387/s_lrint.S
@@ -26,6 +26,7 @@ ENTRY(__lrint)
 	fldt	4(%esp)
 	subl	$4, %esp
 	fistpl	(%esp)
+	fwait
 	popl	%eax
 	ret
 END(__lrint)