mirror of git://sourceware.org/git/glibc.git
2007-03-27 Jakub Jelinek <jakub@redhat.com> [BZ #3306] * math/math_private.h (math_opt_barrier, math_force_eval): Define. * sysdeps/i386/fpu/math_private.h: New file. * sysdeps/x86_64/fpu/math_private.h: New file. * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". * math/s_nextafter.c (__nextafter): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise. * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise. * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use math_opt_barrier and math_force_eval macros. * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise. * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise. * sysdeps/i386/fpu/s_nexttoward.c: Include float.h. (__nexttoward): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". Only use asm to force double result if FLT_EVAL_METHOD is 2. * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. Use "+m" constraint on asm rather than "=m" and "m". Only use asm to force double result if FLT_EVAL_METHOD is not 0. * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h. (__nldbl_nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h. (__nexttowardf): Use math_opt_barrier and math_force_eval macros. If FLT_EVAL_METHOD is not 0, force x to float using asm. * math/bug-nextafter.c (zero, inf): New variables. (main): Add new tests. * math/bug-nexttoward.c (zero, inf): New variables. (main): Add new tests. |
||
|---|---|---|
| .. | ||
| Makefile | ||
| e_acoshl.c | ||
| e_acosl.c | ||
| e_asinl.c | ||
| e_atan2l.c | ||
| e_atanhl.c | ||
| e_coshl.c | ||
| e_expl.c | ||
| e_fmodl.c | ||
| e_gammal_r.c | ||
| e_hypotl.c | ||
| e_j0l.c | ||
| e_j1l.c | ||
| e_jnl.c | ||
| e_lgammal_r.c | ||
| e_log2l.c | ||
| e_log10l.c | ||
| e_logl.c | ||
| e_powl.c | ||
| e_rem_pio2l.c | ||
| e_remainderl.c | ||
| e_sinhl.c | ||
| e_sqrtl.c | ||
| ieee754.h | ||
| k_cosl.c | ||
| k_sincosl.c | ||
| k_sinl.c | ||
| k_tanl.c | ||
| ldbl2mpn.c | ||
| math_ldbl.h | ||
| mpn2ldbl.c | ||
| printf_fphex.c | ||
| s_asinhl.c | ||
| s_atanl.c | ||
| s_cbrtl.c | ||
| s_ceill.c | ||
| s_copysignl.c | ||
| s_cosl.c | ||
| s_cprojl.c | ||
| s_ctanhl.c | ||
| s_ctanl.c | ||
| s_erfl.c | ||
| s_expm1l.c | ||
| s_fabsl.c | ||
| s_finitel.c | ||
| s_floorl.c | ||
| s_fpclassifyl.c | ||
| s_frexpl.c | ||
| s_ilogbl.c | ||
| s_isinfl.c | ||
| s_isnanl.c | ||
| s_llrintl.c | ||
| s_llroundl.c | ||
| s_log1pl.c | ||
| s_logbl.c | ||
| s_lrintl.c | ||
| s_lroundl.c | ||
| s_modfl.c | ||
| s_nearbyintl.c | ||
| s_nextafterl.c | ||
| s_nexttoward.c | ||
| s_nexttowardf.c | ||
| s_remquol.c | ||
| s_rintl.c | ||
| s_roundl.c | ||
| s_scalblnl.c | ||
| s_scalbnl.c | ||
| s_signbitl.c | ||
| s_sincosl.c | ||
| s_sinl.c | ||
| s_tanhl.c | ||
| s_tanl.c | ||
| s_truncl.c | ||
| strtold_l.c | ||
| t_sincosl.c | ||
| w_expl.c | ||