glibc/sysdeps
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
..
aarch64 Add AArch64 versions of math_opt_barrier and math_force_eval that avoid going via memory. 2015-07-13 12:48:33 +01:00
alpha alpha: Update libm-test-ulps 2015-05-19 09:43:54 -07:00
arm BZ#18383: Conditionalize test-xfail-tst-tlsalign{,-static} on ARM assembler bug. 2015-07-08 15:00:43 -07:00
generic Factor file identity rules out of generic rtld code. 2015-07-14 13:15:26 -07:00
gnu hurd: fix unwind-resume.c build 2015-02-08 18:46:00 +01:00
hppa hppa/ia64: _dl_unmap: make it hidden 2015-07-16 09:03:46 -04:00
i386 i686: Mark stdlib/tst-makecontext as XFAIL. 2015-07-15 09:33:15 +02:00
ia64 hppa/ia64: _dl_unmap: make it hidden 2015-07-16 09:03:46 -04:00
ieee754 Remove unused file sysdeps/ieee754/support.c 2015-07-06 12:51:30 +01:00
init_array NPTL: Initializer for .init_array-only configurations. 2015-02-13 13:19:11 -08:00
m68k Set errno for log1p on pole/domain error. 2015-04-13 21:19:27 +02:00
mach PLT avoidance for _exit in rtld. 2015-07-09 15:25:47 -07:00
microblaze Replace ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY 2015-03-05 08:40:41 -08:00
mips Regenerate MIPS libm-test-ulps. 2015-07-01 17:24:37 +00:00
nacl Factor file identity rules out of generic rtld code. 2015-07-14 13:15:26 -07:00
nios2 Replace ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY 2015-03-05 08:40:41 -08:00
nptl Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
posix Factor file identity rules out of generic rtld code. 2015-07-14 13:15:26 -07:00
powerpc powerpc: strstr optimization 2015-07-16 13:43:51 -03:00
pthread Use unsigned types for counters in AIO code. 2015-06-24 17:43:32 -07:00
s390 S390: Regenerate ULPs 2015-07-15 09:33:14 +02:00
sh Replace ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY 2015-03-05 08:40:41 -08:00
sparc Fix sparc build. 2015-07-15 16:07:32 -07:00
tile tile: Regenerate ULPs. 2015-07-10 16:16:37 -04:00
unix Add and use new glibc-internal futex API. 2015-07-10 13:47:09 +02:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2015-01-02 16:29:47 +00:00
x86 Preserve bound registers for pointer pass/return 2015-07-09 06:50:12 -07:00
x86_64 Modify several tests to use test-skeleton.c 2015-07-15 15:10:23 +05:30