diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2015-08-18 22:40:56 +0530 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-08-25 13:45:56 -0300 |
commit | fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f (patch) | |
tree | 242d3afd1b66ac57b75eaf8814f5e439971258c1 /ChangeLog | |
parent | 2194737e77256a847ed4fca7652e4dcb8d3f9c1e (diff) | |
download | glibc-fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f.zip glibc-fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f.tar.gz glibc-fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f.tar.bz2 |
powerpc: Handle worstcase behavior in strstr() for POWER7
Instead of checking needle length, constant 'n' number of comparisons
is checked to fall back to default implementation. This patch is tested
on powerpc64 and powerpc64le.
2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case. + 2015-08-25 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4]. |