From a94991165413e8d289b051d02f8f56271c2c044e Mon Sep 17 00:00:00 2001 From: Torbjorn Granlund Date: Sat, 29 Jul 2023 15:38:41 +0200 Subject: [PATCH] Release updates. --- AUTHORS | 2 ++ ChangeLog | 10 ++++++++++ Makefile.am | 9 +++++---- NEWS | 15 +++++++++++++-- gmp-h.in | 4 ++-- 5 files changed, 32 insertions(+), 8 deletions(-) diff --git a/AUTHORS b/AUTHORS index 72780dac6..4d16c44ec 100644 --- a/AUTHORS +++ b/AUTHORS @@ -106,3 +106,5 @@ Ulrich Weigand Changes to support powerpc64le: mpn/powerpc64/vmx/popcount.asm. Seth Troisi mpz/nextprime.c general speed-up and prevprime. + +Marius Hillenbrand mpn/s390_64/z13/*.c (later used as basis for asm code) diff --git a/ChangeLog b/ChangeLog index c5f965de3..2902cd2e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2023-07-29 Torbjörn Granlund + + * Version 6.3.0 released. + + * mpn/s390_64/z13/mul_basecase.asm: Rewrite, using new addmul_1.asm. + + * mpn/s390_64/z13/mul_1.asm: Rewrite. + * mpn/s390_64/z13/addmul_1.asm: Likewise. + * mpn/s390_64/z13/submul_1.asm: Likewise. + 2023-07-27 Niels Möller Update DIV_QR_1N_PI1_METHOD to use method 3 or 4. diff --git a/Makefile.am b/Makefile.am index 4b4f2a37f..03356e0c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -91,6 +91,7 @@ # 6.1.2 13:2:3 9:2:5 - # 6.2.0 14:0:4 10:0:6 - # 6.2.1 14:1:4 10:1:6 - +# 6.3.0 15:0:5 11:0:7 - # # Starting at 3:0:0 is a slight abuse of the versioning system, but it # ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux @@ -103,13 +104,13 @@ # it's still good to get the shared library filename (like # libgmpxx.so.3.0.4) incrementing, to make it clear which GMP it's from. -LIBGMP_LT_CURRENT = 14 +LIBGMP_LT_CURRENT = 15 LIBGMP_LT_REVISION = 0 -LIBGMP_LT_AGE = 4 +LIBGMP_LT_AGE = 5 -LIBGMPXX_LT_CURRENT = 10 +LIBGMPXX_LT_CURRENT = 11 LIBGMPXX_LT_REVISION = 0 -LIBGMPXX_LT_AGE = 6 +LIBGMPXX_LT_AGE = 7 SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune doc diff --git a/NEWS b/NEWS index 4d7c4a8d1..df9da33f8 100644 --- a/NEWS +++ b/NEWS @@ -1,9 +1,9 @@ -Copyright 1996, 1999-2016, 2018-2020 Free Software Foundation, Inc. +Copyright 1996, 1999-2016, 2018-2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. -Changes between GMP version 6.2.* and *.*.* +Changes between GMP version 6.2.* and 6.3.*. BUGS FIXED * A possible overflow of type int is avoided for mpz_cmp on huge operands. @@ -20,6 +20,12 @@ Changes between GMP version 6.2.* and *.*.* usage. These types have been present in gmp.h at least since GMP-4.0, but previously not advertised to users. + * Support for 64-bit Arm under Macos. + + * Support for the loongarch64 CPU family. + + * Support for building with LTO, link-time optimisations. + SPEEDUPS * New special code for base = 2 in mpz_powm reduces the average time for the functions that test primality. @@ -29,6 +35,11 @@ Changes between GMP version 6.2.* and *.*.* * Speedup for multiplications (some sizes only) thanks to new internal functions to compute small negacyclic products. + * Special assembly code for IBM z13 and later "mainframe" CPUs, resulting in + a huge speedup. + + * Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm. + Changes between GMP version 6.1.* and 6.2.0 BUGS FIXED diff --git a/gmp-h.in b/gmp-h.in index 6828ebce2..8598e9781 100644 --- a/gmp-h.in +++ b/gmp-h.in @@ -2336,8 +2336,8 @@ enum /* Major version number is the value of __GNU_MP__ too, above. */ #define __GNU_MP_VERSION 6 -#define __GNU_MP_VERSION_MINOR 2 -#define __GNU_MP_VERSION_PATCHLEVEL 99 +#define __GNU_MP_VERSION_MINOR 3 +#define __GNU_MP_VERSION_PATCHLEVEL 0 #define __GNU_MP_RELEASE (__GNU_MP_VERSION * 10000 + __GNU_MP_VERSION_MINOR * 100 + __GNU_MP_VERSION_PATCHLEVEL) #define __GMP_H__