glibc/sysdeps/powerpc
Rajalakshmi Srinivasaraghavan b42f8cad52 powerpc: strstr optimization
This patch optimizes strstr function for power >= 7 systems.  Performance
gain is obtained using aligned memory access and usage of cmpb
instruction for quicker comparison.  The average improvement of this
optimization is ~40%.  Tested on ppc64 and ppc64le.

2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>

	* sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr().
	* sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
	* sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
	* sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
	* sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
	* sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2015-07-16 13:43:51 -03:00
..
bits powerpc: Fix inline feraiseexcept, feclearexcept macros 2015-03-03 10:01:49 -05:00
fpu Fix sin, sincos missing underflows (bug 16526, bug 16538). 2015-06-23 22:24:20 +00:00
nofpu Regenerate powerpc-nofpu libm-test-ulps. 2015-07-01 18:04:28 +00:00
nptl powerpc: Fix Copyright dates and CL entry 2015-01-12 12:58:34 -05:00
power4
power5+/fpu
power6
power7/fpu
powerpc32 Use libc_hidden_proto / libc_hidden_def with __strnlen. 2015-06-02 20:24:25 +00:00
powerpc64 powerpc: strstr optimization 2015-07-16 13:43:51 -03:00
soft-fp
sys/platform
abort-instr.h
dl-procinfo.c
dl-procinfo.h
dl-tls.c powerpc __tls_get_addr call optimization 2015-03-25 15:53:47 +10:30
dl-tls.h
ffs.c
fpu_control.h
gccframe.h
ifunc-sel.h
Implies
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
locale-defines.sym
longjmp.c
machine-gmon.h
Makefile powerpc __tls_get_addr call optimization 2015-03-25 15:53:47 +10:30
math-tests.h
memusage.h
mp_clz_tab.c
novmx-longjmp.c
novmx-sigjmp.c
novmxsetjmp.h
preconfigure
rtld-global-offsets.sym
sched_cpucount.c
sigjmp.c
sotruss-lib.c
stackinfo.h
strcat.c
sysdep.h powerpc: abort transaction in syscalls 2015-01-12 06:32:08 -05:00
test-arith.c
test-arithf.c
test-gettimebase.c
tls-macros.h
tst-stack-align.h
tst-tlsopt-powerpc.c powerpc __tls_get_addr call optimization 2015-03-25 15:53:47 +10:30
Versions powerpc __tls_get_addr call optimization 2015-03-25 15:53:47 +10:30