mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 10:22:41 +08:00
powerpc: Use latest optimizations for internal function calls
Some of the power8 strings optimizations are not updated to use the latest version of other string optimizations
This commit is contained in:
parent
04f0fd640d
commit
e688cceee5
@ -1,3 +1,10 @@
|
||||
2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
|
||||
STRCHR as __strchr_power8.
|
||||
* sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
|
||||
strlen as __strlen_power8.
|
||||
|
||||
2017-02-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
|
||||
|
@ -44,6 +44,6 @@
|
||||
/* strnlen is used to check if len of r3 is more than r4. */
|
||||
#define STRNLEN __strnlen_power7
|
||||
/* strchr is used to check if first char of r4 is present in r3. */
|
||||
#define STRCHR __strchr_power7
|
||||
#define STRCHR __strchr_power8
|
||||
|
||||
#include <sysdeps/powerpc/powerpc64/power8/strcasestr.S>
|
||||
|
@ -23,8 +23,8 @@
|
||||
#define libc_hidden_def(name)
|
||||
|
||||
extern typeof (strcpy) __strcpy_power8;
|
||||
extern typeof (strlen) __strlen_power7;
|
||||
extern typeof (strlen) __strlen_power8;
|
||||
|
||||
#define strcpy __strcpy_power8
|
||||
#define strlen __strlen_power7
|
||||
#define strlen __strlen_power8
|
||||
#include <string/strcat.c>
|
||||
|
Loading…
Reference in New Issue
Block a user