about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_ilogbl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_ilogbl.S')
-rw-r--r--sysdeps/libm-i387/s_ilogbl.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_ilogbl.S b/sysdeps/libm-i387/s_ilogbl.S
index adc88aabab..1dad93abeb 100644
--- a/sysdeps/libm-i387/s_ilogbl.S
+++ b/sysdeps/libm-i387/s_ilogbl.S
@@ -15,6 +15,7 @@ ENTRY(__ilogbl)
 	fstp	%st
 
 	fistpl	(%esp)
+	fwait
 	popl	%eax
 
 	ret