powerpc: Clean up strlen and strnlen for power8
commit2572f356b18ddee03b331ba33f5a2ae65d031a59
authorRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Mon, 3 Jul 2017 05:16:13 +0000 (3 10:46 +0530)
committerRajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Mon, 3 Jul 2017 05:16:13 +0000 (3 10:46 +0530)
treeb3b0ee3b360fe7f115319e3b3a38bc30b9c98c38
parent8dc6133eff1c09382bc8f6f98c49fb807900eecd
powerpc: Clean up strlen and strnlen for power8

To align a quadword aligned address to 64 bytes, maximum of three
16 bytes load is needed for worst case instead of loading four times.
ChangeLog
sysdeps/powerpc/powerpc64/power8/strlen.S
sysdeps/powerpc/powerpc64/power8/strnlen.S