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

mercurial at gmplib.org mercurial at gmplib.org
Tue Dec 1 14:24:45 CET 2009


details:   /home/hgfiles/gmp/rev/b70067137ee3
changeset: 12945:b70067137ee3
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Dec 01 14:24:42 2009 +0100
description:
Fix typo in last change.

diffstat:

 ChangeLog    |  5 +++++
 tune/speed.c |  2 +-
 tune/speed.h |  2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r cac1b60a3004 -r b70067137ee3 ChangeLog
--- a/ChangeLog	Tue Dec 01 12:46:28 2009 +0100
+++ b/ChangeLog	Tue Dec 01 14:24:42 2009 +0100
@@ -1,3 +1,8 @@
+2009-12-01  Torbjorn Granlund  <tege at gmplib.org>
+
+	* tune/speed.c: Fix typo in last change.
+	* tune/speed.h (SPEED_ROUTINE_REDC_N): Set min size properly.
+
 2009-12-01  Niels Möller  <nisse at lysator.liu.se>
 
 	* tune/speed.c (routine): Added mpn_toom42_mul and mpn_redc_n.
diff -r cac1b60a3004 -r b70067137ee3 tune/speed.c
--- a/tune/speed.c	Tue Dec 01 12:46:28 2009 +0100
+++ b/tune/speed.c	Tue Dec 01 14:24:42 2009 +0100
@@ -334,7 +334,7 @@
 
   { "mpz_mod",           speed_mpz_mod              },
   { "mpn_redc_1",        speed_mpn_redc_1           },
-  { "mpn_redc_n",        speed_mpn_redc_2           },
+  { "mpn_redc_n",        speed_mpn_redc_n           },
 
   { "MPN_COPY",          speed_MPN_COPY             },
   { "MPN_COPY_INCR",     speed_MPN_COPY_INCR        },
diff -r cac1b60a3004 -r b70067137ee3 tune/speed.h
--- a/tune/speed.h	Tue Dec 01 12:46:28 2009 +0100
+++ b/tune/speed.h	Tue Dec 01 14:24:42 2009 +0100
@@ -1388,7 +1388,7 @@
     double     t;							\
     TMP_DECL;								\
 									\
-    SPEED_RESTRICT_COND (s->size >= 1);					\
+    SPEED_RESTRICT_COND (s->size > 8);					\
 									\
     TMP_MARK;								\
     SPEED_TMP_ALLOC_LIMBS (ap, 2*s->size+1, s->align_xp);		\


More information about the gmp-commit mailing list