mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 14:50:17 +00:00
6850e9c6ba
POWER9 DD2.1 and earlier has an issue where some cache inhibited
vector load traps to the kernel, causing a performance degradation. To
handle this in memcpy and memmove, lvx/stvx is used for aligned
addresses instead of lxvd2x/stxvd2x.
Reference: https://patchwork.ozlabs.org/patch/814059/
* sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
lxvd2x/stxvd2x with lvx/stvx.
* sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
fpu | ||
multiarch | ||
add_n.S | ||
bcopy.c | ||
Implies | ||
Makefile | ||
memchr.S | ||
memcmp.S | ||
memcpy.S | ||
memmove.S | ||
mempcpy.S | ||
memrchr.S | ||
memset.S | ||
rawmemchr.S | ||
stpncpy.S | ||
strcasecmp_l.S | ||
strcasecmp.S | ||
strchr.S | ||
strchrnul.S | ||
strcmp.S | ||
strlen.S | ||
strncmp.S | ||
strncpy.S | ||
strnlen.S | ||
strrchr.S | ||
strstr-ppc64.c | ||
strstr.S | ||
sub_n.S |