glibc/sysdeps
Stefan Liebler 41f67ccbe9 S390: Influence hwcaps/stfle via GLIBC_TUNABLES.
This patch enables the option to influence hwcaps and stfle bits used
by the s390 specific ifunc-resolvers.  The currently x86-specific
tunable glibc.cpu.hwcaps is also used on s390x to achieve the task. In
addition the user can also set a CPU arch-level like z13 instead of
single HWCAP and STFLE features.

Note that the tunable only handles the features which are really used
in the IFUNC-resolvers.  All others are ignored as the values are only
used inside glibc.  Thus we can influence:
- HWCAP_S390_VXRS (z13)
- HWCAP_S390_VXRS_EXT (z14)
- HWCAP_S390_VXRS_EXT2 (z15)
- STFLE_MIE3 (z15)

The influenced hwcap/stfle-bits are stored in the s390-specific
cpu_features struct which also contains reserved fields for future
usage.

The ifunc-resolvers and users of stfle bits are adjusted to use the
information from cpu_features struct.

On 31bit, the ELF_MACHINE_IRELATIVE macro is now also defined.
Otherwise the new ifunc-resolvers segfaults as they depend on
the not yet processed_rtld_global_ro@GLIBC_PRIVATE relocation.
2023-02-07 09:19:27 +01:00
..
aarch64 AArch64: Improve SVE memcpy and memmove 2023-02-06 16:15:34 +00:00
alpha alpha: Add string-fza, string-fzb.h, string-fzi.h, and string-shift.h 2023-02-06 16:19:35 -03:00
arc Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
arm arm: Add string-fza.h 2023-02-06 16:19:35 -03:00
csky Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
generic Add string vectorized find and detection functions 2023-02-06 16:19:35 -03:00
gnu Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
hppa hppa: Add string-fza.h, string-fzc.h, and string-fzi.h 2023-02-06 16:19:35 -03:00
htl Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
hurd Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
i386 string: Improve generic strnlen with memchr 2023-02-06 16:19:35 -03:00
ia64 ia64: Regenerate ulps 2023-01-24 11:21:38 -05:00
ieee754 math: Suppress -O0 warnings for soft-fp fsqrt [BZ #19444] 2023-01-11 17:50:51 -03:00
loongarch Regenerate configure. 2023-01-31 17:51:40 -05:00
m68k Parameterize OP_T_THRES from memcopy.h 2023-02-06 16:19:35 -03:00
mach Move RETURN_TO to x86/sysdep.h and implement x86_64 version. 2023-02-05 12:36:38 +01:00
microblaze Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mips Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nios2 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
nptl Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
or1k Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
posix Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
powerpc powerpc: Add string-fza.h 2023-02-06 16:19:35 -03:00
pthread Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
riscv riscv: Add string-fza.h and string-fzi.h 2023-02-06 16:19:35 -03:00
s390 S390: Influence hwcaps/stfle via GLIBC_TUNABLES. 2023-02-07 09:19:27 +01:00
sh sh: Add string-fzb.h 2023-02-06 16:19:35 -03:00
sparc sparc (64bit): Regenerate ulps 2023-01-24 11:21:50 -05:00
unix S390: Influence hwcaps/stfle via GLIBC_TUNABLES. 2023-02-07 09:19:27 +01:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
x86 x86: Cache computation for AMD architecture. 2023-01-18 19:28:54 +01:00
x86_64 Parameterize op_t from memcopy.h 2023-02-06 16:19:35 -03:00