This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/9] powerpc: cleanup IFUNC implementations.


Almost all IFUNC string implementations in powerpc define one
or more of the ENTRY, EALIGN, END, and END_GEN_TB macros. But
these are already defined in sysdeps/powerpc/powerpc64/sysdep.h,
making them redundant.

The following set of patch cleans up the IFUNC implementations
for powerpc in order to remove unneeded macro definitions.

Tested on ppc64le with and without --disable-multi-arch flag.

Wainer dos Santos Moschetta (9):
  powerpc: refactor stpcpy, stpncpy, strcpy, and strncpy IFUNC.
  powerpc: refactor strcasecmp, strcmp, and strncmp IFUNC.
  powerpc: refactory strnlen and strlen IFUNC.
  powerpc: refactor strchr, strchrnul, and strrchr IFUNC.
  powerpc: refactor strcasestr and strstr IFUNC.
  powerpc: refactor memset IFUNC.
  powerpc: refactor memchr, memrchr, and rawmemchr IFUNC.
  powerpc: refactor memcpy and mempcpy IFUNC.
  powerpc: refactor memcmp and memmove IFUNC.

 sysdeps/powerpc/powerpc64/a2/memcpy.S                  |  8 ++++++--
 sysdeps/powerpc/powerpc64/cell/memcpy.S                |  8 ++++++--
 sysdeps/powerpc/powerpc64/memcpy.S                     |  8 ++++++--
 sysdeps/powerpc/powerpc64/memset.S                     |  8 ++++++--
 sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S    | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S        | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S      | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S     | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S   | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S   | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S   | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/memset-power4.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memset-power6.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memset-power7.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memset-power8.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S     | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S   | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S   | 16 +---------------
 .../powerpc/powerpc64/multiarch/strcasecmp_l-power7.S  | 15 +--------------
 .../powerpc/powerpc64/multiarch/strcasestr-power8.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S    | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S    | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S     | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S     | 18 ++----------------
 sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S    | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S    | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S     | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S   | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S   | 17 +----------------
 sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S   | 17 +----------------
 sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S   | 17 +----------------
 sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S   | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S   | 16 +---------------
 sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S   | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S   | 15 +--------------
 sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S    | 16 +---------------
 sysdeps/powerpc/powerpc64/power4/memcmp.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power4/memcpy.S              |  7 +++++--
 sysdeps/powerpc/powerpc64/power4/memset.S              |  7 +++++--
 sysdeps/powerpc/powerpc64/power4/strncmp.S             |  8 ++++++--
 sysdeps/powerpc/powerpc64/power6/memcpy.S              |  7 +++++--
 sysdeps/powerpc/powerpc64/power6/memset.S              |  7 +++++--
 sysdeps/powerpc/powerpc64/power7/memchr.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/memcmp.S              |  8 +++++---
 sysdeps/powerpc/powerpc64/power7/memcpy.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/memmove.S             |  7 +++++--
 sysdeps/powerpc/powerpc64/power7/mempcpy.S             |  7 +++++--
 sysdeps/powerpc/powerpc64/power7/memrchr.S             |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/memset.S              |  7 +++++--
 sysdeps/powerpc/powerpc64/power7/rawmemchr.S           |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/strchr.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/strchrnul.S           | 11 +++++++----
 sysdeps/powerpc/powerpc64/power7/strcmp.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/strlen.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/strncmp.S             |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/strncpy.S             | 14 +++++++++++---
 sysdeps/powerpc/powerpc64/power7/strnlen.S             |  8 ++++++--
 sysdeps/powerpc/powerpc64/power7/strrchr.S             |  9 +++++++--
 sysdeps/powerpc/powerpc64/power7/strstr.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power8/memset.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power8/strcasestr.S          |  8 ++++++--
 sysdeps/powerpc/powerpc64/power8/strchr.S              | 15 ++++++++++++---
 sysdeps/powerpc/powerpc64/power8/strcmp.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power8/strcpy.S              | 14 +++++++++++---
 sysdeps/powerpc/powerpc64/power8/strlen.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power8/strncmp.S             |  8 ++++++--
 sysdeps/powerpc/powerpc64/power8/strncpy.S             | 14 +++++++++++---
 sysdeps/powerpc/powerpc64/power9/strcmp.S              |  8 ++++++--
 sysdeps/powerpc/powerpc64/power9/strncmp.S             |  8 ++++++--
 sysdeps/powerpc/powerpc64/strchr.S                     |  8 ++++++--
 sysdeps/powerpc/powerpc64/strcmp.S                     |  8 ++++++--
 sysdeps/powerpc/powerpc64/strlen.S                     |  8 ++++++--
 sysdeps/powerpc/powerpc64/strncmp.S                    |  8 ++++++--
 87 files changed, 308 insertions(+), 769 deletions(-)

-- 
1.9.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]