This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/5] Tune and tweak memmove/wordcopy code for Powerpc
- From: Will Schmidt <will_schmidt at vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Cc: willschm at us dot ibm dot com
- Date: Mon, 12 Mar 2012 16:37:55 -0500
- Subject: [PATCH 0/5] Tune and tweak memmove/wordcopy code for Powerpc
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
--