diff options
Diffstat (limited to 'sysdeps/libm-i387')
65 files changed, 101 insertions, 22 deletions
diff --git a/sysdeps/libm-i387/e_acos.S b/sysdeps/libm-i387/e_acos.S index 6ec7785363..c9fa81006c 100644 --- a/sysdeps/libm-i387/e_acos.S +++ b/sysdeps/libm-i387/e_acos.S @@ -12,9 +12,10 @@ ENTRY(__ieee754_acos) fldl 4(%esp) /* x */ fst %st(1) fmul %st(0) /* x^2 */ - fld1 + fld1 fsubp /* 1 - x^2 */ fsqrt /* sqrt (1 - x^2) */ fxch %st(1) fpatan ret +PSEUDO_END (__ieee754_acos) diff --git a/sysdeps/libm-i387/e_acosl.S b/sysdeps/libm-i387/e_acosl.S index 3779fa7861..4cc56c0bb8 100644 --- a/sysdeps/libm-i387/e_acosl.S +++ b/sysdeps/libm-i387/e_acosl.S @@ -9,7 +9,7 @@ /* acosl = atanl (sqrtl(1 - x^2) / x) */ -ENTRY(__ieee754_acos) +ENTRY(__ieee754_acosl) fldt 4(%esp) /* x */ fst %st(1) fmul %st(0) /* x^2 */ @@ -19,3 +19,4 @@ ENTRY(__ieee754_acos) fxch %st(1) fpatan ret +PSEUDO_END (__ieee754_acosl) diff --git a/sysdeps/libm-i387/e_asin.S b/sysdeps/libm-i387/e_asin.S index dfcd7bce95..cba41935d5 100644 --- a/sysdeps/libm-i387/e_asin.S +++ b/sysdeps/libm-i387/e_asin.S @@ -17,3 +17,4 @@ ENTRY(__ieee754_asin) fsqrt /* sqrt (1 - x^2) */ fpatan ret +PSEUDO_END (__ieee754_asin) diff --git a/sysdeps/libm-i387/e_asinl.S b/sysdeps/libm-i387/e_asinl.S index 7a90c3e63a..d4e254874e 100644 --- a/sysdeps/libm-i387/e_asinl.S +++ b/sysdeps/libm-i387/e_asinl.S @@ -19,3 +19,4 @@ ENTRY(__ieee754_asinl) fsqrt /* sqrt (1 - x^2) */ fpatan ret +PSEUDO_END (__ieee754_asinl) diff --git a/sysdeps/libm-i387/e_atan2.S b/sysdeps/libm-i387/e_atan2.S index da2e11925c..6f7fc74b65 100644 --- a/sysdeps/libm-i387/e_atan2.S +++ b/sysdeps/libm-i387/e_atan2.S @@ -12,3 +12,4 @@ ENTRY(__ieee754_atan2) fldl 12(%esp) fpatan ret +PSEUDO_END (__ieee754_atan2) diff --git a/sysdeps/libm-i387/e_atan2f.S b/sysdeps/libm-i387/e_atan2f.S index 21fc0d9a57..bb6d902172 100644 --- a/sysdeps/libm-i387/e_atan2f.S +++ b/sysdeps/libm-i387/e_atan2f.S @@ -12,3 +12,4 @@ ENTRY(__ieee754_atan2f) flds 8(%esp) fpatan ret +PSEUDO_END (__ieee754_atan2f) diff --git a/sysdeps/libm-i387/e_atan2l.S b/sysdeps/libm-i387/e_atan2l.S index 748571e38e..860885ced1 100644 --- a/sysdeps/libm-i387/e_atan2l.S +++ b/sysdeps/libm-i387/e_atan2l.S @@ -14,3 +14,4 @@ ENTRY(__ieee754_atan2l) fldt 16(%esp) fpatan ret +PSEUDO_END (__ieee754_atan2l) diff --git a/sysdeps/libm-i387/e_exp.S b/sysdeps/libm-i387/e_exp.S index 144748e820..dad201fb3f 100644 --- a/sysdeps/libm-i387/e_exp.S +++ b/sysdeps/libm-i387/e_exp.S @@ -12,6 +12,7 @@ ENTRY(__ieee754_exp) fldl 4(%esp) /* I added the following ugly construct because exp(+-Inf) resulted in NaN. The ugliness results from the bright minds at Intel. + For the i686 the code can be written better. -- drepper@cygnus.com. */ fxam /* Is NaN or +-Inf? */ fstsw %ax @@ -36,3 +37,4 @@ ENTRY(__ieee754_exp) jz .LpInf /* If positive, jump. */ fldz /* Set result to 0. */ .LpInf: ret +PSEUDO_END (__ieee754_exp) diff --git a/sysdeps/libm-i387/e_expl.S b/sysdeps/libm-i387/e_expl.S index d14089828d..2884efa6ce 100644 --- a/sysdeps/libm-i387/e_expl.S +++ b/sysdeps/libm-i387/e_expl.S @@ -14,6 +14,7 @@ ENTRY(__ieee754_expl) fldt 4(%esp) /* I added the following ugly construct because expl(+-Inf) resulted in NaN. The ugliness results from the bright minds at Intel. + For the i686 the code can be written better. -- drepper@cygnus.com. */ fxam /* Is NaN or +-Inf? */ fstsw %ax @@ -38,3 +39,4 @@ ENTRY(__ieee754_expl) jz .LpInf /* If positive, jump. */ fldz /* Set result to 0. */ .LpInf: ret +PSEUDO_END (__ieee754_expl) diff --git a/sysdeps/libm-i387/e_fmod.S b/sysdeps/libm-i387/e_fmod.S index c02df44e18..c4d7535a7c 100644 --- a/sysdeps/libm-i387/e_fmod.S +++ b/sysdeps/libm-i387/e_fmod.S @@ -16,3 +16,4 @@ ENTRY(__ieee754_fmod) jp 1b fstpl %st(1) ret +PSEUDO_END (__ieee754_fmod) diff --git a/sysdeps/libm-i387/e_fmodl.S b/sysdeps/libm-i387/e_fmodl.S index 75ed17b9e5..8c2bd06b0a 100644 --- a/sysdeps/libm-i387/e_fmodl.S +++ b/sysdeps/libm-i387/e_fmodl.S @@ -18,3 +18,4 @@ ENTRY(__ieee754_fmodl) jp 1b fstpl %st(1) ret +PSEUDO_END (__ieee754_fmodl) diff --git a/sysdeps/libm-i387/e_log.S b/sysdeps/libm-i387/e_log.S index 98d569ea43..2a51d7520c 100644 --- a/sysdeps/libm-i387/e_log.S +++ b/sysdeps/libm-i387/e_log.S @@ -12,3 +12,4 @@ ENTRY(__ieee754_log) fldl 4(%esp) fyl2x ret +PSEUDO_END (__ieee754_log) diff --git a/sysdeps/libm-i387/e_log10.S b/sysdeps/libm-i387/e_log10.S index 612344be56..17b3067de5 100644 --- a/sysdeps/libm-i387/e_log10.S +++ b/sysdeps/libm-i387/e_log10.S @@ -12,3 +12,4 @@ ENTRY(__ieee754_log10) fldl 4(%esp) fyl2x ret +PSEUDO_END (__ieee754_log10) diff --git a/sysdeps/libm-i387/e_log10l.S b/sysdeps/libm-i387/e_log10l.S index 0a19256933..cfddb5ce2a 100644 --- a/sysdeps/libm-i387/e_log10l.S +++ b/sysdeps/libm-i387/e_log10l.S @@ -14,3 +14,4 @@ ENTRY(__ieee754_log10l) fldt 4(%esp) fyl2x ret +PSEUDO_END(__ieee754_log10l) diff --git a/sysdeps/libm-i387/e_logl.S b/sysdeps/libm-i387/e_logl.S index 2575d6c6e8..4c1550e929 100644 --- a/sysdeps/libm-i387/e_logl.S +++ b/sysdeps/libm-i387/e_logl.S @@ -14,3 +14,4 @@ ENTRY(__ieee754_logl) fldt 4(%esp) fyl2x ret +PSEUDO_END(__ieee754_logl) diff --git a/sysdeps/libm-i387/e_remainder.S b/sysdeps/libm-i387/e_remainder.S index d14f2e82bd..287b616ff7 100644 --- a/sysdeps/libm-i387/e_remainder.S +++ b/sysdeps/libm-i387/e_remainder.S @@ -16,3 +16,4 @@ ENTRY(__ieee754_remainder) jp 1b fstpl %st(1) ret +PSEUDO_END (__ieee754_remainder) diff --git a/sysdeps/libm-i387/e_remainderf.S b/sysdeps/libm-i387/e_remainderf.S index ed578ea542..cdc1ac8b6f 100644 --- a/sysdeps/libm-i387/e_remainderf.S +++ b/sysdeps/libm-i387/e_remainderf.S @@ -16,3 +16,4 @@ ENTRY(__ieee754_remainderf) jp 1b fstpl %st(1) ret +PSEUDO_END (__ieee754_remainderf) diff --git a/sysdeps/libm-i387/e_remainderl.S b/sysdeps/libm-i387/e_remainderl.S index ce98515167..2c32550708 100644 --- a/sysdeps/libm-i387/e_remainderl.S +++ b/sysdeps/libm-i387/e_remainderl.S @@ -17,3 +17,4 @@ ENTRY(__ieee754_remainderl) sahf jp 1b ret +PSEUDO_END (__ieee754_remainderl) diff --git a/sysdeps/libm-i387/e_scalb.S b/sysdeps/libm-i387/e_scalb.S index 7d95f8e3b3..0aed96d1c5 100644 --- a/sysdeps/libm-i387/e_scalb.S +++ b/sysdeps/libm-i387/e_scalb.S @@ -12,3 +12,4 @@ ENTRY(__ieee754_scalb) fldl 4(%esp) fscale ret +PSEUDO_END(__ieee754_scalb) diff --git a/sysdeps/libm-i387/e_scalbl.S b/sysdeps/libm-i387/e_scalbl.S index 8d5cd3b429..40d6ff028f 100644 --- a/sysdeps/libm-i387/e_scalbl.S +++ b/sysdeps/libm-i387/e_scalbl.S @@ -14,3 +14,4 @@ ENTRY(__ieee754_scalbl) fldt 4(%esp) fscale ret +PSEUDO_END(__ieee754_scalbl) diff --git a/sysdeps/libm-i387/e_sqrt.S b/sysdeps/libm-i387/e_sqrt.S index 34fe9b7136..170363fa87 100644 --- a/sysdeps/libm-i387/e_sqrt.S +++ b/sysdeps/libm-i387/e_sqrt.S @@ -11,3 +11,4 @@ ENTRY(__ieee754_sqrt) fldl 4(%esp) fsqrt ret +PSEUDO_END (__ieee754_sqrt) diff --git a/sysdeps/libm-i387/e_sqrtf.S b/sysdeps/libm-i387/e |
