summaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/fpu/__math.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/i386/fpu/__math.h b/sysdeps/i386/fpu/__math.h
index 3efa7512eb..de34370d21 100644
--- a/sysdeps/i386/fpu/__math.h
+++ b/sysdeps/i386/fpu/__math.h
@@ -1,6 +1,6 @@
/* Inline math functions for i387.
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
-Contributed by John C. Bowman <bowman@hagar.ph.utexas.edu>
+Contributed by John C. Bowman <bowman@ipp-garching.mpg.de>
This file is part of the GNU C Library.
@@ -119,7 +119,8 @@ tan (double __x)
{
register double __value;
__asm __volatile__
- ("fptan"
+ ("fptan\n\t"
+ "fincstp"
: "=t" (__value) : "0" (__x));
return __value;