summaryrefslogtreecommitdiff
path: root/gmp-impl.h
Commit message (Collapse)AuthorAgeFilesLines
* Delete spurious assignment in mpn_jacobi_update.Niels Möller2022-05-131-1/+1
|
* gmp-impl.h (MPN_{MUL,SQR}MOD_BKNP1_USABLE): Add parentheses to avoid warningsMarco Bodrato2022-02-211-24/+28
|
* Copyright yearsMarco Bodrato2022-02-211-1/+1
|
* mpn/generic/mulmod_bknp1.c: New file, with mpn_{mul,sqr}mod_bknp1Marco Bodrato2022-02-151-0/+63
| | | | | configure.ac: Compile it gmp-impl.h: Define new functions
* Handle overflow in mpz_type through errno.Marco Bodrato2021-12-121-1/+3
|
* Makefile.am, gmp-impl.h: Use gen-sieve and its outputMarco Bodrato2021-10-011-0/+1
|
* #include stdint.h even if we have inttypes.hMarc Glisse2021-06-061-4/+5
| | | | | It would be tempting to remove those includes from the files that already include gmp-impl.h.
* Consistently use pointers instead of arrays in declarations.Marc Glisse2021-06-061-7/+4
| | | | gmp_randstate_t -> gmp_randstate_ptr, etc
* gmp-impl.h: Correct number of parameters for _nc macros.Marco Bodrato2019-12-191-6/+6
|
* Finish change vs fat and gcd_11. Remove gcd_22 from fat functions for now, ↵Torbjorn Granlund2019-12-021-3/+3
| | | | its calls to gcd_11 are problematic.
* Make tuning of hgcd and gcd take hgcd2 choice into accountNiels M?ller2019-09-231-0/+4
| | | | | | | | | | | | | | | | * gmp-impl.h (hgcd2_func_t) [TUNE_PROGRAM_BUILD]: New typedef. (hgcd2_func) [TUNE_PROGRAM_BUILD]: New function pointer. * tune/hgcd2.c (mpn_hgcd2): New file, with a redefined function to invoke an implementation via the hgcd2_func function pointer. Initially points to the default implementation in mpn/generic/hgcd2.c. * tune/Makefile.am (tuneup_SOURCES): Add hgcd2.c. * tune/tuneup.c (one_method): Return index of selected function. (tune_hgcd2): Set hgcd2_func to point to selected function. So that the later tuning of mpn_hgcd and mpn_gcd uses the right implementation of hgcd2.
* Fix use of TMP_ALLOC in tuneup.cNiels M?ller2019-09-151-2/+2
|
* New function mpn_gcd_22.Niels M?ller2019-08-161-0/+8
| | | | | | | | | | | | * mpn/generic/gcd.c (gcd_2): Moved to gcd_22.c below. (mpn_gcd): Adapt for calling gcd_22. * mpn/generic/gcd_22.c (mpn_gcd_22): New file and function. * gmp-impl.h (mp_double_limb_t): New (typedef) struct. * configure.ac (gmp_mpn_functions): Added gcd_22. * tests/mpn/t-gcd_22.c: New test. * tests/mpn/Makefile.am (check_PROGRAMS): Add t-gcd_22. * tests/refmpz.c (refmpz_gcd): New function (plain binary gcd).
* mpz/stronglucas.c: New fileMarco Bodrato2018-11-121-0/+6
|
* tests/mpz/t-lucm.c: New test, for the internal function mpz_lucas_modMarco Bodrato2018-11-101-0/+3
|
* configure.ac (gmp_mpn_functions): Add fib2m.Marco Bodrato2018-10-311-0/+3
| | | | gmp-impl.h: Declare mpn_fib2m.
* Copyright yearsMarco Bodrato2018-05-161-1/+1
|
* igi staticMarco Bodrato2018-05-131-16/+0
|
* gmp-impl.h (popc_limb): Use fewer constants (GMP_LIMB_BITS == 16)Marco Bodrato2018-02-081-3/+3
|
* Reorganise foolshC_ip1 -> foolshC -> foolsh chain to make it transitive.Torbjorn Granlund2017-07-231-123/+168
|
* Fix typo in last edit.Torbjorn Granlund2017-07-201-1/+1
|
* (mpn_sbpi1_bdiv_r): Declare.Torbjorn Granlund2017-07-201-0/+3
|
* Break out and optimise powtab computation from mpn/generic/get_str.c and ↵Torbjorn Granlund2017-01-241-5/+4
| | | | mpn/generic/set_str.c.
* (x86_64 MPN_IORD_U): Use proper asm constraint.Oleg Oshmyan2016-10-311-1/+1
|
* Include just gmp-impl.h, make gmp-impl.h grab gmp.h.Torbjorn Granlund2016-08-291-0/+1
|
* Use gmp_uint_least32_t in bitfields instead of unsigned int.Marc Glisse2015-12-191-2/+2
|
* gmp-impl.h (MPN_TOOM22_MUL_MINSIZE): Consider ToomX2 limits.Marco Bodrato2015-11-211-1/+3
|
* Tuning code for SQRLO_*:THRESHOLDs.Marco Bodrato2015-08-251-0/+34
|
* gmp-impl.h: New MPQ_{SRC,}PTR_SWAP macroMarco Bodrato2015-08-201-0/+13
|
* mpn/generic/sqrlo{,_basecase.c}: New files.Marco Bodrato2015-08-061-0/+6
|
* gmp-impl.h (MPN_FILL): New macro.Marco Bodrato2015-07-011-20/+20
|
* Remove K&R stringize support.Torbjorn Granlund2015-06-231-9/+1
|
* ChangeLogMarco Bodrato2015-05-301-1/+1
|
* Make mpn_zero_p public (inline).Marco Bodrato2015-05-301-11/+0
|
* Rename a dummy variableMarco Bodrato2015-05-201-2/+2
|
* mpn/generic/invertappr.c (mpn_ni_invertappr): Reduce memory used (and ↵Marco Bodrato2015-05-151-1/+1
| | | | related updates)
* gmp-impl.h (mpn_invertappr_itch): reduce required memoryMarco Bodrato2015-05-091-1/+1
|
* Fix some spelling errors.Torbjorn Granlund2015-05-031-2/+2
|
* Make mpn_divexact_1 public.Niels M?ller2015-02-211-5/+0
|
* Make tmp_debug_entry_t::block of type void* so it compiles in C++.Marc Glisse2014-12-261-1/+1
|
* mpn/generic/remove.c: Use mp_srcptr for source operands.Marco Bodrato2014-09-011-1/+1
|
* gmp-impl.h (TMP_ALLOC_LIMBS_3): New macro to allocate 3 blocks.Marco Bodrato2014-09-011-2/+16
|
* Move MULLO THRESHOLDs to gmp-impl.h.Torbjorn Granlund2014-06-091-4/+16
|
* (TMP_ALLOC): Decrease limit to about half.Torbjorn Granlund2014-06-081-1/+2
|
* Include and rely on <limits.h>.Marc Glisse2014-05-291-39/+0
|
* Update library files license to use LGPL3+ and GPL2+.Torbjorn Granlund2014-01-271-7/+18
|
* Canonicalise copyright headers.Torbjorn Granlund2014-01-191-3/+3
|
* Get rid of BYTES_PER_MP_LIMB, most files affected.Torbjorn Granlund2014-01-191-4/+3
|
* Whitespace cleanup.Torbjorn Granlund2014-01-141-1/+1
|
* gmp-impl.h: Declare all _itch functions using ATTRIBUTE_CONST.Marco Bodrato2014-01-051-16/+16
|