glibc/sysdeps/x86_64/fpu/multiarch
Joseph Myers 527cd19c3d Make dbl-64 atan and tan into weak aliases.
This patch converts the dbl-64 implementations of atan and tan into
weak aliases of __atan and __tan, in preparation for making them use
libm_alias_double.  Consequent changes are made to the x86_64
multiarch versions wrapping round them (with the dbl-64 functions,
like other such functions, being made not to define their aliases at
all if __atan or __tan are defined as macros by an including file).

Tested for x86_64, and with build-many-glibcs.py.

	* sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
	define as weak alias of __atan.  Do not define any aliases if
	[__atan].
	[NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
	[NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
	* sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
	as weak alias of __tan.  Do not define any aliases if [__tan].
	[NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
	[NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
	* sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
	__atan.
	* sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
	* sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
	* sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
	and define as weak alias of __atan.
	* sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
	__atan.
	* sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
	* sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
	* sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
	define as weak alias of __tan.
2017-10-02 20:20:52 +00:00
..
doasin-fma4.c
doasin-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
dosincos-fma4.c
dosincos-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_asin-fma4.c
e_asin-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_asin.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_atan2-avx.c
e_atan2-fma4.c
e_atan2-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_atan2.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_exp-avx.c
e_exp-fma4.c
e_exp-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_exp.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_expf-fma.S x86-64: Optimize e_expf with FMA [BZ #21912] 2017-08-16 08:43:48 -07:00
e_expf.c x86_64 __redirect_ieee754_expf: Change double to float 2017-08-28 08:45:53 -07:00
e_log-avx.c
e_log-fma4.c
e_log-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_log.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_pow-fma4.c
e_pow-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
e_pow.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
halfulp-fma4.c
halfulp-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
ifunc-avx-fma4.h x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
ifunc-fma4.h x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
ifunc-fma.h x86-64: Optimize e_expf with FMA [BZ #21912] 2017-08-16 08:43:48 -07:00
ifunc-mathvec-avx2.h x86-64: Check FMA_Usable in ifunc-mathvec-avx2.h [BZ #21966] 2017-08-18 06:19:07 -07:00
ifunc-mathvec-avx512.h x86: Add MathVec_Prefer_No_AVX512 to cpu-features [BZ #21967] 2017-09-12 07:54:47 -07:00
ifunc-mathvec-sse4_1.h x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
ifunc-sse4_1.h
Makefile Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00
mpa-avx.c
mpa-fma4.c
mpa-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
mpatan2-fma4.c
mpatan2-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
mpatan-fma4.c
mpatan-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
mpexp-avx.c
mpexp-fma4.c
mpexp-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
mplog-avx.c
mplog-fma4.c
mplog-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
mpsqrt-fma4.c
mpsqrt-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
mptan-fma4.c
mptan-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
s_atan-avx.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_atan-fma4.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_atan-fma.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_atan.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_ceil-c.c
s_ceil-sse4_1.S
s_ceil.c
s_ceilf-c.c
s_ceilf-sse4_1.S
s_ceilf.c
s_floor-c.c
s_floor-sse4_1.S
s_floor.c
s_floorf-c.c
s_floorf-sse4_1.S
s_floorf.c
s_fma.c
s_fmaf.c
s_nearbyint-c.c
s_nearbyint-sse4_1.S
s_nearbyint.c
s_nearbyintf-c.c
s_nearbyintf-sse4_1.S
s_nearbyintf.c
s_rint-c.c
s_rint-sse4_1.S
s_rint.c
s_rintf-c.c
s_rintf-sse4_1.S
s_rintf.c
s_sin-avx.c
s_sin-fma4.c
s_sin-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
s_sin.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
s_tan-avx.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_tan-fma4.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_tan-fma.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_tan.c Make dbl-64 atan and tan into weak aliases. 2017-10-02 20:20:52 +00:00
s_trunc-c.c Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00
s_trunc-sse4_1.S Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00
s_trunc.c Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00
s_truncf-c.c Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00
s_truncf-sse4_1.S Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00
s_truncf.c Add SSE4.1 trunc, truncf (bug 20142). 2017-09-20 16:54:05 +00:00
sincos32-fma4.c
sincos32-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
slowexp-avx.c
slowexp-fma4.c
slowexp-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
slowpow-fma4.c
slowpow-fma.c x86-64: Add FMA multiarch functions to libm 2017-08-07 08:20:56 -07:00
svml_d_cos2_core_sse4.S
svml_d_cos2_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_cos2_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_cos4_core_avx2.S
svml_d_cos4_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_cos4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_cos8_core_avx512.S
svml_d_cos8_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_cos8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_exp2_core_sse4.S
svml_d_exp2_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_exp2_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_exp4_core_avx2.S
svml_d_exp4_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_exp4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_exp8_core_avx512.S
svml_d_exp8_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_exp8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_log2_core_sse4.S
svml_d_log2_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_log2_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_log4_core_avx2.S
svml_d_log4_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_log4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_log8_core_avx512.S
svml_d_log8_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_log8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_pow2_core_sse4.S
svml_d_pow2_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_pow2_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_pow4_core_avx2.S
svml_d_pow4_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_pow4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_pow8_core_avx512.S
svml_d_pow8_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_pow8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sin2_core_sse4.S
svml_d_sin2_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sin2_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sin4_core_avx2.S
svml_d_sin4_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sin4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sin8_core_avx512.S
svml_d_sin8_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sin8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sincos2_core_sse4.S
svml_d_sincos2_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sincos2_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sincos4_core_avx2.S
svml_d_sincos4_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sincos4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sincos8_core_avx512.S x86_64: Replace AVX512F .byte sequences with instructions 2017-08-23 06:26:44 -07:00
svml_d_sincos8_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_d_sincos8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_cosf4_core_sse4.S
svml_s_cosf4_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_cosf4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_cosf8_core_avx2.S
svml_s_cosf8_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_cosf8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_cosf16_core_avx512.S
svml_s_cosf16_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_cosf16_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_expf4_core_sse4.S
svml_s_expf4_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_expf4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_expf8_core_avx2.S
svml_s_expf8_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_expf8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_expf16_core_avx512.S
svml_s_expf16_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_expf16_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_logf4_core_sse4.S
svml_s_logf4_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_logf4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_logf8_core_avx2.S
svml_s_logf8_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_logf8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_logf16_core_avx512.S
svml_s_logf16_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_logf16_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_powf4_core_sse4.S
svml_s_powf4_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_powf4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_powf8_core_avx2.S
svml_s_powf8_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_powf8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_powf16_core_avx512.S
svml_s_powf16_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_powf16_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sincosf4_core_sse4.S
svml_s_sincosf4_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sincosf4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sincosf8_core_avx2.S
svml_s_sincosf8_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sincosf8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sincosf16_core_avx512.S x86_64: Replace AVX512F .byte sequences with instructions 2017-08-23 06:26:44 -07:00
svml_s_sincosf16_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sincosf16_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sinf4_core_sse4.S
svml_s_sinf4_core-sse2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sinf4_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sinf8_core_avx2.S
svml_s_sinf8_core-sse.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sinf8_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sinf16_core_avx512.S
svml_s_sinf16_core-avx2.S x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00
svml_s_sinf16_core.c x86-64: Implement libmathvec IFUNC selectors in C 2017-08-04 13:03:58 -07:00