aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
AgeCommit message (Collapse)Author
2013-04-29Update powerpc libm-test ULPsAdhemerval Zanella
2013-04-26PowerPC: modf optimization fixAdhemerval Zanella
This patch fix the 3c0265394d9ffedff2b0de508602dc52e077ce5c commits by correctly setting minimum architecture for modf PPC optimization to power5+ instead of power5 (since only on power5+ round/ceil will be inline to inline assembly).
2013-04-23PowerPC: modf optimizationAdhemerval Zanella
This patch implements modf/modff optimization for POWER by focus on FP operations instead of relying in integer ones.
2013-04-03Refer to two GCC PRs.Thomas Schwinge
2013-04-02New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-04-01PowerPC: remove branch prediction from rint implementationAdhemerval Zanella
The branch prediction hints is actually hurts performance in this case. The assembly implementation make two assumptions: 1. 'fabs (x) < 2^52' is unlikely and 2. 'x > 0.0' is unlike (if 1. is true). Since it a general floating point function, expected input is not bounded and then it is better to let the hardware handle the branches.
2013-03-29Remove usage of ONE macroSiddhesh Poyarekar
I missed this instance, which caused a build failure in powerpc.
2013-03-29Remove ZERO and MZERO macrosSiddhesh Poyarekar
2013-03-28PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.Alan Modra
The .eh_frame info in crt1.o isn't useful and this patch prevents it from being generated on PowerPC. It triggers the following gold bug: http://sourceware.org/bugzilla/show_bug.cgi?id=14675
2013-03-28Fix e_logl (128ibm) spurious underflowAdhemerval Zanella
2013-03-26Make mantissa type of mp_no configurableSiddhesh Poyarekar
The mantissa of mp_no is intended to take only integral values. This is a relatively good choice for powerpc due to its 4 fpus, but not for other architectures, which suffer due to this choice. This change makes the default mantissa a long integer and allows powerpc to override it. Additionally, some operations have been optimized for integer manipulation, resulting in a significant improvement in performance.
2013-03-26PowerPC: fix libm ABI issue for llroundlAdhemerval Zanella
2013-03-21PowerPC: fix sqrtl ABI issueAdhemerval Zanella
This patch fixes a sqrtl ABI issue when building for powerpc64.
2013-03-15Promote a math test for sNaN handling to the top-level.Thomas Schwinge
2013-03-15Use GCC's builtins for generating NaNs.Thomas Schwinge
2013-03-15Better distinguish between NaN/qNaN/sNaN.Thomas Schwinge
2013-03-15Revert configurable mantissa patchSiddhesh Poyarekar
Reverts d22ca8cdfb98001d03772ef264b244930d439b3f since it is severely broken on 32-bit.
2013-03-15Make mantissa type configurableSiddhesh Poyarekar
This allows the default mantissa to be integral, with powerpc overriding it to take advantage of its FPUs.
2013-03-08PowerPC: unify math_ldbl.h implementationsAdhemerval Zanella
This patch removes redudant definition from PowerPC specific math_ldbl, using the definitions from ieee754 math_ldbl.h.
2013-03-08Consolidate copies of mp code in powerpcSiddhesh Poyarekar
Retain a single copy of the mp code in power4 instead of the two identical copies in powerpc32 and powerpc64.
2013-03-07Merge powerpc slowexp.c into generic codeSiddhesh Poyarekar
2013-03-07Merge powerpc slowpow.c into generic codeSiddhesh Poyarekar
2013-03-07Use an intermediate variable to sum exponents in powerpc __mul and __sqrSiddhesh Poyarekar
2013-03-07Use generic mpa.c code for everything except __mul and __sqrSiddhesh Poyarekar
2013-03-06Remove powerpc64 bounded-pointers code.Joseph Myers
2013-03-04Remove powerpc32 strncmp comments about bounded pointers.Joseph Myers
2013-03-01Use same installed powerpc headers for hard and soft float.Joseph Myers
2013-02-28Remove powerpc32 bounded-pointers code.Joseph Myers
2013-02-28Sync up ppc add_magnitudes and sub_magnitudes with default codeSiddhesh Poyarekar
2013-02-25Sync up powerpc __mp_dbl with default codeSiddhesh Poyarekar
2013-02-21Mark __inv as static in powerpcSiddhesh Poyarekar
2013-02-21Fix whitespace differences between generic and powerpc mpa.cSiddhesh Poyarekar
2013-02-21Mark ZERO inputs to __mul as unlikely on powerpcSiddhesh Poyarekar
Syncs up with generic code.
2013-02-20Copy comment about inner loop from powerpc mpa.c to the default oneSiddhesh Poyarekar
2013-02-14Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers
2013-02-14Remove redundant return keywordSiddhesh Poyarekar
2013-02-14New __sqr function as a faster special case of __mulSiddhesh Poyarekar
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers
2013-02-01Remove BOUNDED_N and BOUNDED_1.Joseph Myers
2013-01-20Remove use of mpa2.hAndreas Schwab
2013-01-17Adapt installed powerpc headers better for soft-float / no-FPRs.Joseph Myers
2013-01-14Fix code formatting in mpa.cSiddhesh Poyarekar
This includes the overridden mpa.c in power4.
2013-01-14Remove unnecessary local variable mptwoSiddhesh Poyarekar
2013-01-10Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab
This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
2013-01-10Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab
* sysdeps/ieee754/ldbl-opt/wordsize-64/s_ceil.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_finite.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_floor.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_frexp.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isinf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_isnan.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_llround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_logb.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_lround.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_modf.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_nearbyint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_remquo.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_rint.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_round.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbln.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_scalbn.c: New file. * sysdeps/ieee754/ldbl-opt/wordsize-64/s_trunc.c: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: Add ieee754/ldbl-opt/wordsize-64. * sysdeps/powerpc/powerpc64/Implies: Add ieee754/dbl-64/wordsize-64.
2013-01-09Update powerpc ULPsSiddhesh Poyarekar
2013-01-09Update comments in mpa.cSiddhesh Poyarekar
Fixed comment style and clearer wording in some cases.
2013-01-07Fix spelling errors in sysdeps/powerpc files.Anton Blanchard
2013-01-04Fix warnings in test-powerpc-snan.cAndreas Schwab
2013-01-04Update powerpc libm ULPsAndreas Schwab