Use libm_alias_float for powerpc

System Internals / glibc - Joseph Myers [codesourcery.com] - 5 December 2017 00:26 EST

Continuing the preparation for additional _FloatN / _FloatNx function aliases, this patch makes powerpc libm function implementations use libm_alias_float to define function aliases.

Tested with build-many-glibcs.py that installed stripped shared libraries are unchanged for all its hard-float powerpc configurations.

- sysdeps/powerpc/fpu/s_cosf.c: Include . (cosf): Define using libm_alias_float.
- sysdeps/powerpc/fpu/s_fabs.S: Include . (fabsf): Define using libm_alias_float.
- sysdeps/powerpc/fpu/s_fmaf.S: Include . (fmaf): Define using libm_alias_float.
- sysdeps/powerpc/fpu/s_rintf.c: Include . (rintf): Define using libm_alias_float.
- sysdeps/powerpc/fpu/s_sinf.c: Include . (sinf): Define using libm_alias_float.
- sysdeps/powerpc/power5+/fpu/s_modff.c: Include . (modff): Define using libm_alias_float.
- sysdeps/powerpc/power7/fpu/s_logbf.c: Include . (logbf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include . (ceilf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include . (copysignf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include . (floorf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include . (lrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include . (lroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include . (nearbyintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include . (rintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include . (roundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include . (truncf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Include . (ceilf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: Include . (copysignf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Include . (floorf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: Include . (logbf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: Include . (lrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: Include . (lroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: Include . (modff): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Include . (roundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Include . (truncf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include . (ceilf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include . (floorf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include . (lroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include . (roundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include . (truncf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include . (copysignf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include . (lrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include . (lroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include . (ceilf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include . (copysignf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include . (cosf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include . (floorf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include . (logbf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include . (modff): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include . (roundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include . (sinf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include . (truncf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include . (ceilf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include . (copysignf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include . (floorf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include . (nearbyintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include . (rintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include . (roundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include . (truncf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include . (ceilf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include . (floorf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include . (roundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include . (truncf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include . (copysignf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include . (cosf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include . (llrintf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include . (llroundf): Define using libm_alias_float.
- sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include . (sinf): Define using libm_alias_float.

216933b242 Use libm_alias_float for powerpc.
ChangeLog | 220 +++++++++++++++++++++
sysdeps/powerpc/fpu/s_cosf.c | 3 +-
sysdeps/powerpc/fpu/s_fabs.S | 3 +-
sysdeps/powerpc/fpu/s_fmaf.S | 3 +-
sysdeps/powerpc/fpu/s_rintf.c | 3 +-
sysdeps/powerpc/fpu/s_sinf.c | 3 +-
sysdeps/powerpc/power5+/fpu/s_modff.c | 3 +-
sysdeps/powerpc/power7/fpu/s_logbf.c | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_ceilf.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_copysign.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_floorf.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_llrintf.c | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_llroundf.c | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_lrint.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_lround.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_rintf.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_roundf.S | 3 +-
sysdeps/powerpc/powerpc32/fpu/s_truncf.S | 3 +-
.../powerpc32/power4/fpu/multiarch/s_ceilf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_copysignf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_floorf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_llrintf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_llroundf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_logbf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_lrintf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_lroundf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_modff.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_roundf.c | 3 +-
.../powerpc32/power4/fpu/multiarch/s_truncf.c | 3 +-
sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S | 3 +-
sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S | 3 +-
sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S | 3 +-
sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S | 3 +-
sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S | 3 +-
sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S | 3 +-
sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S | 3 +-
sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S | 3 +-
sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S | 3 +-
sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S | 3 +-
sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S | 3 +-
sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S | 3 +-
sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S | 3 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c | 3 +-
.../powerpc/powerpc64/fpu/multiarch/s_copysignf.c | 3 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c | 3 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c | 3 +-
.../powerpc/powerpc64/fpu/multiarch/s_llrintf.c | 5 +-
.../powerpc/powerpc64/fpu/multiarch/s_llroundf.c | 5 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c | 3 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c | 3 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c | 3 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c | 3 +-
sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c | 3 +-
sysdeps/powerpc/powerpc64/fpu/s_ceilf.S | 3 +-
sysdeps/powerpc/powerpc64/fpu/s_copysign.S | 3 +-
sysdeps/powerpc/powerpc64/fpu/s_floorf.S | 3 +-
sysdeps/powerpc/powerpc64/fpu/s_llrint.S | 5 +-
sysdeps/powerpc/powerpc64/fpu/s_llroundf.S | 5 +-
sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S | 3 +-
sysdeps/powerpc/powerpc64/fpu/s_rintf.S | 3 +-
sysdeps/powerpc/powerpc64/fpu/s_roundf.S | 3 +-
sysdeps/powerpc/powerpc64/fpu/s_truncf.S | 3 +-
sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S | 3 +-
sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S | 3 +-
sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S | 5 +-
sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S | 3 +-
sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S | 3 +-
sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S | 3 +-
sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S | 5 +-
sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S | 5 +-
sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S | 3 +-
sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S | 5 +-
sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S | 5 +-
sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S | 3 +-
75 files changed, 377 insertions(+), 83 deletions(-)

Upstream: sourceware.org


  • Share