about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S
diff options
context:
space:
mode:
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2017-02-07 10:40:26 +0530
committerRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>2017-02-07 10:40:26 +0530
commit04f0fd640d78ff715cb9409f03d55366ed76966e (patch)
treedfef9d58915c0a6788b1c76524949a8ed5546e5f /sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S
parentdcd4cd575678c94f042c1a6b08663c648781a9eb (diff)
downloadglibc-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/strcasestr-power8.S')
0 files changed, 0 insertions, 0 deletions