diff --git a/gmp.spec b/gmp.spec index 4bae014..069f8d7 100644 --- a/gmp.spec +++ b/gmp.spec @@ -6,7 +6,7 @@ Summary: A GNU arbitrary precision library Name: gmp Version: 6.2.0 -Release: 12%{?dist} +Release: 13%{?dist} Epoch: 1 URL: http://gmplib.org/ Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}.tar.bz2 @@ -187,6 +187,11 @@ export LD_LIBRARY_PATH=`pwd`/.libs %{_libdir}/libgmpxx.a %changelog +* Tue Aug 03 2023 Jakub Martisko - 1:6.2.0-13 +- Fix: previous commit removed one function from the library and thus broke the ABI +- function gmpn_preinv_divrem_1 should now not be removed +Related: rhbz#2044216 + * Tue Jul 18 2023 Jakub Martisko - 1:6.2.0-12 - Add SIMD optimization patches for s390x (provided by the IBM) Resolves: rhbz#2044216 diff --git a/ibm_z13_simd_part4.patch b/ibm_z13_simd_part4.patch index f66f615..c87c17c 100644 --- a/ibm_z13_simd_part4.patch +++ b/ibm_z13_simd_part4.patch @@ -33,7 +33,7 @@ index a17503fd0..50e7f39d1 100644 +#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0 /* never mpn_mod_1_1p */ +#define MOD_1_2_TO_MOD_1_4_THRESHOLD 0 /* never mpn_mod_1s_2p */ +#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 5 -+#define USE_PREINV_DIVREM_1 0 ++#define USE_PREINV_DIVREM_1 1 +#define DIV_QR_1N_PI1_METHOD 3 +#define DIV_QR_1_NORM_THRESHOLD MP_SIZE_T_MAX /* never */ +#define DIV_QR_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */