[Gmp-commit] /home/hgfiles/gmp: Call tune_mulmod_bnm1 before tuning fft.

mercurial at gmplib.org mercurial at gmplib.org
Mon Dec 21 16:52:26 CET 2009


details:   /home/hgfiles/gmp/rev/ca8735ffba47
changeset: 13161:ca8735ffba47
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Dec 21 16:52:23 2009 +0100
description:
Call tune_mulmod_bnm1 before tuning fft.

diffstat:

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

diffs (37 lines):

diff -r bf7dcecefbac -r ca8735ffba47 ChangeLog
--- a/ChangeLog	Mon Dec 21 16:43:19 2009 +0100
+++ b/ChangeLog	Mon Dec 21 16:52:23 2009 +0100
@@ -1,7 +1,7 @@
 2009-12-21  Torbjorn Granlund  <tege at gmplib.org>
 
-	* tune/tuneup.c (all): Call tune_mullo after tune_mulmod_bnm1 due to
-	dependency.
+	* tune/tuneup.c (all): Call tune_mulmod_bnm1 before tuning fft due to
+	dependency on mulmod_bnm1 from both mul_fft_mul and from mullo_n.
 
 	* mpn/generic/dcpi1_divappr_q.c: Add parameter ASSERTs.
 	* mpn/generic/dcpi1_div_q.c: Likewise.
diff -r bf7dcecefbac -r ca8735ffba47 tune/tuneup.c
--- a/tune/tuneup.c	Mon Dec 21 16:43:19 2009 +0100
+++ b/tune/tuneup.c	Mon Dec 21 16:52:23 2009 +0100
@@ -1966,16 +1966,16 @@
   tune_sqr_n ();
   printf("\n");
 
+  tune_mulmod_bnm1 ();
+  tune_sqrmod_bnm1 ();
+  printf("\n");
+
   tune_fft_mul ();
   printf("\n");
 
   tune_fft_sqr ();
   printf ("\n");
 
-  tune_mulmod_bnm1 ();
-  tune_sqrmod_bnm1 ();
-  printf("\n");
-
   tune_mullo ();
   printf("\n");
 


More information about the gmp-commit mailing list