glibc/sysdeps/sparc/sparc64/fpu
Adhemerval Zanella 1cbd7bfe65 sparc: refactor sparc64 signbit{f} selector to C
This patch refactors the sparc64 ifunc selector to a C implementation.
Also, the generic symbol is moved to its own implementation file
(s_signbit{f}-generic.S).

It also simplifies the multiarch Makefile by moving the common objects
from libm-sysdeps_routines and sysdeps_routines to a new sysdeps_call
rule and including it where required with the correct prefix.

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.

	* sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
	macro.
	* sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
	rule.
	(sysdep_routines): Use sysdep_calls as base.
	(libm-sysdep_routines): Add generic rule for symbols shared with
	libc.  Add s_signbit-generic and s_signbitf-generic objects.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
	* sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.

Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2017-11-29 16:21:27 -02:00
..
multiarch sparc: refactor sparc64 signbit{f} selector to C 2017-11-29 16:21:27 -02:00
e_sqrtl.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_copysign.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_copysignf.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_fabs.c Update. 2002-04-03 00:36:12 +00:00
s_fabsf.c Update. 2002-04-03 00:36:12 +00:00
s_fabsl.c Use libm_alias_ldouble for SPARC fabsl. 2017-10-13 16:43:18 +00:00
s_finite.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_finitef.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_fma.c Sparc long double is emulated in software, therefore use dbl-64's s_fma.c 2012-03-15 20:55:42 -07:00
s_isinf.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_isinff.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_isnan.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_isnanf.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_llrint.S Add sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit. 2012-03-02 18:59:09 -08:00
s_llrintf.S Add sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit. 2012-03-02 18:59:09 -08:00
s_lrint.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_lrintf.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_nearbyint.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_nearbyintf.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_rint.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_rintf.S Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
s_signbit.S Remove useless SPARC signbit aliases. 2017-05-12 16:37:12 +00:00
s_signbitf.S Remove useless SPARC signbit aliases. 2017-05-12 16:37:12 +00:00
s_signbitl.S Optimized sparc assembler for signbit{,f,l} and some variants of isnan. 2012-03-01 20:43:38 -08:00