diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-13 16:05:24 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-12-01 11:49:36 -0200 |
commit | dbeb74ef84eeb981fff843d34c2ba341faad9791 (patch) | |
tree | fba4ec7b417188e5f68e71611eda12e70e5daa56 /ChangeLog | |
parent | fa7ded96125105626d14fe400deb06f5554f08bf (diff) | |
download | glibc-dbeb74ef84eeb981fff843d34c2ba341faad9791.tar glibc-dbeb74ef84eeb981fff843d34c2ba341faad9791.tar.gz glibc-dbeb74ef84eeb981fff843d34c2ba341faad9791.tar.bz2 glibc-dbeb74ef84eeb981fff843d34c2ba341faad9791.zip |
sparc: refactor sparc32 rint{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_rint{f}-generic.S).
Checked on sparc64-linux-gnu and sparcv9-linux-gnu.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
(libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.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_rintf-generic and s_rint-generic. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New + file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S: + Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file. + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise. + + * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic. * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New file. |