]> sourceware.org Git - glibc.git/commit
S390: Refactor wmemset ifunc handling.
authorStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:24 +0000 (13:57 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Tue, 18 Dec 2018 12:57:24 +0000 (13:57 +0100)
commitd2a7436c1c6144bbba2eb2a7b25db9b90515f0e6
tree1669611ec49e0be24022f24985efe2efcda9f918
parentc62534ae524111eae48b2c2adf3f9a2ca90824f5
S390: Refactor wmemset ifunc handling.

The ifunc handling for wmemset is adjusted in order to omit ifunc
if the minimum architecture level already supports newer CPUs by default.
Unfortunately the c ifunc variant can't be omitted at all as it is used
by the z13 ifunc variant as fallback if the pointers are not 4-byte aligned.
Glibc internal calls will use the "newer" ifunc variant.

ChangeLog:

* sysdeps/s390/multiarch/Makefile
(sysdep_routines): Remove wmemset variants.
* sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
* sysdeps/s390/multiarch/ifunc-impl-list.c
(__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
* sysdeps/s390/multiarch/wmemset-c.c: Move to ...
* sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
* sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
* sysdeps/s390/multiarch/wmemset.c: Move to ...
* sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
* sysdeps/s390/ifunc-wmemset.h: New file.
ChangeLog
sysdeps/s390/Makefile
sysdeps/s390/ifunc-wmemset.h [new file with mode: 0644]
sysdeps/s390/multiarch/Makefile
sysdeps/s390/multiarch/ifunc-impl-list.c
sysdeps/s390/wmemset-c.c [moved from sysdeps/s390/multiarch/wmemset-c.c with 59% similarity]
sysdeps/s390/wmemset-vx.S [moved from sysdeps/s390/multiarch/wmemset-vx.S with 91% similarity]
sysdeps/s390/wmemset.c [moved from sysdeps/s390/multiarch/wmemset.c with 70% similarity]
This page took 0.050668 seconds and 5 git commands to generate.