aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-10-13 11:39:43 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-11-29 16:22:20 -0200
commitc96d3335a30c214994bfcb2077518027b52dce07 (patch)
tree7217c7119d1eaf7495a2b894f76d72f1280bcd58 /sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S
parentc6862a237149f5ffcca6d9142f18b2b08fff9388 (diff)
downloadglibc-c96d3335a30c214994bfcb2077518027b52dce07.tar
glibc-c96d3335a30c214994bfcb2077518027b52dce07.tar.gz
glibc-c96d3335a30c214994bfcb2077518027b52dce07.tar.bz2
glibc-c96d3335a30c214994bfcb2077518027b52dce07.zip
sparc: refactor sparc64 isinf{f} 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 s_isinf{f}-generic.S). Checked on sparc64-linux-gnu and sparcv9-linux-gnu. * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls): Add isinff-generic and s_isinf-generic objects. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file. * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise. Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S')
-rw-r--r--sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S b/sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S
new file mode 100644
index 0000000000..ebaf054025
--- /dev/null
+++ b/sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S
@@ -0,0 +1,6 @@
+#define __isinf __isinf_generic
+#undef hidden_def
+#define hidden_def(a)
+#undef weak_alias
+#define weak_alias(a,b)
+#include <./sysdeps/sparc/sparc64/fpu/s_isinf.S>