]> git.ipfire.org Git - thirdparty/glibc.git/commit
S390: Refactor strspn ifunc handling.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:15 +0000 (13:57 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:15 +0000 (13:57 +0100)
commit483fc56978d11c7118326f92ea678bea2f092300
tree2a7ef5f4982f81c82c2d413bdd6f746aece9fa4f
parent26ea8760877cf03272e98c21eb1a7745ceca76c4
S390: Refactor strspn ifunc handling.

The ifunc handling for strspn is adjusted in order to omit ifunc
variants if those will never be used as the minimum architecture level
already supports newer CPUs by default.
Glibc internal calls will then also use the "newer" ifunc variant.

ChangeLog:

* sysdeps/s390/multiarch/Makefile
(sysdep_routines): Remove strspn variants.
* sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
* sysdeps/s390/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
* sysdeps/s390/multiarch/strspn-c.c: Move to ...
* sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/strspn-vx.S: Move to ...
* sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/strspn.c: Move to ...
* sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
* sysdeps/s390/ifunc-strspn.h: New file.
ChangeLog
sysdeps/s390/Makefile
sysdeps/s390/ifunc-strspn.h [new file with mode: 0644]
sysdeps/s390/multiarch/Makefile
sysdeps/s390/multiarch/ifunc-impl-list.c
sysdeps/s390/strspn-c.c [moved from sysdeps/s390/multiarch/strspn-c.c with 78% similarity]
sysdeps/s390/strspn-vx.S [moved from sysdeps/s390/multiarch/strspn-vx.S with 97% similarity]
sysdeps/s390/strspn.c [moved from sysdeps/s390/multiarch/strspn.c with 70% similarity]