diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-13 14:56:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-30 14:10:20 -0200 |
commit | dda1d2e88b79a1d45d722c3b00b7a2f2250cb00e (patch) | |
tree | a9225737167f15999680b7fc49d825ed29b8f312 /sysdeps/sparc/sparc64/multiarch/Makefile | |
parent | b70cbbfcc844fd862a3f053991ce392f224b89cd (diff) | |
download | glibc-dda1d2e88b79a1d45d722c3b00b7a2f2250cb00e.tar.gz glibc-dda1d2e88b79a1d45d722c3b00b7a2f2250cb00e.tar.xz glibc-dda1d2e88b79a1d45d722c3b00b7a2f2250cb00e.zip |
sparc: refactor sparc64 __mpn_addmul_1 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 addmul_1-generic.S). Checked on sparc64-linux-gnu and sparcv9-linux-gnu. * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines): Add addmul_1-generic. * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file. * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise. * sysdeps/sparc/sparc64/multiarch/addmul_1.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 10fe54f9c0..fbd7e22a58 100644 --- a/sysdeps/sparc/sparc64/multiarch/Makefile +++ b/sysdeps/sparc/sparc64/multiarch/Makefile @@ -13,8 +13,8 @@ sysdep_routines += memcpy-ultra3 memcpy-niagara1 memcpy-niagara2 \ endif ifeq ($(subdir),stdlib) -sysdep_routines += mul_1-vis3 mul_1-generic addmul_1-vis3 submul_1-vis3 \ - add_n-vis3 sub_n-vis3 sub_n-generic +sysdep_routines += mul_1-vis3 mul_1-generic addmul_1-vis3 addmul_1-generic \ + submul_1-vis3 add_n-vis3 sub_n-vis3 sub_n-generic endif ifeq ($(subdir),math) |