S390: Add z13 strstr ifunc variant

System Internals / glibc - Stefan Liebler [linux.ibm.com] - 18 December 2018 12:57 EST

The new vector variant of strstr is using the common code implementation, but instead of calling the default str* / mem* functions, the vector variants are called.

ChangeLog:

- sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
- sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list): Add ifunc variants for strstr.
- sysdeps/s390/ifunc-strstr.h: New file.
- sysdeps/s390/strstr.c: Likewise.
- sysdeps/s390/strstr-c.c: Likewise.
- sysdeps/s390/strstr-vx.c: Likewise.

8c25dddd2e S390: Add z13 strstr ifunc variant.
ChangeLog | 10 ++++++
sysdeps/s390/Makefile | 3 +-
sysdeps/s390/ifunc-strstr.h | 52 ++++++++++++++++++++++++++++++++
sysdeps/s390/multiarch/ifunc-impl-list.c | 13 ++++++++
sysdeps/s390/strstr-c.c | 32 ++++++++++++++++++++
sysdeps/s390/strstr-vx.c | 52 ++++++++++++++++++++++++++++++++
sysdeps/s390/strstr.c | 40 ++++++++++++++++++++++++
7 files changed, 201 insertions(+), 1 deletion(-)

Upstream: sourceware.org


  • Share