diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-03 10:58:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-28 08:53:15 -0200 |
commit | 69056564042f3d43012814f92230d2c3f9ab7d7c (patch) | |
tree | f2c2467ff846edff2f89b35653d10bf75840f02e /sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S | |
parent | 88684de7a68b88e8d7e29b2490bdb62994a5e97e (diff) | |
download | glibc-69056564042f3d43012814f92230d2c3f9ab7d7c.tar.gz glibc-69056564042f3d43012814f92230d2c3f9ab7d7c.tar.xz glibc-69056564042f3d43012814f92230d2c3f9ab7d7c.zip |
sparc: Implement memset/bzero ifunc selection in C
This patch refactor the SPARC64 ifunc selector to a C implementation. No functional change is expected, including ifunc resolution rules. Checked on sparc64-linux-gnu, sparcv9-linux-gnu and x86_64-linux-gnu. * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile [$(subdir) = string] (sysdep_routines): Add memset-ultra1. * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string] (sysdep_routines): Add memset-ultra1. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise. * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise. * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise. * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise. * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise. * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file. * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S')
-rw-r--r-- | sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S b/sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S deleted file mode 100644 index 8f8264337d..0000000000 --- a/sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S +++ /dev/null @@ -1,4 +0,0 @@ -#define ASI_PNF 0x82 -#define ASI_BLK_P 0xf0 -#define XCC icc -#include <sparc64/multiarch/memset.S> |