mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-15 17:40:06 +00:00
71223ef909
Continuing the move to use, within libm, public names for libm functions that can be inlined as built-in functions on many architectures, this patch moves calls to __ceil functions to call the corresponding ceil names instead, with asm redirection to __ceil when the calls are not inlined. Tested for x86_64, and with build-many-glibcs.py. * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect using MATH_REDIRECT. * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before header inclusion. * sysdeps/aarch64/fpu/s_ceilf.c: Likewise. * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise. * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise. * sysdeps/ieee754/float128/s_ceilf128.c: Likewise. * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise. * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise. * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise. * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise. * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise. * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise. * sysdeps/riscv/rvf/s_ceilf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise. * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise. * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise. * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil): Remove macro. * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil functions instead of __ceil variants. * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise. * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise. * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise. * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise. * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise. * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise. * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise. |
||
---|---|---|
.. | ||
bits | ||
e_acoshl.c | ||
e_acosl.c | ||
e_asinl.c | ||
e_atan2l.c | ||
e_atanhl.c | ||
e_coshl.c | ||
e_exp10l.c | ||
e_expl.c | ||
e_fmodl.c | ||
e_gammal_r.c | ||
e_hypotl.c | ||
e_ilogbl.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 | ||
float128-abi.h | ||
gamma_productl.c | ||
ieee754.h | ||
k_cosl.c | ||
k_sincosl.c | ||
k_sinl.c | ||
k_tanl.c | ||
ldbl2mpn.c | ||
lgamma_negl.c | ||
lgamma_productl.c | ||
Makeconfig | ||
Makefile | ||
math_ldbl.h | ||
math-nan-payload-ldouble.h | ||
mpn2ldbl.c | ||
printf_fphex_macros.h | ||
printf_fphex.c | ||
s_asinhl.c | ||
s_atanl.c | ||
s_cbrtl.c | ||
s_ceill.c | ||
s_copysignl.c | ||
s_cosl.c | ||
s_daddl.c | ||
s_ddivl.c | ||
s_dmull.c | ||
s_dsubl.c | ||
s_erfl.c | ||
s_expm1l.c | ||
s_f64xaddf128.c | ||
s_f64xdivf128.c | ||
s_f64xmulf128.c | ||
s_f64xsubf128.c | ||
s_fabsl.c | ||
s_faddl.c | ||
s_fdivl.c | ||
s_finitel.c | ||
s_floorl.c | ||
s_fma.c | ||
s_fmal.c | ||
s_fmull.c | ||
s_fpclassifyl.c | ||
s_frexpl.c | ||
s_fromfpl_main.c | ||
s_fromfpl.c | ||
s_fromfpxl.c | ||
s_fsubl.c | ||
s_getpayloadl.c | ||
s_isinfl.c | ||
s_isnanl.c | ||
s_issignalingl.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_nextupl.c | ||
s_remquol.c | ||
s_rintl.c | ||
s_roundevenl.c | ||
s_roundl.c | ||
s_scalblnl.c | ||
s_scalbnl.c | ||
s_setpayloadl_main.c | ||
s_setpayloadl.c | ||
s_setpayloadsigl.c | ||
s_signbitl.c | ||
s_sincosl.c | ||
s_sinl.c | ||
s_tanhl.c | ||
s_tanl.c | ||
s_totalorderl.c | ||
s_totalordermagl.c | ||
s_truncl.c | ||
s_ufromfpl.c | ||
s_ufromfpxl.c | ||
strtold_l.c | ||
t_expl.h | ||
t_sincosl.c | ||
x2y2m1l.c |