[PATCH] PPC optimize strncmp for PPC32/64

Steve Munroe sjmunroe@us.ibm.com
Thu Oct 23 23:59:00 GMT 2003


Currently PPC32/64 use the generic/strncmp.c implementation. This shows 
up in a recent benchmark as 25% of the total execution. The attached asm 
implementations give a 15-18% improvement over the generic code.

2003-10-22  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/powerpc32/strncmp.S: New file.
	* sysdeps/powerpc/powerpc64/strncmp.S: New file.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-strncmp-20031018.patch
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20031023/cc80079f/attachment.ksh>


More information about the Libc-alpha mailing list