[PATCH 0/5] Tune and tweak memmove/wordcopy code for Powerpc
Will Schmidt
will_schmidt@vnet.ibm.com
Mon Mar 12 21:38:00 GMT 2012
The following series copies, tunes and tweaks the implementation of memove and
wordcopy functions for powerpc, in particular power7.
The "Call memcpy when appropriate" optimization (2/5) could apply to other
architectures generically; but I can not make any claims to how
much improvement (if any) it provides for those archs.
---
Will Schmidt (5):
[Powerpc] tune/optimize memmove/wordcopy. Populate files.
[Powerpc] tune/optimize memmove/wordcopy. Call memcpy when appropriate.
[Powerpc] tune/optimize memmove/wordcopy. Add helper macro to call MERGE
[Powerpc] tune/optimize memmove/wordcopy. Convert switch to if-then-else
[Powerpc] tune/optimize memmove/wordcopy. preload srcp values
sysdeps/powerpc/memmove.c | 120 +++++++++++
sysdeps/powerpc/powerpc32/power7/wordcopy.c | 250 +++++++++++++++++++++++
sysdeps/powerpc/powerpc64/power7/wordcopy.c | 289 +++++++++++++++++++++++++++
3 files changed, 659 insertions(+), 0 deletions(-)
create mode 100644 sysdeps/powerpc/memmove.c
create mode 100644 sysdeps/powerpc/powerpc32/power7/wordcopy.c
create mode 100644 sysdeps/powerpc/powerpc64/power7/wordcopy.c
--
More information about the Libc-alpha
mailing list