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 /malloc | |
parent | 72607db038df1a1a7987af814aad8d2ed466c45c (diff) | |
download | glibc-d3b00f468bec441596877a685a19f43dee88657f.tar.gz glibc-d3b00f468bec441596877a685a19f43dee88657f.tar.xz glibc-d3b00f468bec441596877a685a19f43dee88657f.zip |
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 'malloc')
0 files changed, 0 insertions, 0 deletions