diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-13 15:49:25 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-12-01 11:48:58 -0200 |
commit | e240cf0e0e47436c1beb0e95f78c03f3774a4533 (patch) | |
tree | 2c7074fb7313835de4a299d335916b7ab271bd7c /ChangeLog | |
parent | 5b4e5e78690c4938de312a8b176f4b14eb7bea4a (diff) | |
download | glibc-e240cf0e0e47436c1beb0e95f78c03f3774a4533.tar glibc-e240cf0e0e47436c1beb0e95f78c03f3774a4533.tar.gz glibc-e240cf0e0e47436c1beb0e95f78c03f3774a4533.tar.bz2 glibc-e240cf0e0e47436c1beb0e95f78c03f3774a4533.zip |
sparc: refactor sparc32 fabs{f} selector to C
This patch refactors the sparc32 ifunc selector to a C implementation.
Also, the generic symbol is moved to its own implementation file
s_fabs{f}-generic.S).
Checked on sparc64-linux-gnu and sparcv9-linux-gnu.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
(libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,6 +1,17 @@ 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org> * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile + (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise. + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile (sysdep_calls): New rule. (sysdep_routines): Use sysdep_calls as base. (libm-sysdep_routines): Add generic rule for symbols shared with |