s390: Use dl-symbol-redir-ifunc.h on cpu-tunables
commit1c87f71a36e21fa851117c151b3c492fa3eede5b
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 6 Nov 2023 20:25:43 +0000 (6 17:25 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 21 Nov 2023 19:15:42 +0000 (21 16:15 -0300)
tree85bf66afd8d2fd3ffae2a92f0cbb0b42d5bdcc6e
parent4862d546c04bd2caf496d48335a546c0a44ad4a5
s390: Use dl-symbol-redir-ifunc.h on cpu-tunables

Using the memcmp symbol directly allows the compile to inline the
memcmp calls (especially because _dl_tunable_set_hwcaps uses constants
values), generating better code.

Checked with tst-tunables on s390x-linux-gnu (qemu system).
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
sysdeps/s390/cpu-features.c
sysdeps/s390/multiarch/dl-symbol-redir-ifunc.h