summaryrefslogtreecommitdiff
path: root/tune/speed.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright yearsMarco Bodrato2022-02-211-1/+1
|
* tune/: tune/speed support for mpn_{mul,sqr}mod_bknp1Marco Bodrato2022-02-151-0/+5
|
* tune/speed.c: Add FLAG_NODATA for gmp_primesieveMarco Bodrato2022-01-121-1/+1
|
* Copyright yearsMarco Bodrato2021-11-071-1/+1
|
* Add speed support for gmp_primesieve.Marco Bodrato2021-10-141-0/+1
|
* Add speed support for mpn_addaddmul_1msb0.Niels Möller2021-10-071-0/+3
| | | | | | * tune/speed.h (SPEED_ROUTINE_MPN_ADDADDMUL1_MSB0): New macro. * tune/common.c (speed_mpn_addaddmul_1msb0): New function. * tune/speed.c (routine): Add mpn_addaddmul_1msb0 to list.
* New mpn_div_qr_1n_pi1 variants, DIV_QR_1N_METHOD 3 and 4.Niels Möller2021-07-011-0/+2
| | | | Not enabled, but hooked into the speed and tuneup programs.
* tune: Add support for the function mpz_prevprime() to tune/speed (by Troisi)Marco Bodrato2020-11-231-0/+2
|
* (main): Cast printf args to right type.Torbjorn Granlund2020-11-191-1/+1
|
* tune: New mesurable speed, mpz_nextprime_1.Marco Bodrato2020-03-201-0/+1
|
* tune/speed.c (routine): Add mpn_hgcd2_[45].Marco Bodrato2019-12-201-0/+2
|
* tune: Small optimisations to recent changes.Marco Bodrato2019-11-161-1/+1
|
* tune/: tune/speed support for mpz_nextprime (by Seth Troisi)Marco Bodrato2019-11-161-0/+3
|
* tune/: tune/speed support for mpn_perfect_{power,square}_p (by Seth Troisi)Marco Bodrato2019-11-161-0/+3
|
* tune/speed*: add optional r flag for mpz_powmMarco Bodrato2019-11-091-1/+1
|
* For hgcd2, add a div1 function handling q <= 7 specially.Niels M?ller2019-09-051-0/+1
| | | | | | | | | | | | | | * mpn/generic/hgcd2.c (div1): Return both r and q as a mp_double_limb_t, replacing the DIV1 macro. (div1) [HGCD2_METHOD == 3]: New implementation handling q <= 7 specially and without branches. Based on Torbj?rn's mail to the gmp-devel list. * tune/speed.c, tune/speed.h, tune/common.c, tune/Makefile.am: Add corresponding speed support. * tune/hgcd2-3.c: New file. * tune/tuneup.c (print_define_with_speedup): New function, to output a comment with speedup compared to next-best method. (tune_hgcd2): Update tuning.
* Tuneup support for HGCD2_METHOD, controlling div1 usage in mpn_hgcd2.Niels M?ller2019-09-041-0/+2
| | | | | | | | | | | * mpn/generic/hgcd2.c (HGCD2_METHOD): New parameter. (DIV1): New macro, using either the div1 function or plain division, depending on the value of HGCD2_METHOD. (mpn_hgcd2): Use DIV1. * tune/speed.c, tune/speed.h, tune/common.c, tune/Makefile.am: Add measuring of mpn_hgcd2 methods. * tune/hgcd2-1.c, tune/hgcd2-2.c: New files. * tune/tuneup.c: Tune HGCD2_METHOD.
* Speed support for mpn_hgcd2.Niels M?ller2019-09-041-0/+1
| | | | | | * tune/speed.h (SPEED_ROUTINE_MPN_HGCD2): New macro. * tune/common.c (speed_mpn_hgcd2): New function. * tune/speed.c (routine): Add mpn_hgcd2.
* Speed support for gcd_22.Niels M?ller2019-08-161-0/+1
| | | | | | | Calls mpn_gcd_22(al, al, bl, bl), so that B+1 is a common factor. * tune/speed.h (SPEED_ROUTINE_MPN_GCD_22): New macro. * tune/speed.c (routine): Add mpn_gcd_22. * tune/common.c (speed_mpn_gcd_22): New function.
* tune/speed: Support mpn_gcd_11.Niels M?ller2019-08-061-0/+1
|
* Copyright yearsMarco Bodrato2018-05-161-1/+1
|
* tune/speed.c (run_gnuplot): Set termoption, as suggested by Paul.Marco Bodrato2018-03-181-0/+3
|
* Measure mpn_sbpi1_bdiv_r.Torbjorn Granlund2017-07-211-0/+1
|
* tune/: support mpz_invertMarco Bodrato2016-12-301-0/+1
|
* tune/speed: support mpz_mfac_uiuiMarco Bodrato2016-12-281-1/+2
|
* Include just gmp-impl.h, make gmp-impl.h grab gmp.h.Torbjorn Granlund2016-08-291-1/+0
|
* tune/speed: Support mpz_primorial_ui.Marco Bodrato2015-11-221-0/+1
|
* tune: Support mpn_sqrlo and mpn_sqrlo_basecase in tune/speed.Marco Bodrato2015-08-061-0/+2
|
* Remove now redundant MPN_FILL.Torbjorn Granlund2015-07-161-9/+0
|
* Measure mpn_sqrtrem and mpn_rootrem in remainder-less mode.Torbjorn Granlund2015-06-011-0/+2
|
* tune: support mpn_neg, mpn_{add,sub}_1{,_inplace}, mpz_2fac_uiMarco Bodrato2015-04-261-1/+7
|
* Update library files license to use LGPL3+ and GPL2+.Torbjorn Granlund2014-01-271-7/+18
|
* Canonicalise copyright headers.Torbjorn Granlund2014-01-191-3/+3
|
* Rename mpn_sec_minvert => mpn_sec_invert, many files affected.Torbjorn Granlund2014-01-191-1/+1
|
* speed support for mpn_sec_minvert.Niels M?ller2014-01-161-0/+1
|
* Rename mpn_blah_sec to mpn_sec_blah.Torbjorn Granlund2013-12-261-1/+1
|
* Use https to link to GNU license.Torbjorn Granlund2013-12-021-1/+1
|
* Collapse copyright years.Torbjorn Granlund2013-11-281-2/+1
|
* Implemented tuning of mpn_div_qr_1.Niels M?ller2013-10-201-2/+4
|
* speed support for mpn_div_qr_1.Niels M?ller2013-10-201-0/+3
|
* Make tune/speed work when addlsh1_n etc are macros.David S. Miller2013-05-041-6/+6
|
* Renaming of mpn_addcnd_n and mpn_subcnd_n to mpn_cnd_*.Niels M?ller2013-03-131-2/+2
|
* Add copyright years.Torbjorn Granlund2012-11-201-1/+1
|
* Whitespace cleanup.Torbjorn Granlund2012-11-171-1/+1
|
* Benchmarking of broot functions.Niels M?ller2012-10-311-0/+4
|
* tune: Support mpz_bin_ui.Marco Bodrato2012-04-221-0/+1
|
* Clean out __GMP_PROTO.Torbjorn Granlund2012-03-031-5/+0
|
* Add speed measurement for mpn_tabselect.Torbjorn Granlund2011-11-171-1/+2
|
* speed support for mpn_hgcd_appr_lehmer.Niels Möller2011-11-151-0/+1
|
* Tuning of mpn_hgcd_appr and mpn_hgcd_reduce.Niels Möller2011-11-111-0/+4
|