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>
This commit is contained in:
Rajalakshmi Srinivasaraghavan 2017-11-07 10:07:48 +05:30
parent d83da3a4ce
commit 6b86036452
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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