aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
AgeCommit message (Collapse)Author
2012-08-22Add versions of wcscpy, wcschr, wcsrchr for power6/power7.Will Schmidt
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 Schmidt
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-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek
2012-07-26Move testsuite audit definitions to sysdeps tst-audit.h files.Joseph Myers
2012-07-25Move ldsodefs.h audit definitions to sysdeps directories.Joseph Myers
2012-07-19Split tls-macros.h in sysdeps directories.Adhemerval Zanella
Split PowerPC definitions in PPC32 and PPC64 headers.
2012-07-17Remove TLS configure checks.Marek Polacek
2012-07-17Split tls-macros.h into sysdeps directories.Joseph Myers
2012-07-11Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).Adhemerval Zanella
IBM long double fixes and POWER ulps update.
2012-07-10Get rid of ASM_GLOBAL_DIRECTIVE.Marek Polacek
2012-07-06Fix float range reduction problems (#14283)Andreas Schwab
2012-07-06Fix missing _mcount@GLIBC_2.0 on powerpc32Andreas Schwab
2012-06-04Manual for platform-specific features and new __ppc_get_timebase inline.Tulio Magno Quites Machado Filho
[BZ #13743] A new class of installed headers has been documented for low-level platform-specific functionality. PowerPC added the first instance with a function to provide time base register access (__ppc_get_timebase). This is required for applications that measure time at high frequencies with high precision that can't afford a syscall.
2012-06-02Move __mcount_internal from GLIBC_PRIVATE to GLIBC_2.16Andreas Schwab
2012-06-01PowerPC: Fix for POWER7 sinf/cosfAdhemerval Zanella
This patch fixes some sinf/cosf calculations that generated unexpected underflows exceptions.
2012-06-01Sort sysdeps/powerpc/fpu/libm-test-ulpsAndreas Schwab
2012-05-26Fix missing declarationAndreas Schwab
2012-05-26Optimize handling of denormals in logb/logbf/logblAndreas Schwab
2012-05-25ppc: Pass hwcap to ifuncs.Richard Henderson
* 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-24Don't include exceptions in libm-test-ulps test names.Joseph Myers
2012-05-22PowerPC: libm ABI updateAdhemerval Zanella
Update for libm abilist for POWER6 and POWER7.
2012-05-21Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32H.J. Lu
2012-05-21PowerPC: ULPs updateAdhemerval Zanella
Adjustments for libm ulps added with commit d8b82cad1b525bdcbfff88d218c7c45032e4a3af, 495fd99f3a119e5c0c542ccc6cf9c93b1fb9e892, and 5ba3cc691c856e5c67a7d4cd4713f20a79f7ba81. I also adjusted some exp10 ulps definition that was higher than needed.
2012-05-20Add <sys/auxv.h> and getauxval.Richard Henderson
2012-05-19Update powerpc ULPs for ccos, csin, ccosh, csinh tests.Adhemerval Zanella
2012-05-19Remove sysdeps/powerpc/soft-fp.Joseph Myers
2012-05-18[PowerPC] Remove -ftree-loop-linear from MakefilesTulio Magno Quites Machado Filho
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 Schwab
2012-05-18Fix undefined reference to _dl_prof_resolve in profiled libcAndreas Schwab
2012-05-15Split up stackguard-macros.h into sysdeps directories.Joseph Myers
2012-05-15PowerPC - logb[f|l] optimization for POWER7Adhemerval Zanella
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-12Fix warning in powerpc bcopyAndreas Schwab
2012-05-11[BZ #13673] Replace FSF snail mail address with URL.Thomas Schwinge
2012-05-04Fix for ldbl-128ibm acosl/asinl inaccuraciesAdhemerval Zanella
2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix long double comparison inaccuracies. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): * Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2012-05-01Fix missing nearbyintl@GLIBC_2.1 on powerpcAndreas Schwab
2012-04-26Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).Adhemerval Zanella
2012-04-24Correct powerpc64 s_floorl edge cases (bug 13886).Adhemerval Zanella
[BZ #13886] Remove powerpc64/fpu/s_floorl. Use fully correct ldbl-128bim/s_floorl.c.
2012-04-18Have memmove call __builtin_memcopy on PowerPC if src and dest don't overlap.Will Schmidt
2012-04-18Further simplify power6 wordcopy by removing switch statements.Will Schmidt
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 Schmidt
2012-04-05Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.David S. Miller
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one definition. * sysdeps/powerpc/powerpc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Delete. * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2012-03-28Fix whitespaceAndreas Jaeger
2012-03-28Regenerate configure filesAndreas Jaeger
2012-03-28Move sysdeps/powerpc/elf filesAndreas Jaeger
* sysdeps/powerpc/elf/ifunc-sel.h: Moved to ... * sysdeps/powerpc/ifunc-sel.h: ... here. * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ... * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2012-03-28Move sysdeps/powerpc/powerpc32/elf filesAndreas Jaeger
* sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ... * sysdeps/powerpc/powerpc32/bzero.S: ... here. * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ... * sysdeps/powerpc/powerpc32/start.S: ... here. * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ... * sysdeps/powerpc/powerpc32/configure.in: ... this. * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2012-03-28Move sysdeps/powerpc/powerpc64/elf filesAndreas Jaeger
* 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-26Update powerpc libm test ULPsAndreas Schwab
2012-03-21Update powerpc libm-test ULPsAndreas Schwab
2012-03-21Disable use of FMA instructions in branredAndreas Schwab
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu