diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-13 13:20:00 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-29 16:22:21 -0200 |
commit | 522228ddeae7b5cfb76332f80d2c0dfdb7055d4c (patch) | |
tree | cb38c185c4e68963a86ca574a89de6c7c256b0e1 /ChangeLog | |
parent | 2a6f4fab24289d0952128d15a6264ff9dbb2b649 (diff) | |
download | glibc-522228ddeae7b5cfb76332f80d2c0dfdb7055d4c.tar glibc-522228ddeae7b5cfb76332f80d2c0dfdb7055d4c.tar.gz glibc-522228ddeae7b5cfb76332f80d2c0dfdb7055d4c.tar.bz2 glibc-522228ddeae7b5cfb76332f80d2c0dfdb7055d4c.zip |
sparc: refactor sparc64 lrint{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_lrint{f}-generic.S).
Checked on sparc64-linux-gnu and sparcv9-linux-gnu.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile
(libm-sysdep_routines): Add s_lrint-generic and s_lrint-generic
objects.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,6 +1,16 @@ 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org> * sysdeps/sparc/sparc64/fpu/multiarch/Makefile + (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic + objects. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file. + * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise. + + * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (libm-sysdep_routines): Add s_nearbyint-generic and s_nearbyintf-generic objects. * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file. |