]> sourceware.org Git - glibc.git/commit
PowerPC: strrchr optimization for POWER7/PPC64
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Mon, 3 Mar 2014 14:06:41 +0000 (08:06 -0600)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Mon, 3 Mar 2014 14:06:41 +0000 (08:06 -0600)
commitc7debbdfacbef150aaf9113eb05ccaf2b9e7af6c
treebaf78c9b58faa86b3996ae3745cb81fd50e2fb58
parent235eed8644eb2deebf839b13b418dbd47bb14c5a
PowerPC: strrchr optimization for POWER7/PPC64

This patch optimizes strrchr() for ppc64. It uses aligned memory
access along with cmpb instruction and CPU prefetch to avoid
cache misses for speed improvement.
ChangeLog
string/strrchr.c
sysdeps/powerpc/powerpc64/multiarch/Makefile
sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/multiarch/strrchr.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/power7/strrchr.S [new file with mode: 0644]
This page took 0.043276 seconds and 5 git commands to generate.