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/addmul_1-generic.S | |
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/addmul_1-generic.S')
-rw-r--r-- | sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S b/sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S new file mode 100644 index 0000000000..5bf1da7fde --- /dev/null +++ b/sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S @@ -0,0 +1,2 @@ +#define __mpn_addmul_1 __mpn_addmul_1_generic +#include <sysdeps/sparc/sparc64/addmul_1.S> |