[Gmp-commit] /home/hgfiles/gmp: Revert to version of 2010-05-06.

mercurial at gmplib.org mercurial at gmplib.org
Sat May 22 12:58:04 CEST 2010


details:   /home/hgfiles/gmp/rev/66c54a9eb379
changeset: 13643:66c54a9eb379
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat May 22 12:57:59 2010 +0200
description:
Revert to version of 2010-05-06.

diffstat:

 ChangeLog     |   4 ++++
 tune/tuneup.c |  10 +++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r cbfd10cbd865 -r 66c54a9eb379 ChangeLog
--- a/ChangeLog	Mon May 17 21:24:29 2010 +0200
+++ b/ChangeLog	Sat May 22 12:57:59 2010 +0200
@@ -1,3 +1,7 @@
+2010-05-22  Torbjorn Granlund  <tege at gmplib.org>
+
+	* tune/tuneup.c (tune_mod_1): Revert to version of 2010-05-06.
+
 2010-05-17  Torbjorn Granlund  <tege at gmplib.org>
 
 	* configure.in (ia64): Get 32-bit sizeof test right.
diff -r cbfd10cbd865 -r 66c54a9eb379 tune/tuneup.c
--- a/tune/tuneup.c	Mon May 17 21:24:29 2010 +0200
+++ b/tune/tuneup.c	Sat May 22 12:57:59 2010 +0200
@@ -1807,11 +1807,6 @@
 	one (&mod_1_1_to_mod_1_2_threshold, &param);
       }
 
-    if (mod_1u_to_mod_1_1_threshold >= mod_1_1_to_mod_1_2_threshold)
-      mod_1_1_to_mod_1_2_threshold = 0;
-    if (mod_1u_to_mod_1_1_threshold >= mod_1_2_to_mod_1_4_threshold)
-      mod_1_2_to_mod_1_4_threshold = 0;
-
     param.function = speed_mpn_mod_1_tune;
     param.function2 = NULL;
     param.name = "MOD_1U_TO_MOD_1_1_THRESHOLD";
@@ -1819,6 +1814,11 @@
     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)
+      mod_1_1_to_mod_1_2_threshold = 0;
+    if (mod_1u_to_mod_1_1_threshold >= mod_1_2_to_mod_1_4_threshold)
+      mod_1_2_to_mod_1_4_threshold = 0;
+
     print_define_remark ("MOD_1U_TO_MOD_1_1_THRESHOLD", mod_1u_to_mod_1_1_threshold, NULL);
     print_define_remark ("MOD_1_1_TO_MOD_1_2_THRESHOLD", mod_1_1_to_mod_1_2_threshold,
 			 mod_1_1_to_mod_1_2_threshold == 0 ? "never mpn_mod_1_1p" : NULL);


More information about the gmp-commit mailing list