summary refs log tree commit diff
path: root/sysdeps/sparc/sparc64/multiarch/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-10-13 14:59:09 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-11-30 14:10:25 -0200
commit75f37c71dbd9a5c5c1594800c4824d70d017185e (patch)
tree124573f4e983c9868b4262f398cd97e50e90dd90 /sysdeps/sparc/sparc64/multiarch/Makefile
parentdda1d2e88b79a1d45d722c3b00b7a2f2250cb00e (diff)
downloadglibc-75f37c71dbd9a5c5c1594800c4824d70d017185e.tar.gz
glibc-75f37c71dbd9a5c5c1594800c4824d70d017185e.tar.xz
glibc-75f37c71dbd9a5c5c1594800c4824d70d017185e.zip
sparc: refactor sparc64 __mpn_submul_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
submul_1-generic.S).

Checked on sparc64-linux-gnu and sparcv9-linux-gnu.

	* sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
	Add submul_1-generic.
	* sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
	* sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
	* sysdeps/sparc/sparc64/multiarch/submul_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/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/sparc/sparc64/multiarch/Makefile b/sysdeps/sparc/sparc64/multiarch/Makefile
index fbd7e22a58..d62a5094ca 100644
--- a/sysdeps/sparc/sparc64/multiarch/Makefile
+++ b/sysdeps/sparc/sparc64/multiarch/Makefile
@@ -14,7 +14,8 @@ endif
 
 ifeq ($(subdir),stdlib)
 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
+		   submul_1-vis3 submul_1-generic add_n-vis3 sub_n-vis3 \
+		   sub_n-generic
 endif
 
 ifeq ($(subdir),math)