aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
AgeCommit message (Collapse)Author
2014-01-15PowerPC: sotruss-lib implementationAdhemerval Zanella
This patch add the missing sotruss-lib interfaces for PowerPC.
2014-01-08PowerPC: remove wrong truncl implementation for PowerPC64Adhemerval Zanella
The truncl assembly implementation (sysdeps/powerpc/powerpc64/fpu/s_truncl.S) returns wrong results for some inputs where first double is a exact integer and the precision is determined by second long double. Checking on implementation comments and history, I am very confident the assembly implementation was based on a version before commit 5c68d401698a58cf7da150d9cce769fa6679ba5f that fixes BZ#2423 (Errors in long double (ldbl-128ibm) rounding functions in glibc-2.4). By just removing the implementation and make the build select sysdeps/ieee754/ldbl-128ibm/s_truncl.c instead it fixes tgammal issues regarding wrong result sign.
2014-01-08Update powerpc-fpu ULPs.Adhemerval Zanella
2014-01-07Regenerate powerpc-nofpu ulps (again).Joseph Myers
2014-01-03Fix soft-float ldbl-128ibm atan2l signs of zero results (bug 16390).Joseph Myers
This patch fixes bug 16390, incorrect signs of zero results from ldbl-128ibm atan2l, soft-float only. The problem is a longstanding GCC bug with fabsl not being correct for signed zero for soft float, and the fix is using -fno-builtin-fabsl as a workaround, as already done for various other source files. Tested powerpc-nofpu. * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2014-01-03PowerPC: Fix compiler warningsAdhemerval Zanella
This patch fixes some compile warnings related to extra tokens at end of #undef directive from multilib patchset.
2014-01-03Regenerate powerpc-nofpu ulps.Joseph Myers
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-12-23Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-19Don't make soft-fp symbols compat symbols for powerpc-nofpu.Joseph Myers
sysdeps/powerpc/powerpc32/libgcc-compat.S makes certain symbols that glibc once accidentally reexported from libgcc into compat symbols. Where the exports were purely accidental, this is the right thing to do. However, for powerpc-nofpu the soft-fp symbols are deliberately exported from libc, given public versions in sysdeps/powerpc/nofpu/Versions and used by libm in preference to the libgcc versions that do not support the software exceptions and rounding modes. The libc versions should also be usable by user programs, though normally libgcc gets linked in first (meaning, effectively, that the <fenv.h> functions are broken as regards their expected effects on user arithmetic). A longstanding todo item is to remove the functions in question from libgcc (when built with recent enough glibc) - that is, remove them from static libgcc and make them compat symbols in shared libgcc - so that this works properly (this is one of the items mentioned at <http://gcc.gnu.org/wiki/Software_floating_point> - parts of that page are obviously out of date, but this item still applies). Doing this requires first that the functions are actually available from libc for new links, not just as compat symbols. This patch stops the symbols in question being compat symbols for powerpc-nofpu. The nofpu Versions entries for them are removed (the symbols never were exported at GLIBC_2.3.2, only GLIBC_2.0, because the compat symbols took precedence). Tested powerpc-nofpu. The symbols are no longer compat symbols and libm.so now properly gets undefined references to them (resolved to libc.so) instead of the libgcc copies getting linked into libm as before. * sysdeps/powerpc/powerpc32/libgcc-compat.S [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define as a macro and a compat symbol. [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise. [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do not use .hidden. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf): Likewise. [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf): Likewise. * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi, __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf from GLIBC_2.3.2.
2013-12-19Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-19Fix uses of CALL_MCOUNT in ppc64 assembler sourcesAndreas Schwab
2013-12-17Update powerpc-fpu ULPs.Adhemerval Zanella
2013-12-13PowerPC: multiarch hypot/hypotf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch modf/modff for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch logb/logbl/logbf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch isinf/isinff for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch finite/finitef for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch llrint/lrint for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch copysign/copysignf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch trunc/truncf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch round/roundf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch floor/floorf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch ceil/ceilf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch llround/lround for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch isnan/isnanf for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: Adjust multiarch Implies for PowerPC64Adhemerval Zanella
This patch adds Implies files on multiarch folder for POWER chips so multirach is enabled when building with --with-cpu and powerN option.
2013-12-13PowerPC: Cleaning up uneeded sqrt routinesAdhemerval Zanella
For PPC64, all the wrappers at sysdeps are superfluous: they are basically the same implementation from math/w_sqrt.c with the '#ifdef _IEEE_LIBM'. And the power4 version just force the 'fsqrt' instruction utilization with an inline assembly, which is already handled by math_private.h __ieee754_sqrt implementation.
2013-12-13PowerPC: multiarch stpcpy for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strcpy for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch wordcopy for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch wcscpy for PowerPC64.Adhemerval Zanella
2013-12-13PowerPC: multiarch wcsrchr for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch wcschr for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strchrnul for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strchr for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strncmp for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strncasecmp for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strcasecmp for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strnlen for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch strlen for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch rawmemchr for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch memrchr for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch memchr for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch mempcpy for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch memset/bzero for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multirach memcmp for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: multiarch memcpy for PowerPC64Adhemerval Zanella
2013-12-13PowerPC: Adjust multiarch Implies for PowerPC64Adhemerval Zanella
This patch adds Implies files on multiarch folder for POWER chips so multirach is enabled when building with --with-cpu and powerN option.
2013-12-09Update powerpc-fpu ULPs.Adhemerval Zanella