glibc/sysdeps
Alan Modra 664318c3eb PowerPC LE strchr
http://sourceware.org/ml/libc-alpha/2013-08/msg00101.html

Adds little-endian support to optimised strchr assembly.  I've also
tweaked the big-endian code a little.  In power7/strchr.S there's a
check in the tail of the function that we didn't match 0 before
finding a c match, done by comparing leading zero counts.  It's just
as valid, and quicker, to compare the raw output from cmpb.

Another little tweak is to use rldimi/insrdi in place of rlwimi for
the power7 strchr functions.  Since rlwimi is cracked, it is a few
cycles slower.  rldimi can be used on the 32-bit power7 functions
too.

	* sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
	support.  Correct typos, formatting.  Optimize tail.  Use insrdi
	rather than rlwimi.
	* sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
	* sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
	little-endian support.  Correct typos.
	* sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
	rather than rlwimi.
	* sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
	in loop and entry code to keep "and." results.
	(strchr): Add little-endian support.  Comment.  Move cntlzd
	earlier in tail.
	* sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2013-10-04 10:40:22 +09:30
..
generic BZ #15754: Fix test case for ARM. 2013-09-23 01:44:38 -04:00
gnu Remove --disable-versioning. 2013-09-04 15:25:42 +00:00
i386 BZ #15754: CVE-2013-4788 2013-09-23 00:52:09 -04:00
ieee754 PowerPC floating point little-endian [6 of 15] 2013-10-04 10:33:21 +09:30
init_array Add sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o 2013-03-12 12:50:13 -07:00
mach sysdeps/mach/hurd/i386/tls.h: Remove TLS_INIT_TP_EXPENSIVE. 2013-09-24 09:25:53 +01:00
posix Properly cache the result from looking up the nss database config 2013-09-30 10:29:13 +02:00
powerpc PowerPC LE strchr 2013-10-04 10:40:22 +09:30
pthread Fix typos. 2013-08-21 19:48:48 +02:00
s390 BZ #15754: CVE-2013-4788 2013-09-23 00:52:09 -04:00
sh Add SH implementation of stackguard-macros.h. 2013-09-27 10:59:02 +09:00
sparc BZ #15754: CVE-2013-4788 2013-09-23 00:52:09 -04:00
unix PowerPC SIGSTKSZ 2013-10-04 10:39:11 +09:30
wordsize-32 Remove --disable-versioning. 2013-09-04 15:25:42 +00:00
wordsize-64 Move dummy glob64.c alongside glob.c that defines glob64. 2013-05-06 16:11:11 -07:00
x86 Fix typos. 2013-08-21 19:48:48 +02:00
x86_64 PowerPC floating point little-endian [1 of 15] 2013-10-04 10:31:41 +09:30