diff options
author | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2017-11-07 10:07:48 +0530 |
---|---|---|
committer | Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> | 2017-11-07 10:07:48 +0530 |
commit | 6b86036452b9ac47b4ee7789a50f2f37df7ecc4f (patch) | |
tree | c85f60464be43b77842c084f044a87c5242ff57c /sysdeps/powerpc | |
parent | d83da3a4cebcf77e34593b86112dfad332808dae (diff) | |
download | glibc-6b86036452b9ac47b4ee7789a50f2f37df7ecc4f.tar.gz glibc-6b86036452b9ac47b4ee7789a50f2f37df7ecc4f.tar.xz glibc-6b86036452b9ac47b4ee7789a50f2f37df7ecc4f.zip |
powerpc: Use latest optimization for internal function calls
Update strcasestr-power8 to use power8 version of strnlen for calculating length. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S b/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S index 61025ce5a2..2fbf8a9143 100644 --- a/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S +++ b/sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S @@ -26,7 +26,7 @@ /* strlen is used to calculate len of r4. */ #define STRLEN __strlen_power8 /* strnlen is used to check if len of r3 is more than r4. */ -#define STRNLEN __strnlen_power7 +#define STRNLEN __strnlen_power8 /* strchr is used to check if first char of r4 is present in r3. */ #define STRCHR __strchr_power8 |