[Gmp-commit] /home/hgfiles/gmp: Add a check_size for PREINV_MOD_1_TO_MOD_1_TH...

mercurial at gmplib.org mercurial at gmplib.org
Fri Dec 25 00:37:45 CET 2009


details:   /home/hgfiles/gmp/rev/407cbfda4591
changeset: 13217:407cbfda4591
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Dec 25 00:37:43 2009 +0100
description:
Add a check_size for PREINV_MOD_1_TO_MOD_1_THRESHOLD.

diffstat:

 ChangeLog     |  5 +++++
 tune/tuneup.c |  2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diffs (24 lines):

diff -r 7443ba3eacc7 -r 407cbfda4591 ChangeLog
--- a/ChangeLog	Thu Dec 24 23:42:19 2009 +0100
+++ b/ChangeLog	Fri Dec 25 00:37:43 2009 +0100
@@ -1,3 +1,8 @@
+2009-12-25  Torbjorn Granlund  <tege at gmplib.org>
+
+	* tune/tuneup.c (tune_mod_1): Add a check_size for
+	PREINV_MOD_1_TO_MOD_1_THRESHOLD.
+
 2009-12-24  Torbjorn Granlund  <tege at gmplib.org>
 
 	* tune/mod_1_div.c (MOD_1N_TO_MOD_1_1_THRESHOLD,
diff -r 7443ba3eacc7 -r 407cbfda4591 tune/tuneup.c
--- a/tune/tuneup.c	Thu Dec 24 23:42:19 2009 +0100
+++ b/tune/tuneup.c	Fri Dec 25 00:37:43 2009 +0100
@@ -1434,6 +1434,8 @@
   {
     static struct param_t  param;
 
+    param.check_size = 256;
+
     param.name = "PREINV_MOD_1_TO_MOD_1_THRESHOLD";
     s.r = randlimb_norm ();
     param.function = speed_mpn_preinv_mod_1;


More information about the gmp-commit mailing list