glibc/sysdeps/powerpc
Adhemerval Zanella 8cd6efca5b Add add_ssaaaa and sub_ssaaaa to gmp-arch.h
To enable “longlong.h” removal, add_ssaaaa and sub_ssaaaa are moved to
gmp-arch.h.  The generic implementation now uses a static inline.  This
provides better type checking than the GNU extension, which casts the
asm constraint; and it also works better with clang.

Most architectures use the generic implementation, with except of
arc, arm, hppa, x86, m68k, powerpc, and sparc.  The 32 bit architectures
the compiler generates good enough code using uint64_t types, where
for 64 bit architecture the patch leverages the math_u128.h definitions
that uses 128-bit integers when available (all 64 bit architectures
on gcc 15).

The strongly typed implementation required some changes.  I adjusted
_FP_W_TYPE, _FP_WS_TYPE, and _FP_I_TYPE to use the same type as
mp_limb_t on aarch64, powerpc64le, x86_64, and riscv64.  This basically
means using “long” instead of “long long.”

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
2025-11-26 10:10:02 -03:00
..
bits
fpu math: Don't redirect inlined builtin math functions 2025-11-17 11:17:07 -03:00
nofpu math: Add fetestexcept internal alias 2025-09-11 14:46:07 -03:00
nptl Remove support for lock elision. 2025-11-18 14:21:13 +01:00
power4
power6
powerpc32 powerpc: Consolidate atomic-machine.h 2025-11-04 04:14:01 -03:00
powerpc64 Add add_ssaaaa and sub_ssaaaa to gmp-arch.h 2025-11-26 10:10:02 -03:00
sys/platform
Makefile i386: Update ___tls_get_addr to preserve vector registers 2025-06-19 04:30:31 +08:00
Versions
abort-instr.h
dl-diagnostics-cpu.c
dl-lookupcfg.h
dl-procinfo.c
dl-tls.c
dl-tls.h
dl-tunables.list
elf-initfini.h
fpu_control.h
gccframe.h
hwcapinfo.c
hwcapinfo.h
ifunc-sel.h
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
locale-defines.sym
longjmp.c
machine-gmon.h
math-tests-snan-cast.h
math-use-builtins-ffs.h
mod-cache-ppc.c
mod-tlsopt-powerpc.c
novmx-longjmp.c
novmx-sigjmp.c
novmxsetjmp.h
preconfigure
preconfigure.ac
rtld-global-offsets.sym
sigjmp.c
sotruss-lib.c
string-fza.h
sysdep.h
test-arith.c
test-arithf.c
test-get_hwcap-static.c
test-get_hwcap.c
test-gettimebase.c
thread_pointer.h
tst-cache-ppc-static-dlopen.c
tst-cache-ppc-static.c
tst-cache-ppc.c
tst-set_ppr.c
tst-stack-align.h
tst-tlsifunc-static.c
tst-tlsifunc.c
tst-tlsopt-powerpc.c
utmp-size.h