mirror of git://sourceware.org/git/glibc.git
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> |
||
|---|---|---|
| .. | ||
| bits | ||
| fpu | ||
| nofpu | ||
| nptl | ||
| power4 | ||
| power6 | ||
| powerpc32 | ||
| powerpc64 | ||
| sys/platform | ||
| Makefile | ||
| 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 | ||