[Gmp-commit] /home/hgfiles/gmp: Undo unintensional change to tuning of PREINV...

mercurial at gmplib.org mercurial at gmplib.org
Mon May 17 17:07:35 CEST 2010


details:   /home/hgfiles/gmp/rev/7d8c4cd07f20
changeset: 13641:7d8c4cd07f20
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon May 17 17:07:30 2010 +0200
description:
Undo unintensional change to tuning of PREINV_MOD_1_TO_MOD_1_THRESHOLD.

diffstat:

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

diffs (24 lines):

diff -r 8211734e5ef1 -r 7d8c4cd07f20 ChangeLog
--- a/ChangeLog	Sun May 16 09:14:05 2010 +0200
+++ b/ChangeLog	Mon May 17 17:07:30 2010 +0200
@@ -1,3 +1,8 @@
+2010-05-17  Torbjorn Granlund  <tege at gmplib.org>
+
+	* tune/tuneup.c (tune_mod_1): Undo unintensional change to tuning of
+	PREINV_MOD_1_TO_MOD_1_THRESHOLD.
+
 2010-05-16  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/sparc64/mod_1.c: Rewrite.
diff -r 8211734e5ef1 -r 7d8c4cd07f20 tune/tuneup.c
--- a/tune/tuneup.c	Sun May 16 09:14:05 2010 +0200
+++ b/tune/tuneup.c	Mon May 17 17:07:30 2010 +0200
@@ -1832,7 +1832,7 @@
     param.check_size = 256;
 
     param.name = "PREINV_MOD_1_TO_MOD_1_THRESHOLD";
-    s.r = randlimb_half ();
+    s.r = randlimb_norm ();
     param.function = speed_mpn_preinv_mod_1;
     param.function2 = speed_mpn_mod_1_tune;
     param.min_size = 1;


More information about the gmp-commit mailing list