[Gmp-commit] /var/hg/gmp: (tune_sqrlo): For SQRLO_BASECASE_THRESHOLD start at 2.

mercurial at gmplib.org mercurial at gmplib.org
Sun Jul 2 00:10:13 UTC 2017


details:   /var/hg/gmp/rev/fa74aabc7243
changeset: 17462:fa74aabc7243
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Jul 02 02:10:08 2017 +0200
description:
(tune_sqrlo): For SQRLO_BASECASE_THRESHOLD start at 2.

diffstat:

 tune/tuneup.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 9da8eb391ba4 -r fa74aabc7243 tune/tuneup.c
--- a/tune/tuneup.c	Sun Jul 02 02:08:46 2017 +0200
+++ b/tune/tuneup.c	Sun Jul 02 02:10:08 2017 +0200
@@ -1454,7 +1454,7 @@
   param.function = speed_mpn_sqrlo;
 
   param.name = "SQRLO_BASECASE_THRESHOLD";
-  param.min_size = 1;
+  param.min_size = 2;
   param.min_is_always = 1;
   param.max_size = SQRLO_BASECASE_THRESHOLD_LIMIT-1;
   param.stop_factor = 1.5;


More information about the gmp-commit mailing list