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 /sysdeps/unix/sysv/linux/powerpc/syscall.S | |
parent | 2194737e77256a847ed4fca7652e4dcb8d3f9c1e (diff) | |
download | glibc-fe7faec3e56a8dd64f78023a2f4a74fc8d42e79f.tar.gz |
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 'sysdeps/unix/sysv/linux/powerpc/syscall.S')
0 files changed, 0 insertions, 0 deletions