]> git.ipfire.org Git - thirdparty/glibc.git/commit
S390: Also check vector support in memmove ifunc-selector [BZ #27511]
authorStefan Liebler <stli@linux.ibm.com>
Tue, 23 Mar 2021 16:29:26 +0000 (17:29 +0100)
committerStefan Liebler <stli@linux.ibm.com>
Fri, 26 Mar 2021 10:00:47 +0000 (11:00 +0100)
commit778b8d37865a1d6689155c23802724bf11e4bc75
tree5009c02a99ea3b45a150561bb8e9b566a2310a26
parent44b395932961a29825da4ad025124a6760858d9c
S390: Also check vector support in memmove ifunc-selector [BZ #27511]

The arch13 memmove variant is currently selected by the ifunc selector
if the Miscellaneous-Instruction-Extensions Facility 3 facility bit
is present, but the function is also using vector instructions.
If the vector support is not present, one is receiving an operation
exception.

Therefore this patch also checks for vector support in the ifunc
selector and in ifunc-impl-list.c.

Just to be sure, the configure check is now also testing an arch13
vector instruction and an arch13 Miscellaneous-Instruction-Extensions
Facility 3 instruction.

(cherry picked from commit 7759be2593b689cb1eafc0f52ee7f59c639e5d2f)
sysdeps/s390/configure
sysdeps/s390/configure.ac
sysdeps/s390/memmove.c
sysdeps/s390/multiarch/ifunc-impl-list.c