glibc/sysdeps
Joseph Myers ea18d5a4c2 Implement C23 memalignment
Add the C23 memalignment function (query the alignment of a pointer)
to glibc.

Given how simple this operation is, it would make sense for compilers
to inline calls to this function, but I'm treating that as a compiler
matter (compilers should add it as a built-in function) rather than
adding an inline version to glibc headers (although such an inline
version would be reasonable as well).  I've filed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122117 for this feature
in GCC.

Tested for x86_64 and x86.
2025-10-17 16:56:59 +00:00
..
aarch64 aarch64: tests for SME 2025-10-14 09:42:46 +01:00
alpha alpha: Fix missing inexact-flag raising for lround/lrint 2025-09-11 14:48:00 -03:00
arc math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
arm arm: Add ARM VFPv4 VFMA instruction support in fma/fmaf (BZ 15503) 2025-10-03 15:19:54 -03:00
csky math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
generic math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
gnu errlist: add missing entries for MIPS/SPARC 2025-08-04 11:13:48 -03:00
hppa math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
htl Remove futex_supports_pshared 2025-09-08 15:01:18 +02:00
hurd htl: move pthread_kill into libc. 2025-08-16 01:44:27 +02:00
i386 x86: Use typeof_member style in RSEQ area access expressions 2025-10-08 09:35:15 +02:00
ieee754 math: Use binary search on lgammaf slow path 2025-10-14 11:12:08 -03:00
loongarch math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
m68k math: Remove unused files 2025-09-23 10:29:24 -03:00
mach Implement C23 memalignment 2025-10-17 16:56:59 +00:00
microblaze atomic: Switch microblaze to builtin atomics 2025-09-09 13:53:54 +00:00
mips mips: Fix delay slot filling in bsd-setjmp.S 2025-09-23 10:29:24 -03:00
nptl Remove futex_supports_pshared 2025-09-08 15:01:18 +02:00
or1k math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
posix assert: Refactor assert/assert_perror 2025-09-23 10:29:24 -03:00
powerpc ppc64le: Restore optimized strncmp for power10 2025-10-07 03:25:42 -05:00
pthread Add once_flag, ONCE_FLAG_INIT and call_once to stdlib.h for C23 2025-10-01 15:15:15 +00:00
riscv Fix RISC-V soft-float _FPU_SETCW for GCC 16 set-but-not-used warnings 2025-09-13 07:11:44 -07:00
s390 math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
sh math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
sparc math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
unix Implement C23 memalignment 2025-10-17 16:56:59 +00: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 Nova Lake Processor 2025-10-07 20:50:24 -07:00
x86_64 x86: Use typeof_member style in RSEQ area access expressions 2025-10-08 09:35:15 +02:00