]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
PowerPC LE strcmp and strncmp
authorAlan Modra <amodra@gmail.com>
Sat, 17 Aug 2013 09:11:17 +0000 (18:41 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 4 Oct 2013 01:09:52 +0000 (10:39 +0930)
commit8a7413f9b036da83ffde491a37d9d2340bc321a7
tree8ba04b78fde9893b9da3a10e7934a2c127594f6e
parent33ee81de05e83ce12f32a491270bb4c1611399c7
PowerPC LE strcmp and strncmp
http://sourceware.org/ml/libc-alpha/2013-08/msg00099.html

More little-endian support.  I leave the main strcmp loops unchanged,
(well, except for renumbering rTMP to something other than r0 since
it's needed in an addi insn) and modify the tail for little-endian.

I noticed some of the big-endian tail code was a little untidy so have
cleaned that up too.

* sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
(rTMP): Define as r11.
(strcmp): Add little-endian support.  Optimise tail.
* sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
* sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
* sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
* sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
* sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
* sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
ChangeLog
sysdeps/powerpc/powerpc32/power4/strncmp.S
sysdeps/powerpc/powerpc32/power7/strncmp.S
sysdeps/powerpc/powerpc32/strcmp.S
sysdeps/powerpc/powerpc32/strncmp.S
sysdeps/powerpc/powerpc64/power4/strncmp.S
sysdeps/powerpc/powerpc64/power7/strncmp.S
sysdeps/powerpc/powerpc64/strcmp.S
sysdeps/powerpc/powerpc64/strncmp.S