]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
PowerPC: strncpy/stpncpy optimization for PPC64/POWER7
authorVidya Ranganathan <vidya@linux.vnet.ibm.com>
Tue, 6 May 2014 00:10:45 +0000 (19:10 -0500)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Tue, 6 May 2014 14:54:25 +0000 (09:54 -0500)
commitf360f94a05570045be615649e9a411cefba2e210
treeac6fb86d01ea80b3bf914c2f74aa231b42bfda28
parent978a41c35738dbe4592edb7dcaa155fec31dab50
PowerPC: strncpy/stpncpy optimization for PPC64/POWER7

The optimization is achieved by following techniques:
  > data alignment [gain from aligned memory access on read/write]
  > POWER7 gains performance with loop unrolling/unwinding
    [gain by reduction of branch penalty].
  > zero padding done by calling optimized memset
ChangeLog
sysdeps/powerpc/powerpc64/multiarch/Makefile
sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/stpncpy.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strncpy.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/power7/stpncpy.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/power7/strncpy.S [new file with mode: 0644]