diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2017-02-07 10:40:26 +0530 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2017-02-07 10:40:26 +0530 |
commit | 04f0fd640d78ff715cb9409f03d55366ed76966e (patch) | |
tree | dfef9d58915c0a6788b1c76524949a8ed5546e5f /sysdeps/powerpc/powerpc64/multiarch | |
parent | dcd4cd575678c94f042c1a6b08663c648781a9eb (diff) | |
download | glibc-04f0fd640d78ff715cb9409f03d55366ed76966e.tar.gz glibc-04f0fd640d78ff715cb9409f03d55366ed76966e.tar.xz glibc-04f0fd640d78ff715cb9409f03d55366ed76966e.zip |
powerpc: Improve strcmp performance for shorter strings
For strings >16B and <32B existing algorithm takes more time than default implementation when strings are placed closed to end of page. This is due to byte by byte access for handling page cross. This is improved by following >32B code path where the address is adjusted to aligned memory before doing load doubleword operation instead of loading bytes. Tested on powerpc64 and powerpc64le.
Diffstat (limited to 'sysdeps/powerpc/powerpc64/multiarch')
0 files changed, 0 insertions, 0 deletions