[Gmp-commit] /home/hgfiles/gmp: Fix typo.

mercurial at gmplib.org mercurial at gmplib.org
Tue May 4 22:45:48 CEST 2010


details:   /home/hgfiles/gmp/rev/a83822b0dcb5
changeset: 13600:a83822b0dcb5
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue May 04 22:45:44 2010 +0200
description:
Fix typo.

diffstat:

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

diffs (39 lines):

diff -r 1dc475969837 -r a83822b0dcb5 ChangeLog
--- a/ChangeLog	Tue May 04 10:33:40 2010 +0200
+++ b/ChangeLog	Tue May 04 22:45:44 2010 +0200
@@ -1,5 +1,7 @@
 2010-05-04  Torbjorn Granlund  <tege at gmplib.org>
 
+	* tune/tuneup.c (tune_mod_1): Fix typo.
+
 	* mpn/generic/mod_1_1.c: Undo last change.
 	* mpn/x86_64/mod_1_1.asm: Likewise.
 
diff -r 1dc475969837 -r a83822b0dcb5 tune/tuneup.c
--- a/tune/tuneup.c	Tue May 04 10:33:40 2010 +0200
+++ b/tune/tuneup.c	Tue May 04 22:45:44 2010 +0200
@@ -1797,21 +1797,21 @@
     if (mod_1_1_to_mod_1_2_threshold >= mod_1_2_to_mod_1_4_threshold)
       {
 	/* Never use mod_1_2, measure mod_1_1 -> mod_1_4 */
-	mod_1_1_to_mod_1_2_threshold = 0;
+	mod_1_2_to_mod_1_4_threshold = 0;
 
 	param.function = speed_mpn_mod_1_1;
 	param.function2 = speed_mpn_mod_1_4;
 	param.min_is_always = 1;
 	param.name = "MOD_1_1_TO_MOD_1_4_THRESHOLD fake";
 	param.min_size = 2;
-	one (&mod_1_2_to_mod_1_4_threshold, &param);
+	one (&mod_1_1_to_mod_1_2_threshold, &param);
       }
 
     param.function = speed_mpn_mod_1_tune;
     param.function2 = NULL;
-
     param.name = "MOD_1U_TO_MOD_1_1_THRESHOLD";
     param.min_size = 2;
+    param.min_is_always = 0;
     one (&mod_1u_to_mod_1_1_threshold, &param);
 
     if (mod_1u_to_mod_1_1_threshold >= mod_1_1_to_mod_1_2_threshold)


More information about the gmp-commit mailing list