diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-09 16:04:26 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-01-13 14:35:40 -0500 |
commit | d3b00f468bec441596877a685a19f43dee88657f (patch) | |
tree | 2de8d805a29789d272de4eb416019aa68017e61d /ChangeLog | |
parent | 72607db038df1a1a7987af814aad8d2ed466c45c (diff) | |
download | glibc-d3b00f468bec441596877a685a19f43dee88657f.zip glibc-d3b00f468bec441596877a685a19f43dee88657f.tar.gz glibc-d3b00f468bec441596877a685a19f43dee88657f.tar.bz2 |
powerpc: Optimized strncmp for POWER8/PPC64
This patch adds an optimized POWER8 strncmp. The implementation focus
on speeding up unaligned cases follwing the ideas of power8 strcmp.
The algorithm first check the initial 16 bytes, then align the first
function source and uses unaligned loads on second argument only.
Aditional checks for page boundaries are done for unaligned cases
(where sources alignment are different).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file. + * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file. + * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add + strncmp-power8 object. + * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c + (__libc_ifunc_impl_list): Add __strncmp_power8 implementation. + * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise. + * NEWS: Update. + 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> Adhemerval Zanella <azanella@linux.vnet.ibm.com> |