summary refs log tree commit diff
path: root/sysdeps/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* Update powerpc libm-test ULPsAdhemerval Zanella2013-05-031-0/+96
|
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-301-2/+414
|
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-291-27/+3318
|
* PowerPC: modf optimization fixAdhemerval Zanella2013-04-264-0/+4
| | | | | | | 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).
* PowerPC: modf optimizationAdhemerval Zanella2013-04-234-0/+108
| | | | | This patch implements modf/modff optimization for POWER by focus on FP operations instead of relying in integer ones.
* Refer to two GCC PRs.Thomas Schwinge2013-04-031-1/+2
|
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2013-04-021-0/+26
| | | | It is based on draft TS 18661 and currently enabled as a GNU extension.
* PowerPC: remove branch prediction from rint implementationAdhemerval Zanella2013-04-014-12/+12
| | | | | | | | 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.
* Remove usage of ONE macroSiddhesh Poyarekar2013-03-291-1/+1
| | | | I missed this instance, which caused a build failure in powerpc.
* Remove ZERO and MZERO macrosSiddhesh Poyarekar2013-03-291-10/+10
|
* PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.Alan Modra2013-03-282-0/+14
| | | | | | | 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
* Fix e_logl (128ibm) spurious underflowAdhemerval Zanella2013-03-281-0/+6
|
* Make mantissa type of mp_no configurableSiddhesh Poyarekar2013-03-261-0/+56
| | | | | | | | | | 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.
* PowerPC: fix libm ABI issue for llroundlAdhemerval Zanella2013-03-261-0/+4
|
* PowerPC: fix sqrtl ABI issueAdhemerval Zanella2013-03-211-0/+4
| | | | This patch fixes a sqrtl ABI issue when building for powerpc64.
* Promote a math test for sNaN handling to the top-level.Thomas Schwinge2013-03-152-337/+0
|
* Use GCC's builtins for generating NaNs.Thomas Schwinge2013-03-151-55/+9
|
* Better distinguish between NaN/qNaN/sNaN.Thomas Schwinge2013-03-153-50/+50
|
* Revert configurable mantissa patchSiddhesh Poyarekar2013-03-151-56/+0
| | | | | | Reverts d22ca8cdfb98001d03772ef264b244930d439b3f since it is severely broken on 32-bit.
* Make mantissa type configurableSiddhesh Poyarekar2013-03-151-0/+56
| | | | | This allows the default mantissa to be integral, with powerpc overriding it to take advantage of its FPUs.
* PowerPC: unify math_ldbl.h implementationsAdhemerval Zanella2013-03-082-162/+10
| | | | | This patch removes redudant definition from PowerPC specific math_ldbl, using the definitions from ieee754 math_ldbl.h.
* Consolidate copies of mp code in powerpcSiddhesh Poyarekar2013-03-086-221/+4
| | | | | Retain a single copy of the mp code in power4 instead of the two identical copies in powerpc32 and powerpc64.
* Merge powerpc slowexp.c into generic codeSiddhesh Poyarekar2013-03-074-130/+2
|
* Merge powerpc slowpow.c into generic codeSiddhesh Poyarekar2013-03-074-186/+2
|
* Use an intermediate variable to sum exponents in powerpc __mul and __sqrSiddhesh Poyarekar2013-03-072-10/+12
|
* Use generic mpa.c code for everything except __mul and __sqrSiddhesh Poyarekar2013-03-072-1256/+8
|
* Remove powerpc64 bounded-pointers code.Joseph Myers2013-03-0633-458/+110
|
* Remove powerpc32 strncmp comments about bounded pointers.Joseph Myers2013-03-043-9/+0
|
* Use same installed powerpc headers for hard and soft float.Joseph Myers2013-03-013-0/+0
|
* Remove powerpc32 bounded-pointers code.Joseph Myers2013-02-2844-436/+118
|
* Sync up ppc add_magnitudes and sub_magnitudes with default codeSiddhesh Poyarekar2013-02-282-104/+120
|
* Sync up powerpc __mp_dbl with default codeSiddhesh Poyarekar2013-02-252-6/+2
|
* Mark __inv as static in powerpcSiddhesh Poyarekar2013-02-212-2/+2
|
* Fix whitespace differences between generic and powerpc mpa.cSiddhesh Poyarekar2013-02-212-2/+2
|
* Mark ZERO inputs to __mul as unlikely on powerpcSiddhesh Poyarekar2013-02-212-2/+2
| | | | Syncs up with generic code.
* Copy comment about inner loop from powerpc mpa.c to the default oneSiddhesh Poyarekar2013-02-202-2/+2
|
* Remove bp-sym.h and BP_SYM uses from C code.Joseph Myers2013-02-146-18/+12
|
* Remove redundant return keywordSiddhesh Poyarekar2013-02-142-26/+0
|
* New __sqr function as a faster special case of __mulSiddhesh Poyarekar2013-02-142-0/+200
|
* Remove __ptrvalue, __bounded and __unbounded.Joseph Myers2013-02-132-4/+4
|
* Remove BOUNDED_N and BOUNDED_1.Joseph Myers2013-02-012-6/+2
|
* Remove use of mpa2.hAndreas Schwab2013-01-202-2/+0
|
* Adapt installed powerpc headers better for soft-float / no-FPRs.Joseph Myers2013-01-174-21/+37
|
* Fix code formatting in mpa.cSiddhesh Poyarekar2013-01-142-538/+1068
| | | | This includes the overridden mpa.c in power4.
* Remove unnecessary local variable mptwoSiddhesh Poyarekar2013-01-142-8/+0
|
* Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab2013-01-101-1/+0
| | | | This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
* Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab2013-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update powerpc ULPsSiddhesh Poyarekar2013-01-091-36/+56
|
* Update comments in mpa.cSiddhesh Poyarekar2013-01-092-140/+98
| | | | Fixed comment style and clearer wording in some cases.
* Fix spelling errors in sysdeps/powerpc files.Anton Blanchard2013-01-0742-121/+121
|