glibc/sysdeps
Yury Khrustalev fcd6a8b5c5 aarch64: add __ifunc_hwcap function to be used in ifunc resolvers
Add a new helper function __ifunc_hwcap() as a portable way to
access HWCAP elements via the parameter(s) passed to an ifunc
resolver checking the _IFUNC_ARG_HWCAP bit in the first parameter
and size of the buffer in the second parameter.

Note that 0 is returned when the requested element is not available
or does not correspond to a valid AT_HWCAP{,2,...} value.

Also add relevant tests.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2025-06-05 14:38:51 +01:00
..
aarch64 aarch64: add __ifunc_hwcap function to be used in ifunc resolvers 2025-06-05 14:38:51 +01:00
alpha math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
arc math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
arm math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
csky math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
generic generic: Add missing parameter name to __getrandom_early_init 2025-05-28 10:00:41 +02:00
gnu
hppa math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
htl stdlib: Fix qsort memory leak if callback throws (BZ 32058) 2025-04-02 18:01:55 +00:00
hurd hurd: Consolidate signal mask change 2025-03-06 02:28:35 +01:00
i386 math: Remove i386 ilogb/ilogbf/llogb/llogbf 2025-06-02 13:32:19 -03:00
ieee754 math: Optimize float ilogb/llogb 2025-06-02 13:32:19 -03:00
loongarch math: Optimize float ilogb/llogb 2025-06-02 13:32:19 -03:00
m68k math: Optimize float ilogb/llogb 2025-06-02 13:32:19 -03:00
mach Implement C23 rootn. 2025-05-14 10:51:46 +00:00
microblaze math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
mips math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
nptl stdlib: Fix qsort memory leak if callback throws (BZ 32058) 2025-04-02 18:01:55 +00:00
or1k math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
posix
powerpc math: Optimize float ilogb/llogb 2025-06-02 13:32:19 -03:00
pthread hurd: Fix tst-stack2 test build on Hurd 2025-05-09 10:19:37 -03:00
riscv RISC-V: Use builtin for ffs and ffsll while supported extension available 2025-04-28 09:51:59 -03:00
s390 S390: Use cfi_val_offset instead of cfi_escape. 31bit part 2025-05-23 15:05:56 +02:00
sh math: Refactor how to use libm-test-ulps 2025-03-12 13:40:07 -03:00
sparc sparc: Fix argument passing to __libc_start_main (BZ 32981) 2025-06-03 09:11:46 -03:00
unix sigaction: don't sign-extend sa_flags 2025-06-03 10:53:12 +02:00
wordsize-32 stdio-common: Reject integer prefixes in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
wordsize-64 stdio-common: Reject integer prefixes in scanf [BZ #12701] 2025-03-28 12:35:53 +00:00
x86 x86: Detect Intel Diamond Rapids 2025-04-12 09:43:15 -07:00
x86_64 x86_64: Fix typo in ifunc-impl-list.c. 2025-05-20 16:31:52 -07:00