[Gmp-commit] /home/hgfiles/gmp: Retune, now with up-to-date measurements.

mercurial at gmplib.org mercurial at gmplib.org
Tue Dec 22 14:15:39 CET 2009


details:   /home/hgfiles/gmp/rev/6eb2023eb8f4
changeset: 13185:6eb2023eb8f4
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Dec 22 14:15:35 2009 +0100
description:
Retune, now with up-to-date measurements.

diffstat:

 mpn/powerpc32/750/gmp-mparam.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r b0d76a585d30 -r 6eb2023eb8f4 mpn/powerpc32/750/gmp-mparam.h
--- a/mpn/powerpc32/750/gmp-mparam.h	Tue Dec 22 13:51:52 2009 +0100
+++ b/mpn/powerpc32/750/gmp-mparam.h	Tue Dec 22 14:15:35 2009 +0100
@@ -32,7 +32,7 @@
 
 #define MUL_TOOM32_TO_TOOM43_THRESHOLD     65
 #define MUL_TOOM32_TO_TOOM53_THRESHOLD     69
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD     65
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD     65
 #define MUL_TOOM42_TO_TOOM63_THRESHOLD     66
 
 #define SQR_BASECASE_THRESHOLD              4
@@ -40,6 +40,9 @@
 #define SQR_TOOM3_THRESHOLD                57
 #define SQR_TOOM4_THRESHOLD                88
 
+#define MULMOD_BNM1_THRESHOLD               9
+#define SQRMOD_BNM1_THRESHOLD              12
+
 #define MUL_FFT_TABLE  { 240, 672, 896, 2560, 6144, 40960, 98304, 393216, 0 }
 #define MUL_FFT_MODF_THRESHOLD            232
 #define MUL_FFT_THRESHOLD                2816
@@ -50,10 +53,7 @@
 
 #define MULLO_BASECASE_THRESHOLD            0  /* always */
 #define MULLO_DC_THRESHOLD                 34
-#define MULLO_MUL_N_THRESHOLD            5472
-
-#define MULMOD_BNM1_THRESHOLD               9
-#define SQRMOD_BNM1_THRESHOLD              12
+#define MULLO_MUL_N_THRESHOLD            2972
 
 #define DC_DIV_QR_THRESHOLD                31
 #define DC_DIVAPPR_Q_THRESHOLD            119


More information about the gmp-commit mailing list