diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2022-03-20 20:15:49 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2022-03-20 20:15:49 +0100 |
commit | a7bf3dc83d3f92a69d09b7a73b6ef758a60c9d76 (patch) | |
tree | a3913d5d521c61419aa05b83a66df7104e7b3273 | |
parent | 93d25ba01870aa9a41db496b2427153811f70277 (diff) | |
download | gmp-a7bf3dc83d3f92a69d09b7a73b6ef758a60c9d76.tar.gz |
ChangeLog
-rw-r--r-- | ChangeLog | 41 | ||||
-rw-r--r-- | mini-gmp/ChangeLog | 4 |
2 files changed, 45 insertions, 0 deletions
@@ -1,3 +1,42 @@ +2022-03-18 Marco Bodrato <bodrato@mail.dm.unipi.it> + + * tests/mpz/t-lucm.c: Remove an unused var. + * tests/mpq/io.c: Use a random size. + * tests/mpz/t-gcd.c: Do not assume a limb fits for _ui functions. + +2022-03-15 Marco Bodrato <bodrato@mail.dm.unipi.it> + + * mpn/generic/mul_fft.c: Use _bknp1. Not when tuning, to avoid "noise". + +2022-03-08 Marco Bodrato <bodrato@mail.dm.unipi.it> + + * mpn/generic/mulmod_bnm1.c: Use mulmod_bknp1, on the bnp1 side. + * mpn/generic/sqrmod_bnm1.c: Likewise. + + * mpn/generic/mul_fft.c: Remove a branch and improve carry propagation. + +2022-02-15 Marco Bodrato <bodrato@mail.dm.unipi.it> + + * mpn/generic/strongfibo.c: Correct condition in #if. + + * mpn/generic/mulmod_bknp1.c: New file, with mpn_{mul,sqr}mod_bknp1. + * configure.ac (gmp_mpn_functions): Add new file. + * gmp-impl.h: Declare new functions. + * gmp-impl.h (MPN_{MUL,SQR}MOD_BKNP1_USABLE): Support new functions. + + * tests/mpn/t-{mul,sqr}mod_bknp1.c: New tests for mpn_{mul,sqr}mod_bknp1. + * tests/mpn/Makefile.am: Add new tests. + + * tune/speed.c: Recognise new functions: mpn_{mul,sqr}mod_bknp1. + * tune/speed.h: Declare new speed_ functions to measure them. + * tune/common.c: Implement speed_ functions. + +2022-02-01 Marco Bodrato <bodrato@mail.dm.unipi.it> + + * mpz/aorsmul_i.c: Use MPZ_NEWALLOC when the operand is overwritten. + * mpz/import.c: Reorder branches. + * mpz/{init2.c,realloc.c,realloc2.c}: Remove unneeded #includes. + 2022-01-20 Marc Glisse <marc.glisse@inria.fr> * doc/gmp.texi: Clarify C++ includes and library. @@ -7,6 +46,8 @@ * gen-sieve.c: Generate masks depending on bit size. * primesieve.c: Remove fixed size (32 and 64 only) masks. + * tune/speed.c: Add FLAG_NODATA for gmp_primesieve. + 2021-12-11 Marco Bodrato <bodrato@mail.dm.unipi.it> * mpn/generic/toom3_sqr.c: Use a shorter mul when it's simple. diff --git a/mini-gmp/ChangeLog b/mini-gmp/ChangeLog index 9ed2eaf99..027aa1a01 100644 --- a/mini-gmp/ChangeLog +++ b/mini-gmp/ChangeLog @@ -1,3 +1,7 @@ +2022-03-19 Marco Bodrato <bodrato@mail.dm.unipi.it> + + * mini-gmp.c (mpz_swap): Use MPN_PTR_SWAP, tx Paul Eggert. + 2021-10-01 Marco Bodrato <bodrato@mail.dm.unipi.it> * mini-gmp.c: Add asserts (removed at compile time) on limb size. |