OSDN Git Service

2009-11-18 Dave Korn <dave.korn.cygwin@googlemail.com>
authorjjohnstn <jjohnstn>
Thu, 19 Nov 2009 02:50:19 +0000 (02:50 +0000)
committerjjohnstn <jjohnstn>
Thu, 19 Nov 2009 02:50:19 +0000 (02:50 +0000)
        * libm/machine/i386/f_tan.S (_f_tan): Free fp stack register
        containing useless constant before advancing fp sp over it.
        (_f_tanf): Likewise.

newlib/ChangeLog
newlib/libm/machine/i386/f_tan.S
newlib/libm/machine/i386/f_tanf.S

index 74495ad..e0eace8 100644 (file)
@@ -1,3 +1,9 @@
+2009-11-18  Dave Korn  <dave.korn.cygwin@googlemail.com>
+
+       * libm/machine/i386/f_tan.S (_f_tan): Free fp stack register
+       containing useless constant before advancing fp sp over it.
+       (_f_tanf): Likewise.
+
 2009-11-18  Corinna Vinschen  <corinna@vinschen.de>
 
        * libc/stdio/vfprintf.c: Include ../stdlib/local.h.  Replace call to
index c7c3704..78ca760 100644 (file)
@@ -29,6 +29,7 @@ SYM (_f_tan):
        movl esp,ebp
        fldl 8(ebp)
        fptan
+       ffree %st(0)
        fincstp
 
        leave
index 6afda9e..cb68454 100644 (file)
@@ -29,6 +29,7 @@ SYM (_f_tanf):
        movl esp,ebp
        flds 8(ebp)
        fptan
+       ffree %st(0)
        fincstp
 
        leave