S390: Add z13 memmem ifunc variant

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

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

ChangeLog:

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

d2c4c403fe S390: Add z13 memmem ifunc variant.
ChangeLog | 10 ++++++
sysdeps/s390/Makefile | 3 +-
sysdeps/s390/ifunc-memmem.h | 52 +++++++++++++++++++++++++++
sysdeps/s390/memmem-c.c | 47 ++++++++++++++++++++++++
sysdeps/s390/memmem-vx.c | 61 ++++++++++++++++++++++++++++++++
sysdeps/s390/memmem.c | 43 ++++++++++++++++++++++
sysdeps/s390/multiarch/ifunc-impl-list.c | 13 +++++++
7 files changed, 228 insertions(+), 1 deletion(-)

Upstream: sourceware.org


  • Share