about summary refs log tree commit diff
path: root/sysdeps/libm-i387/s_nearbyint.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/s_nearbyint.S')
-rw-r--r--sysdeps/libm-i387/s_nearbyint.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_nearbyint.S b/sysdeps/libm-i387/s_nearbyint.S
index 566c075c37..65ce4f76a1 100644
--- a/sysdeps/libm-i387/s_nearbyint.S
+++ b/sysdeps/libm-i387/s_nearbyint.S
@@ -18,6 +18,8 @@ ENTRY(__nearbyint)
 	frndint
 	fclex
 	fldcw	(%esp)
+	popl	%ecx
+	popl	%eax
 	ret
 END (__nearbyint)
 weak_alias (__nearbyint, nearbyint)