about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-13 15:34:52 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-13 15:34:52 -0500
commit1481d7066c4ce697ada1f33c8c7f97b46ef685e3 (patch)
tree3dfcb9434af98572cbe14ab9fc2e8c02931e9a6e /sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c
parent5ccd5fc893ca027703d2d9747092ee25729223d9 (diff)
downloadglibc-1481d7066c4ce697ada1f33c8c7f97b46ef685e3.tar.gz
glibc-1481d7066c4ce697ada1f33c8c7f97b46ef685e3.tar.xz
glibc-1481d7066c4ce697ada1f33c8c7f97b46ef685e3.zip
PowerPC: multiarch finite/finitef for PowerPC64
Diffstat (limited to 'sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c')
-rw-r--r--sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c
new file mode 100644
index 0000000000..1f2f8acff5
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c
@@ -0,0 +1,32 @@
+/* finitef().  PowerPC64 default version.
+   Copyright (C) 2013 Free Software Foundation, Inc.
+   Contributed by Luis Machado <luisgpm@br.ibm.com>.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#include <math.h>
+
+#undef weak_alias
+#define weak_alias(a, b)
+
+#define FINITEF __finitef_ppc64
+#ifdef SHARED
+# undef hidden_def
+# define hidden_def(a) \
+   __hidden_ver1 (__finitef_ppc64, __GI___finitef, __finitef_ppc64);
+#endif
+
+#include <sysdeps/ieee754/flt-32/s_finitef.c>