diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-13 15:01:58 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-30 14:10:28 -0200 |
commit | 9e2279a0e91af29b9b6e367b9e1d13c8d491b7e6 (patch) | |
tree | 415e3c2088abf71547ae229a72964d7b681f3f4b /sysdeps/sparc/sparc64/multiarch/Makefile | |
parent | 75f37c71dbd9a5c5c1594800c4824d70d017185e (diff) | |
download | glibc-9e2279a0e91af29b9b6e367b9e1d13c8d491b7e6.tar.gz glibc-9e2279a0e91af29b9b6e367b9e1d13c8d491b7e6.tar.xz glibc-9e2279a0e91af29b9b6e367b9e1d13c8d491b7e6.zip |
sparc: refactor sparc64 __mpn_add_n 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 add_n-generic.S). Checked on sparc64-linux-gnu and sparcv9-linux-gnu. * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines): Add add_n-generic. * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file. * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise. * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/sparc/sparc64/multiarch/Makefile')
-rw-r--r-- | sysdeps/sparc/sparc64/multiarch/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sparc/sparc64/multiarch/Makefile b/sysdeps/sparc/sparc64/multiarch/Makefile index d62a5094ca..ba8ede157d 100644 --- a/sysdeps/sparc/sparc64/multiarch/Makefile +++ b/sysdeps/sparc/sparc64/multiarch/Makefile @@ -14,8 +14,8 @@ endif ifeq ($(subdir),stdlib) sysdep_routines += mul_1-vis3 mul_1-generic addmul_1-vis3 addmul_1-generic \ - submul_1-vis3 submul_1-generic add_n-vis3 sub_n-vis3 \ - sub_n-generic + submul_1-vis3 submul_1-generic add_n-vis3 add_n-generic \ + sub_n-vis3 sub_n-generic endif ifeq ($(subdir),math) |