home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-12-28 | 39.6 KB | 2,078 lines |
- *** ../_getsw.s Sun Dec 9 18:13:52 1990
- --- _getsw.s Mon Dec 17 15:02:29 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl _getsw
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl _getsw
- *** ../acos.s Sun Dec 9 18:13:52 1990
- --- acos.s Mon Dec 17 14:06:57 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .Lhalfpi:
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .Lhalfpi:
- ***************
- *** 27,41 ****
- fst %st(1)
- fmull 8(%ebp)
- fld1
- ! fsubp
- fsqrt
- ! fdivp
- fld1
- fpatan
- jnc .Ldone
-
- fldpi
- ! faddp
- leave
- ret
-
- --- 27,41 ----
- fst %st(1)
- fmull 8(%ebp)
- fld1
- ! fsubp %st, %st(1)
- fsqrt
- ! fdivp %st, %st(1)
- fld1
- fpatan
- jnc .Ldone
-
- fldpi
- ! faddp %st, %st(1)
- leave
- ret
-
- *** ../acosh.s Sun Dec 9 18:13:52 1990
- --- acosh.s Tue Dec 18 06:51:37 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl acosh
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl acosh
- ***************
- *** 17,23 ****
-
- fmull 8(%ebp)
- fld1
- ! fsubrp
- fsqrt
- faddl 8(%ebp)
- fldln2
- --- 17,23 ----
-
- fmull 8(%ebp)
- fld1
- ! fsubrp %st, %st(1)
- fsqrt
- faddl 8(%ebp)
- fldln2
- *** ../asin.s Sun Dec 9 18:13:52 1990
- --- asin.s Mon Dec 17 14:10:03 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl asin
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl asin
- ***************
- *** 16,28 ****
- fldl 8(%ebp)
- fst %st(1)
- fst %st(2)
- ! fmulp
- fld1
- ! fsubp
- fsqrt
- fld1
- ! fdivp
- ! fmulp
- fld1
- fpatan
-
- --- 16,28 ----
- fldl 8(%ebp)
- fst %st(1)
- fst %st(2)
- ! fmulp %st, %st(1)
- fld1
- ! fsubp %st, %st(1)
- fsqrt
- fld1
- ! fdivp %st, %st(1)
- ! fmulp %st, %st(1)
- fld1
- fpatan
-
- *** ../asinh.s Sun Dec 9 18:13:52 1990
- --- asinh.s Mon Dec 17 14:11:34 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl asinh
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl asinh
- ***************
- *** 17,23 ****
-
- fmull 8(%ebp)
- fld1
- ! faddp
- fsqrt
- faddl 8(%ebp)
- fldln2
- --- 17,23 ----
-
- fmull 8(%ebp)
- fld1
- ! faddp %st, %st(1)
- fsqrt
- faddl 8(%ebp)
- fldln2
- *** ../atan.s Sun Dec 9 18:13:52 1990
- --- atan.s Mon Dec 17 14:12:28 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl atan
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl atan
- *** ../atan2.s Sun Dec 9 18:13:52 1990
- --- atan2.s Tue Dec 18 06:57:16 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .Lpi:
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .Lpi:
- ***************
- *** 37,43 ****
- jz .Lgotzero
- jc .Lgotneg
-
- ! fdivp
- fld1
- fpatan
-
- --- 37,43 ----
- jz .Lgotzero
- jc .Lgotneg
-
- ! fdivp %st, %st(1)
- fld1
- fpatan
-
- ***************
- *** 50,70 ****
- sahf
- jc .Lneg1
-
- ! fdivp
- fld1
- fpatan
- fldl .Lmpi
- ! fsubrp
-
- leave
- ret
-
- .Lneg1:
- ! fdivp
- fld1
- fpatan
- fldl .Lpi
- ! fsubrp
-
- leave
- ret
- --- 50,70 ----
- sahf
- jc .Lneg1
-
- ! fdivp %st, %st(1)
- fld1
- fpatan
- fldl .Lmpi
- ! fsubrp %st, %st(1)
-
- leave
- ret
-
- .Lneg1:
- ! fdivp %st, %st(1)
- fld1
- fpatan
- fldl .Lpi
- ! fsubrp %st, %st(1)
-
- leave
- ret
- *** ../atanh.s Sun Dec 9 18:13:53 1990
- --- atanh.s Tue Dec 18 06:50:11 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .Lhalf:
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .Lhalf:
- ***************
- *** 21,27 ****
- faddl 8(%ebp)
- fld1
- fsubl 8(%ebp)
- ! fdivrp
-
- fldln2
- fxch %st(1)
- --- 21,27 ----
- faddl 8(%ebp)
- fld1
- fsubl 8(%ebp)
- ! fdivrp %st, %st(1)
-
- fldln2
- fxch %st(1)
- ***************
- *** 28,34 ****
- fyl2x
-
- fldl .Lhalf
- ! fmulp
-
- leave
- ret
- --- 28,34 ----
- fyl2x
-
- fldl .Lhalf
- ! fmulp %st, %st(1)
-
- leave
- ret
- *** ../ceil.s Sun Dec 9 18:13:53 1990
- --- ceil.s Mon Dec 17 14:17:24 1990
- ***************
- *** 1,13 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Could use ceil(x) = -floor(-x) but this is quicker.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl ceil
- --- 1,13 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Could use ceil(x) = -floor(-x) but this is quicker.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl ceil
- *** ../copysign.s Wed Dec 12 06:52:45 1990
- --- copysign.s Mon Dec 17 14:18:13 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl copysign
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl copysign
- *** ../cos.s Sun Dec 9 18:13:53 1990
- --- cos.s Mon Dec 17 14:18:49 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl cos
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl cos
- *** ../cosh.s Thu Dec 13 19:35:36 1990
- --- cosh.s Tue Dec 18 06:55:23 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .LC2:
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .LC2:
- ***************
- *** 26,48 ****
-
- .Lpos:
- fldl2e
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
- fst %st(1)
-
- fld1
- ! fdivp
- ! faddp
-
- fldl .LC2
- ! fmulp
-
- leave
- ret
- --- 26,48 ----
-
- .Lpos:
- fldl2e
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
- fst %st(1)
-
- fld1
- ! fdivp %st, %st(1)
- ! faddp %st, %st(1)
-
- fldl .LC2
- ! fmulp %st, %st(1)
-
- leave
- ret
- *** ../drem.s Sun Dec 9 18:13:53 1990
- --- drem.s Mon Dec 17 14:24:54 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl drem
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl drem
- *** ../exp.s Sun Dec 9 18:13:54 1990
- --- exp.s Tue Dec 18 09:43:48 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl exp
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl exp
- ***************
- *** 15,28 ****
-
- fldl 8(%ebp)
- fldl2e
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
-
- leave
- --- 15,28 ----
-
- fldl 8(%ebp)
- fldl2e
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
-
- leave
- *** ../exp10.s Sun Dec 9 18:13:54 1990
- --- exp10.s Tue Dec 18 06:53:40 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl exp10
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl exp10
- ***************
- *** 15,28 ****
-
- fldl 8(%ebp)
- fldl2t
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
-
- leave
- --- 15,28 ----
-
- fldl 8(%ebp)
- fldl2t
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
-
- leave
- *** ../exp2.s Sun Dec 9 18:13:54 1990
- --- exp2.s Tue Dec 18 06:57:45 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl exp2
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl exp2
- ***************
- *** 14,26 ****
- movl %esp,%ebp
-
- fldl 8(%ebp)
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
-
- leave
- --- 14,26 ----
- movl %esp,%ebp
-
- fldl 8(%ebp)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
-
- leave
- *** ../expm1.s Thu Dec 13 19:03:26 1990
- --- expm1.s Tue Dec 18 06:54:10 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl expm1
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl expm1
- ***************
- *** 16,29 ****
-
- fldl 8(%ebp)
- fldl2e
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
-
- fstpl -8(%ebp)
- --- 16,29 ----
-
- fldl 8(%ebp)
- fldl2e
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
-
- fstpl -8(%ebp)
- ***************
- *** 31,48 ****
- fldl 8(%ebp)
- fchs
- fldl2e
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
-
- fld1
- ! fsubp
- fmull -8(%ebp)
-
- leave
- --- 31,48 ----
- fldl 8(%ebp)
- fchs
- fldl2e
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
-
- fld1
- ! fsubp %st, %st(1)
- fmull -8(%ebp)
-
- leave
- *** ../fabs.s Sun Dec 9 18:13:54 1990
- --- fabs.s Mon Dec 17 14:31:48 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl fabs
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl fabs
- *** ../finite.s Sun Dec 9 18:13:54 1990
- --- finite.s Mon Dec 17 14:32:09 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl finite
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl finite
- *** ../floor.s Sun Dec 9 18:13:54 1990
- --- floor.s Mon Dec 17 14:32:41 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl floor
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl floor
- *** ../fmod.s Sun Dec 9 18:13:54 1990
- --- fmod.s Mon Dec 17 14:33:15 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl fmod
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl fmod
- *** ../hypot.s Sun Dec 9 18:13:55 1990
- --- hypot.s Mon Dec 17 14:35:25 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl hypot
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl hypot
- ***************
- *** 17,23 ****
- fmull 8(%ebp)
- fldl 16(%ebp)
- fmull 16(%ebp)
- ! faddp
- fsqrt
-
- leave
- --- 17,23 ----
- fmull 8(%ebp)
- fldl 16(%ebp)
- fmull 16(%ebp)
- ! faddp %st, %st(1)
- fsqrt
-
- leave
- *** ../ieee_ext.s Tue Dec 11 18:45:05 1990
- --- ieee_ext.s Mon Dec 17 14:36:21 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl isnan
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl isnan
- *** ../ieee_values.s Mon Dec 17 12:11:31 1990
- --- ieee_values.s Mon Dec 17 14:36:46 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl max_normal
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl max_normal
- *** ../infinity.s Mon Dec 17 12:08:18 1990
- --- infinity.s Mon Dec 17 14:37:07 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl infinity
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl infinity
- *** ../log.s Sun Dec 9 18:13:55 1990
- --- log.s Mon Dec 17 14:38:00 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl log
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl log
- *** ../log10.s Sun Dec 9 18:13:55 1990
- --- log10.s Mon Dec 17 14:38:09 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl log10
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl log10
- *** ../log1p.s Sun Dec 9 18:13:56 1990
- --- log1p.s Mon Dec 17 14:38:41 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl log1p
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl log1p
- ***************
- *** 16,22 ****
- fldln2
- fldl 8(%ebp)
- fld1
- ! faddp
- fyl2x
-
- leave
- --- 16,22 ----
- fldln2
- fldl 8(%ebp)
- fld1
- ! faddp %st, %st(1)
- fyl2x
-
- leave
- *** ../log2.s Sun Dec 9 18:13:56 1990
- --- log2.s Mon Dec 17 14:39:30 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl log2
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl log2
- *** ../logb.s Sun Dec 9 18:13:56 1990
- --- logb.s Mon Dec 17 14:42:35 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl logb
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl logb
- ***************
- *** 15,21 ****
-
- fldl 8(%ebp)
- fxtract
- ! fldl %st(1)
-
- leave
- ret
- --- 15,21 ----
-
- fldl 8(%ebp)
- fxtract
- ! fld %st(1)
-
- leave
- ret
- *** ../pow.s Sun Dec 9 18:13:56 1990
- --- pow.s Tue Dec 18 08:12:52 1990
- ***************
- *** 1,161 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** This file started life as a C implemenation of pow, it then evolved
- ! ** into an embeded asm version (with some C) and finally, all assembler.
- ! ** It's actually hacked assembler produced by gcc.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- ! .text
- ! .LC0:
- ! .ascii "pow: DOMAIN error\12\0"
- ! .align 4
- ! .LC1:
- ! .double 0d0.00000000000000000000e+00
- ! .align 4
- ! .LC2:
- ! .double 0d1.00000000000000000000e+00
- ! .align 4
- ! .globl pow
- pow:
- ! pushl %ebp
- ! movl %esp,%ebp
- ! subl $28,%esp
- ! pushl %edi
- ! pushl %esi
- ! pushl %ebx
- ! movl 16(%ebp),%esi
- ! movl 20(%ebp),%edi
- ! movl $0,-4(%ebp)
- ! movl $1,%ebx
- ! fldl 8(%ebp)
- ! ftst
- ! fstp %st(0)
- ! fnstsw %ax
- ! sahf
- ! jae .L2
- ! movl %ebx,-4(%ebp)
- ! pushl %edi
- ! pushl %esi
- ! /**/
- ! fldl 16(%ebp)
- !
- ! fstcw -8(%ebp)
- ! fstcw -12(%ebp)
- ! orw $0x0400, -12(%ebp)
- fldcw -12(%ebp)
- !
- ! frndint
- ! fldcw -8(%ebp)
- ! /**/
- ! fstpl -16(%ebp)
- ! pushl %edi
- ! pushl %esi
- ! fldl (%esp)
- ! addl $8,%esp
- ! fsubl -16(%ebp)
- ! fstpl -16(%ebp)
- ! addl $8,%esp
- ! fldl -16(%ebp)
- ! ftst
- ! fstp %st(0)
- ! fnstsw %ax
- ! sahf
- ! je .L3
- ! movl $33,errno
- ! pushl $.LC0
- ! pushl $_iob+32
- ! call fprintf
- ! fldl .LC1
- ! jmp .L1
- ! .align 4
- ! .L3:
- ! pushl %edi
- ! pushl %esi
- ! /**/
- fldl 16(%ebp)
- ! fistpl -8(%ebp)
- ! movl -8(%ebp),%eax
- ! /**/
- ! testl %eax,%eax
- ! jge .L5
- ! incl %eax
- ! .L5:
- ! andl $-2,%eax
- ! movl -8(%ebp),%ecx
- ! subl %eax,%ecx
- ! movl %ecx,%eax
- ! testl %eax,%eax
- ! je .L2
- ! xorl %ebx,%ebx
- ! .L2:
- ! fldl 8(%ebp)
- ! ftst
- ! fstp %st(0)
- ! fnstsw %ax
- ! sahf
- ! jne .L6
- ! pushl %edi
- ! pushl %esi
- ! fldl (%esp)
- ! addl $8,%esp
- ! ftst
- ! fstp %st(0)
- ! fnstsw %ax
- ! sahf
- ! je .L6
- ! fldl .LC1
- ! jmp .L1
- ! .align 4
- ! .L6:
- ! pushl %edi
- ! pushl %esi
- ! fldl (%esp)
- ! addl $8,%esp
- ! ftst
- ! fstp %st(0)
- ! fnstsw %ax
- ! sahf
- ! jne .L8
- ! fldl .LC2
- ! jmp .L1
- ! .align 4
- ! .L8:
- ! /APP
- ! fldl 16(%ebp)
- ! fldl 8(%ebp)
- ! /NO_APP
- ! cmpl $0,-4(%ebp)
- ! je .L10
- ! /APP
- ! fchs
- ! /NO_APP
- ! .L10:
- ! /APP
- ! fyl2x
- ! fstl %st(1)
- ! frndint
- ! fstl %st(2)
- ! fsubrp
- ! f2xm1
- ! fld1
- ! faddp
- ! fscale
- ! /NO_APP
- ! testl %ebx,%ebx
- ! jne .L1
- ! /APP
- ! fchs
- ! /NO_APP
- ! .L1:
- ! leal -28(%ebp),%esp
- ! popl %ebx
- ! popl %esi
- ! popl %edi
- ! leave
- ! ret
- --- 1,190 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // This file started life as a C implemenation of pow, it then evolved
- ! // into an embeded asm version (with some C) and finally, all assembler.
- ! // It's actually hacked assembler produced by gcc.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- ! .data
- ! .align 4
- ! .L92:
- ! .double 0.0000000000000000000000e+00
- ! .data
- ! .align 4
- ! .L94:
- ! .double 0.0000000000000000000000e+00
- ! .data
- ! .align 4
- ! .L96:
- ! .double 0.0000000000000000000000e+00
- ! .data
- ! .align 4
- ! .L99:
- ! .double 0.0000000000000000000000e+00
- ! .align 4
- ! .L100:
- ! .double 0.0000000000000000000000e+00
- ! .data
- ! .align 4
- ! .L101:
- ! .double 0.0000000000000000000000e+00
- ! .data
- ! .align 4
- ! .L103:
- ! .double 0.0000000000000000000000e+00
- ! .data
- ! .align 4
- ! .L104:
- ! .double 1.0000000000000000000000e+00
- ! .data
- ! .long __fltused
- ! .text
- ! .align 4
- ! .def pow; .val pow; .scl 2; .type 047; .endef
- ! .globl pow
- pow:
- ! pushl %ebp
- ! movl %esp,%ebp
- ! subl $16,%esp
- ! movl $0,-4(%ebp)
- ! movl $1,-8(%ebp)
- ! fldl 8(%ebp)
- ! fcompl .L92
- ! fstsw %ax
- ! sahf
- ! jae .L91
- ! movl $1,-4(%ebp)
- ! //
- ! fldl 16(%ebp)
- ! fstcw -12(%ebp)
- ! fstcw -16(%ebp)
- ! orw $0x0400, -16(%ebp)
- ! fldcw -16(%ebp)
- ! frndint
- fldcw -12(%ebp)
- ! //
- ! addl $8,%esp
- ! fsubrl 16(%ebp)
- ! fcompl .L94
- ! fstsw %ax
- ! sahf
- ! je .L93
- ! movl $33,errno
- ! pushl $.L95
- ! pushl $_iob+32
- ! call fprintf
- ! addl $8,%esp
- ! fldl .L96
- ! .L106:
- ! .L88:
- ! leave
- ! ret
- ! .align 4
- ! .L93:
- ! fstcw -12(%ebp)
- ! movw -12(%ebp),%ax
- ! orw $0x0c00,%ax
- ! movw %ax,-10(%ebp)
- ! fldcw -10(%ebp)
- fldl 16(%ebp)
- ! fistpl -16(%ebp)
- ! fldcw -12(%ebp)
- ! movl -16(%ebp),%eax
- ! movl $2,%ecx
- ! cltd
- ! idivl %ecx
- ! testl %edx,%edx
- ! je .L97
- ! movl $0,-8(%ebp)
- ! .L97:
- ! .L91:
- ! fldl 8(%ebp)
- ! fcompl .L100
- ! fstsw %ax
- ! sahf
- ! jne .L98
- ! fldl 16(%ebp)
- ! fcompl .L99
- ! fstsw %ax
- ! sahf
- ! je .L98
- ! fldl .L101
- ! leave
- ! ret
- ! .align 4
- ! .L98:
- ! fldl 16(%ebp)
- ! fcompl .L103
- ! fstsw %ax
- ! sahf
- ! jne .L102
- ! fldl .L104
- ! leave
- ! ret
- ! .align 4
- ! .L102:
- ! /ASM
- ! fldl 16(%ebp)
- ! /ASMEND0
- ! /ASM
- ! fldl 8(%ebp)
- ! /ASMEND1
- ! cmpl $0,-4(%ebp)
- ! je .L105
- ! /ASM
- ! fchs
- ! /ASMEND2
- ! .L105:
- ! /ASM
- ! fyl2x
- ! /ASMEND3
- ! /ASM
- ! fst %st(1)
- ! /ASMEND4
- ! /ASM
- ! frndint
- ! /ASMEND5
- ! /ASM
- ! fst %st(2)
- ! /ASMEND6
- ! /ASM
- ! fsubr %st(1), %st
- ! /ASMEND7
- ! /ASM
- ! f2xm1
- ! /ASMEND8
- ! /ASM
- ! fld1
- ! /ASMEND9
- ! /ASM
- ! faddp %st, %st(1)
- ! /ASMEND10
- ! /ASM
- ! fld %st(2)
- ! /ASMEND11
- ! /ASM
- ! fstp %st(2)
- ! /ASMEND12
- ! /ASM
- ! fscale
- ! /ASMEND13
- ! cmpl $0,-8(%ebp)
- ! jne .L106
- ! /ASM
- ! fchs
- ! /ASMEND14
- ! leave
- ! ret
- ! .align 4
- ! .def pow; .val .; .scl -1; .endef
- ! .data
- ! .L95:
- ! .byte 0x70,0x6f,0x77,0x3a,0x20,0x44,0x4f,0x4d,0x41,0x49
- ! .byte 0x4e,0x20,0x45,0x52,0x52,0x4f,0x52,0x0a,0x00
- ! .text
- *** ../rint.s Sun Dec 9 18:13:56 1990
- --- rint.s Mon Dec 17 14:53:52 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl rint
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl rint
- *** ../scalb.s Thu Dec 13 13:55:10 1990
- --- scalb.s Mon Dec 17 14:54:21 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl scalb
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl scalb
- *** ../setcont.s Sun Dec 9 18:13:57 1990
- --- setcont.s Mon Dec 17 14:54:38 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl setcont
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl setcont
- *** ../setinternal.s Sun Dec 9 18:13:57 1990
- --- setinternal.s Mon Dec 17 14:54:47 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl setinternal
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl setinternal
- *** ../sin.s Sun Dec 9 18:13:57 1990
- --- sin.s Mon Dec 17 14:54:58 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl sin
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl sin
- *** ../sinh.s Sun Dec 16 08:51:42 1990
- --- sinh.s Tue Dec 18 06:53:16 1990
- ***************
- *** 1,15 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! ** This file started life as a C program but has been massively hacked.
- ! **
- ! ** The coefficients are from Hart, et.al. via Berkeley
- ! **
- ! */
-
- .data
- .align 4
- --- 1,15 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! // This file started life as a C program but has been massively hacked.
- ! //
- ! // The coefficients are from Hart, et.al. via Berkeley
- ! //
- ! //
-
- .data
- .align 4
- ***************
- *** 71,87 ****
- jbe .L3
- fldl -8(%ebp)
- fldl2e
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
- fldl .LC1
- ! fmulp
- testl %edx,%edx
- jg .L7
- fchs
- --- 71,87 ----
- jbe .L3
- fldl -8(%ebp)
- fldl2e
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
- fldl .LC1
- ! fmulp %st, %st(1)
- testl %edx,%edx
- jg .L7
- fchs
- ***************
- *** 97,117 ****
- jbe .L6
- fldl 8(%ebp)
- fldl2e
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
- fst %st(1)
- fld1
- ! fdivp
- ! fsubrp
- fldl .LC1
- ! fmulp
- leave
- ret
- .L6:
- --- 97,117 ----
- jbe .L6
- fldl 8(%ebp)
- fldl2e
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
- fst %st(1)
- fld1
- ! fdivp %st, %st(1)
- ! fsubrp %st, %st(1)
- fldl .LC1
- ! fmulp %st, %st(1)
- leave
- ret
- .L6:
- *** ../sqrt.s Sun Dec 9 18:13:57 1990
- --- sqrt.s Mon Dec 17 14:58:28 1990
- ***************
- *** 1,12 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! ** sqrt in the prevailing precision
- ! */
-
- .align 4
- .globl sqrt
- --- 1,12 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! // sqrt in the prevailing precision
- ! //
-
- .align 4
- .globl sqrt
- *** ../sqrtp.s Sun Dec 9 18:13:57 1990
- --- sqrtp.s Mon Dec 17 14:58:52 1990
- ***************
- *** 1,12 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! ** sqrt in 64 bit precision always
- ! */
-
- .align 4
- .globl sqrtp
- --- 1,12 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! // sqrt in 64 bit precision always
- ! //
-
- .align 4
- .globl sqrtp
- *** ../tan.s Sun Dec 9 18:13:57 1990
- --- tan.s Mon Dec 17 14:59:55 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl tan
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl tan
- *** ../tanh.s Sun Dec 9 18:13:58 1990
- --- tanh.s Tue Dec 18 06:56:49 1990
- ***************
- *** 1,11 ****
- ! /*
- ! ** This file is part of the alternative 80386 math library and is
- ! ** covered by the GNU General Public license with my modification
- ! ** as noted in the README file that accompanied this file.
- ! **
- ! ** Copyright 1990 G. Geers
- ! **
- ! */
-
- .align 4
- .globl tanh
- --- 1,11 ----
- ! //
- ! // This file is part of the alternative 80386 math library and is
- ! // covered by the GNU General Public license with my modification
- ! // as noted in the README file that accompanied this file.
- ! //
- ! // Copyright 1990 G. Geers
- ! //
- ! //
-
- .align 4
- .globl tanh
- ***************
- *** 16,39 ****
-
- fldl 8(%ebp)
- fldl2e
- ! fmulp
- ! fstl %st(1)
- frndint
- ! fstl %st(2)
- ! fsubrp
- f2xm1
- fld1
- ! faddp
- fscale
- ! fstl %st(1)
- fstl -16(%ebp)
-
- fld1
- ! fdivp
-
- ! fsubr
- faddl -16(%ebp)
- ! fdivrp
-
- leave
- ret
- --- 16,39 ----
-
- fldl 8(%ebp)
- fldl2e
- ! fmulp %st, %st(1)
- ! fst %st(1)
- frndint
- ! fst %st(2)
- ! fsubrp %st, %st(1)
- f2xm1
- fld1
- ! faddp %st, %st(1)
- fscale
- ! fst %st(1)
- fstl -16(%ebp)
-
- fld1
- ! fdivp %st, %st(1)
-
- ! fsubr %st(1), %st
- faddl -16(%ebp)
- ! fdivrp %st, %st(1)
-
- leave
- ret
- *** ../nextafter.c Mon Dec 17 12:00:23 1990
- --- nextafter.c Tue Dec 18 10:03:34 1990
- ***************
- *** 64,80 ****
- asm("fldl .Lulpup");
-
- asm("fldl -16(%ebp)");
- ! asm("fmulp");
-
- if (y > x) {
- asm("fldl 8(%ebp)");
- ! asm("faddp");
- asm("leave");
- asm("ret");
- }
- if (y < x) {
- asm("fldl 8(%ebp)");
- ! asm("fsubp");
- asm("leave");
- asm("ret");
- }
- --- 64,80 ----
- asm("fldl .Lulpup");
-
- asm("fldl -16(%ebp)");
- ! asm("fmulp %st, %st(1)");
-
- if (y > x) {
- asm("fldl 8(%ebp)");
- ! asm("faddp %st, %st(1)");
- asm("leave");
- asm("ret");
- }
- if (y < x) {
- asm("fldl 8(%ebp)");
- ! asm("fsubp %st, %st(1)");
- asm("leave");
- asm("ret");
- }
-