diff options
author | Stefan Liebler <stli@linux.vnet.ibm.com> | 2015-08-26 10:26:26 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-08-26 10:26:26 +0200 |
commit | 798f5b4b5d24e5687dd55acc535954ed1d59c10c (patch) | |
tree | 9af83d25772e08fddc0a252cf5e7be45af336057 /sysdeps/s390/multiarch/Makefile | |
parent | f21216015b7395c535abc01b9585a1ae3ceaa132 (diff) | |
download | glibc-798f5b4b5d24e5687dd55acc535954ed1d59c10c.zip glibc-798f5b4b5d24e5687dd55acc535954ed1d59c10c.tar.gz glibc-798f5b4b5d24e5687dd55acc535954ed1d59c10c.tar.bz2 |
S390: Optimize memrchr.
This patch provides optimized version of memrchr with the z13 vector
instructions.
ChangeLog:
* sysdeps/s390/multiarch/memrchr-c.c: New File.
* sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
* sysdeps/s390/multiarch/memrchr.c: Likewise.
* sysdeps/s390/multiarch/Makefile
(sysdep_routines): Add memrchr functions.
* sysdeps/s390/multiarch/ifunc-impl-list-common.c
(__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
Diffstat (limited to 'sysdeps/s390/multiarch/Makefile')
-rw-r--r-- | sysdeps/s390/multiarch/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/s390/multiarch/Makefile b/sysdeps/s390/multiarch/Makefile index 929a545..0805b07 100644 --- a/sysdeps/s390/multiarch/Makefile +++ b/sysdeps/s390/multiarch/Makefile @@ -17,7 +17,8 @@ sysdep_routines += strlen strlen-vx strlen-c \ strcspn strcspn-vx strcspn-c \ memchr memchr-vx \ rawmemchr rawmemchr-vx rawmemchr-c \ - memccpy memccpy-vx memccpy-c + memccpy memccpy-vx memccpy-c \ + memrchr memrchr-vx memrchr-c endif ifeq ($(subdir),wcsmbs) |