]> 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:02:33 +0000 (11:02 +0100)
commit2e776d7b31114acf531a48ae3f086ce7efa4b521
treeda450af3d7ffcbcd02656df47d82cd204ed7d8fc
parent1bf07898c9d1a6f7cb6ea4825477a7dadbf67cb3
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