summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/powerpc64
AgeCommit message (Collapse)AuthorFilesLines
2013-01-20Remove use of mpa2.hAndreas Schwab1-1/+0
2013-01-14Fix code formatting in mpa.cSiddhesh Poyarekar1-269/+534
This includes the overridden mpa.c in power4.
2013-01-14Remove unnecessary local variable mptwoSiddhesh Poyarekar1-4/+0
2013-01-10Revert "Use ieee754/dbl-64/wordsize-64 on powerpc64"Andreas Schwab1-1/+0
This reverts commit 7a9d2c397195d9a19a95dbcdb59fb5df03f2d940.
2013-01-10Use ieee754/dbl-64/wordsize-64 on powerpc64Andreas Schwab1-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.
2013-01-09Update comments in mpa.cSiddhesh Poyarekar1-70/+49
Fixed comment style and clearer wording in some cases.
2013-01-07Fix spelling errors in sysdeps/powerpc files.Anton Blanchard18-82/+82
2013-01-04Remove unused __cr and __cpymnSiddhesh Poyarekar1-47/+0
2013-01-04Fix build failure on power4 processorsSiddhesh Poyarekar1-3/+7
The power4-specific mpa.c depended on some global variables that were removed by earlier patches. Also, it did not define mpone and mptwo.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers103-107/+103
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers3-3/+3
2012-11-30Fix type-punning warning in powerpc64 gmon-start.Roland McGrath1-2/+4
2012-10-09Add missing magic to GLIBC_PROVIDES.Roland McGrath1-82/+0
2012-08-22Add versions of wcscpy, wcschr, wcsrchr for power6/power7.Will Schmidt3-0/+3
Initially based on the versions found in wcsmbs/* ; these files have been changed by hand unrolling, and adding some additional variables to allow some read-ahead to occur, which then relieves some of the wait-for-increment/wait-for-load/wait-for-compare-results pressure that was slowing down every iteration through the while-loop. For 64-bit Power7, These changes give an approx 20% throughput boost for the wcschr and wcsrchr functions; and approx 40% boost for the wcscpy function. 32-bit improvements appear to be slightly better with ~ %30 and ~ %45 respectively. Results for Power6 closely match those for power7.
2012-08-21[Powerpc] Tune/optimize powerpc{32,64}/power7/memchr.S.Will Schmidt1-24/+61
Assorted tweaking, twisting and tuning to squeeze a few additional cycles out of the memchr code. Changes include bypassing the shift pairs (sld,srd) when they are not required, and unrolling the small_loop that handles short and trailing strings. Per scrollpipe data measuring aligned strings for 64-bit, these changes save between five and eight cycles (9-13% overall) for short strings (<32), Longer aligned strings see slight improvement of 1-3% due to bypassing the shifts and the instruction rearranging.
2012-07-26Move testsuite audit definitions to sysdeps tst-audit.h files.Joseph Myers1-0/+25
2012-07-19Split tls-macros.h in sysdeps directories.Adhemerval Zanella1-0/+46
Split PowerPC definitions in PPC32 and PPC64 headers.
2012-07-17Remove TLS configure checks.Marek Polacek2-117/+0
2012-05-25ppc: Pass hwcap to ifuncs.Richard Henderson2-3/+3
* sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass dl_hwcap to ifunc resolver. * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use elf_ifunc_invoke. * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass dl_hwcap to ifunc resolver. * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2012-05-22PowerPC: libm ABI updateAdhemerval Zanella2-4/+12
Update for libm abilist for POWER6 and POWER7.
2012-05-21Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32H.J. Lu1-1/+1
2012-05-18[PowerPC] Remove -ftree-loop-linear from MakefilesTulio Magno Quites Machado Filho2-3/+3
In the past the "-ftree-loop-linear" switch provided a measurable improvement in performance for certain functions. At some point it was assigned as the responsibility of Graphite in GCC. It has been found that even with Graphite enabled these flags no longer perform any appreciable improvement over the baseline. Graphite now has some open bugs which need to be fixed in order for it to provide measurable performance improvements but it lacks active development. As a result some compiler distributors may disable Graphite. If Graphite is disabled then building GLIBC will fail if the "-ftree-loop-linear" switch is used. This patch removes the use of "-ftree-loop-linear" as unnecessary.
2012-05-18Avoid runtime GOT relocations in ld.so on powerpcAndreas Schwab4-10/+22
2012-05-15Split up stackguard-macros.h into sysdeps directories.Joseph Myers1-0/+4
2012-05-15PowerPC - logb[f|l] optimization for POWER7Adhemerval Zanella3-0/+3
This patch provides optimized logb (1.2x on PPC32 and 2.5x on PPC64), logbf (1.1x on PPC32 and 2.2x on PPC64), and logbl (1.3x on PPC32 and 50% on PPC64) for the POWER7 processor.
2012-05-01Fix missing nearbyintl@GLIBC_2.1 on powerpcAndreas Schwab1-3/+3
2012-04-24Correct powerpc64 s_floorl edge cases (bug 13886).Adhemerval Zanella1-133/+0
[BZ #13886] Remove powerpc64/fpu/s_floorl. Use fully correct ldbl-128bim/s_floorl.c.
2012-04-18Further simplify power6 wordcopy by removing switch statements.Will Schmidt1-48/+2
This fix replaces switch statements that contain individual [fwd|bwd]_align_merge (<constant>) calls with a single [fwd|bwd]_align_merge (align) call.
2012-04-18Simplify power6 wordcopy by adding [fwd|bwd]_align_merge macros.Will Schmidt1-190/+44
2012-03-28Fix whitespaceAndreas Jaeger1-1/+1
2012-03-28Regenerate configure filesAndreas Jaeger1-0/+64
2012-03-28Move sysdeps/powerpc/powerpc64/elf filesAndreas Jaeger8-214/+63
* sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ... * sysdeps/powerpc/powerpc64/bzero.S: ... here. * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ... * sysdeps/powerpc/powerpc64/entry.h: ... here. * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ... * sysdeps/powerpc/powerpc64/start.S: here. * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ... * sysdeps/powerpc/powerpc64/Makefile: ... this. * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ... * sysdeps/powerpc/powerpc64/configure.in: ... this. * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2012-03-21Disable use of FMA instructions in branredAndreas Schwab1-18/+96
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu3-3/+3
2012-03-10Replace FSF snail mail address with URL in miscellaneous files.Paul Eggert2-6/+4
2012-03-09Use <> for math.h and math_private.h everywhere.Richard Henderson4-6/+6
Entire tree edited via find | grep | sed.
2012-02-21Remove old initfini mechanism.Joseph Myers1-3/+0
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert101-301/+199
2012-02-08powerpc: add crt filesAndreas Schwab2-0/+159
* sysdeps/powerpc/powerpc32/crti.S: New file. * sysdeps/powerpc/powerpc32/crtn.S: New file. * sysdeps/powerpc/powerpc64/crti.S: New file. * sysdeps/powerpc/powerpc64/crtn.S: New file.
2012-02-07Remove __ELF__ conditionalsMarek Polacek1-5/+1
2012-01-27PowerPC - A2 memcpy cache line size initializationAdhemerval Zanella1-2/+28
2012-01-27Remove __STDC__ conditionals from libm.Joseph Myers2-14/+2
2012-01-07Remove non-ELF supportUlrich Drepper1-2/+0
2011-12-17Optimized strcasecmp for Power7Adhemerval Zanella3-0/+135
2011-12-17Optimized nearbyint for PPCAdhemerval Zanella2-0/+127
2011-11-11PowerPC: Arithmetic function optimizations for POWERAdhemerval Zanella2-0/+2
2011-10-12Optimize libmUlrich Drepper2-2/+4
libm is now somewhat integrated with gcc's -ffinite-math-only option and lots of the wrapper functions have been optimized.
2011-10-05Don't call ifunc functions in trace modeAndreas Schwab1-5/+10
2011-09-13Fix undefined symbol in powerpc64 dl-machine.hAndreas Schwab1-2/+0
2011-09-11Remove --wth-tls option, TLS support is requiredUlrich Drepper2-75/+148