glibc/sysdeps/powerpc/powerpc64/multiarch
Paul E. Murphy a23bd00f9d powerpc64le: add optimized strlen for P9
This started as a trivial change to Anton's rawmemchr.  I got
carried away.  This is a hybrid between P8's asympotically
faster 64B checks with extremely efficient small string checks
e.g <64B (and sometimes a little bit more depending on alignment).

The second trick is to align to 64B by running a 48B checking loop
16B at a time until we naturally align to 64B (i.e checking 48/96/144
bytes/iteration based on the alignment after the first 5 comparisons).
This allieviates the need to check page boundaries.

Finally, explicly use the P7 strlen with the runtime loader when building
P9.  We need to be cautious about vector/vsx extensions here on P9 only
builds.
2020-06-05 15:30:00 -05:00
..
bcopy-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
bcopy.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
bzero.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ifunc-impl-list.c powerpc64le: add optimized strlen for P9 2020-06-05 15:30:00 -05:00
init-arch.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile powerpc64le: add optimized strlen for P9 2020-06-05 15:30:00 -05:00
memchr-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memchr-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memchr-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memchr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcmp-power4.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcmp-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcmp-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcmp-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy-a2.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy-cell.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy-power4.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy-power6.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy-power8-cached.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy-ppc64.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memcpy.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memmove-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memmove-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memmove.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mempcpy-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mempcpy-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mempcpy.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memrchr-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memrchr-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memrchr-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memrchr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memset-power4.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memset-power6.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memset-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memset-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memset-ppc64.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
memset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rawmemchr-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rawmemchr-power9.S powerpc: Optimized rawmemchr for POWER9 2020-05-18 17:08:54 -05:00
rawmemchr-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rawmemchr.c powerpc: Optimized rawmemchr for POWER9 2020-05-18 17:08:54 -05:00
rtld-memset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rtld-strchr.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpcpy-power7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpcpy-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpcpy-power9.S powerpc: Optimized stpcpy for POWER9 2020-05-18 08:26:22 -05:00
stpcpy-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpcpy.c powerpc: Optimized stpcpy for POWER9 2020-05-18 08:26:22 -05:00
stpncpy-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpncpy-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpncpy-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stpncpy.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasecmp_l-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasecmp_l.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasecmp-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasecmp-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasecmp-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasecmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasestr-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasestr-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcasestr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcat-power7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcat-power8.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcat-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchr-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchr-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchr-ppc64.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchrnul-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchrnul-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchrnul-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strchrnul.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcmp-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcmp-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcmp-power9.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcmp-ppc64.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcpy-power7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcpy-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcpy-power9.S powerpc: Optimized strcpy for POWER9 2020-05-18 08:26:22 -05:00
strcpy-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcpy.c powerpc: Optimized strcpy for POWER9 2020-05-18 08:26:22 -05:00
strcspn-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcspn-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strcspn.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strlen-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strlen-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strlen-power9.S powerpc64le: add optimized strlen for P9 2020-06-05 15:30:00 -05:00
strlen-ppc64.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strlen.c powerpc64le: add optimized strlen for P9 2020-06-05 15:30:00 -05:00
strncase_l-power7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncase_l.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncase-power7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncase-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncase-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncase.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncat-power7.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncat-power8.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncat-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncmp-power4.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncmp-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncmp-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncmp-power9.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncmp-ppc64.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncmp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncpy-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncpy-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncpy-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strncpy.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strnlen-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strnlen-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strnlen-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strnlen.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strrchr-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strrchr-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strrchr-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strrchr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strspn-power8.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strspn-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strspn.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strstr-power7.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strstr-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
strstr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordcopy-ppc64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00