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 | |
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>
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 8355074f7f..6d383093c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> + + * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN): + Redefine STRNLEN as __strnlen_power8. + 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org> * signal/sighold.c (sighold): Optimize implementation. 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 |