Use libm_alias_double for i386.
commitbc4e8f9b49950c982f22d4f4c602a972a63abf65
authorJoseph Myers <joseph@codesourcery.com>
Tue, 28 Nov 2017 18:15:44 +0000 (28 18:15 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 28 Nov 2017 18:15:44 +0000 (28 18:15 +0000)
tree7ee66a283a014f991cb1a62e467d44c5e250f8c7
parent8d81ce0c6d6ca923571e8b2bac132929f9a02973
Use libm_alias_double for i386.

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

Tested with build-many-glibcs.py for all its i386 configurations that
installed stripped shared libraries are unchanged by the patch, as
well as running the full glibc testsuite for i686.

* sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
(asinh): Define using libm_alias_double.
* sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
(atan): Define using libm_alias_double.
* sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
(cbrt): Define using libm_alias_double.
* sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
(ceil): Define using libm_alias_double.
* sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
(copysign): Define using libm_alias_double.
* sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
(expm1): Define using libm_alias_double.
* sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
(fabs): Define using libm_alias_double.
* sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
(fdim): Define using libm_alias_double.
* sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
(floor): Define using libm_alias_double.
* sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
(fmax): Define using libm_alias_double.
* sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
(fmin): Define using libm_alias_double.
* sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
(frexp): Define using libm_alias_double.
* sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
(llrint): Define using libm_alias_double.
* sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
(logb): Define using libm_alias_double.
* sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
(lrint): Define using libm_alias_double.
* sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
(nearbyint): Define using libm_alias_double.
* sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
(remquo): Define using libm_alias_double.
* sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
(rint): Define using libm_alias_double.
* sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
(trunc): Define using libm_alias_double.
* sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
(fmax): Define using libm_alias_double.
* sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
(fmin): Define using libm_alias_double.
* sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
(fma): Define using libm_alias_double.
23 files changed:
ChangeLog
sysdeps/i386/fpu/s_asinh.S
sysdeps/i386/fpu/s_atan.S
sysdeps/i386/fpu/s_cbrt.S
sysdeps/i386/fpu/s_ceil.S
sysdeps/i386/fpu/s_copysign.S
sysdeps/i386/fpu/s_expm1.S
sysdeps/i386/fpu/s_fabs.S
sysdeps/i386/fpu/s_fdim.c
sysdeps/i386/fpu/s_floor.S
sysdeps/i386/fpu/s_fmax.S
sysdeps/i386/fpu/s_fmin.S
sysdeps/i386/fpu/s_frexp.S
sysdeps/i386/fpu/s_llrint.S
sysdeps/i386/fpu/s_logb.S
sysdeps/i386/fpu/s_lrint.S
sysdeps/i386/fpu/s_nearbyint.S
sysdeps/i386/fpu/s_remquo.S
sysdeps/i386/fpu/s_rint.S
sysdeps/i386/fpu/s_trunc.S
sysdeps/i386/i686/fpu/s_fmax.S
sysdeps/i386/i686/fpu/s_fmin.S
sysdeps/i386/i686/multiarch/s_fma.c