[Gmp-commit] /var/hg/gmp: Measure POWM_SEC_TABLE after the REDC thresholds.

mercurial at gmplib.org mercurial at gmplib.org
Fri May 4 23:09:32 CEST 2012


details:   /var/hg/gmp/rev/df6a9af003fe
changeset: 14939:df6a9af003fe
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri May 04 23:09:27 2012 +0200
description:
Measure POWM_SEC_TABLE after the REDC thresholds.

diffstat:

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

diffs (36 lines):

diff -r 82526cbe462f -r df6a9af003fe ChangeLog
--- a/ChangeLog	Thu May 03 21:09:35 2012 +0200
+++ b/ChangeLog	Fri May 04 23:09:27 2012 +0200
@@ -1,3 +1,7 @@
+2012-05-04  Torbjorn Granlund  <tege at gmplib.org>
+
+	* tune/tuneup.c: Measure POWM_SEC_TABLE after the REDC thresholds.
+
 2012-05-03  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/generic/powm_sec.c: Use redc_2.
diff -r 82526cbe462f -r df6a9af003fe tune/tuneup.c
--- a/tune/tuneup.c	Thu May 03 21:09:35 2012 +0200
+++ b/tune/tuneup.c	Fri May 04 23:09:27 2012 +0200
@@ -2746,11 +2746,6 @@
   tune_sqrmod_bnm1 ();
   printf("\n");
 
-#if 1
-  tune_powm_sec ();
-  printf("\n");
-#endif
-
   tune_fft_mul ();
   printf("\n");
 
@@ -2776,6 +2771,9 @@
   tune_mu_bdiv ();
   printf("\n");
 
+  tune_powm_sec ();
+  printf("\n");
+
   tune_matrix22_mul ();
   tune_hgcd ();
   tune_hgcd_appr ();


More information about the gmp-commit mailing list