[Gmp-commit] /var/hg/gmp: Retune.

mercurial at gmplib.org mercurial at gmplib.org
Fri Feb 25 09:29:45 CET 2011


details:   /var/hg/gmp/rev/1ed1c23ef34f
changeset: 13903:1ed1c23ef34f
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Feb 25 09:07:46 2011 +0100
description:
Retune.

diffstat:

 mpn/x86/k7/gmp-mparam.h |  30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diffs (65 lines):

diff -r da1687a85434 -r 1ed1c23ef34f mpn/x86/k7/gmp-mparam.h
--- a/mpn/x86/k7/gmp-mparam.h	Thu Feb 24 23:33:36 2011 +0100
+++ b/mpn/x86/k7/gmp-mparam.h	Fri Feb 25 09:07:46 2011 +0100
@@ -23,21 +23,21 @@
 
 
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
-#define MOD_1_UNNORM_THRESHOLD               4
-#define MOD_1N_TO_MOD_1_1_THRESHOLD         14
-#define MOD_1U_TO_MOD_1_1_THRESHOLD          6
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD         0
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD        20
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     26
+#define MOD_1_UNNORM_THRESHOLD               3
+#define MOD_1N_TO_MOD_1_1_THRESHOLD          9
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          4
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD        20
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD         0  /* never mpn_mod_1s_2p */
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     14
 #define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
-#define BMOD_1_TO_MOD_1_THRESHOLD           28
+#define BMOD_1_TO_MOD_1_THRESHOLD           26
 
 #define MUL_TOOM22_THRESHOLD                28
 #define MUL_TOOM33_THRESHOLD                85
 #define MUL_TOOM44_THRESHOLD               148
-#define MUL_TOOM6H_THRESHOLD               204
-#define MUL_TOOM8H_THRESHOLD               309
+#define MUL_TOOM6H_THRESHOLD               238
+#define MUL_TOOM8H_THRESHOLD               454
 
 #define MUL_TOOM32_TO_TOOM43_THRESHOLD      85
 #define MUL_TOOM32_TO_TOOM53_THRESHOLD      99
@@ -47,7 +47,7 @@
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 50
 #define SQR_TOOM3_THRESHOLD                 87
-#define SQR_TOOM4_THRESHOLD                208
+#define SQR_TOOM4_THRESHOLD                148
 #define SQR_TOOM6_THRESHOLD                306
 #define SQR_TOOM8_THRESHOLD                430
 
@@ -151,16 +151,16 @@
 #define SQR_FFT_TABLE3_SIZE 177
 #define SQR_FFT_THRESHOLD                 7552
 
-#define MULLO_BASECASE_THRESHOLD            10
-#define MULLO_DC_THRESHOLD                  50
+#define MULLO_BASECASE_THRESHOLD             8
+#define MULLO_DC_THRESHOLD                  42
 #define MULLO_MUL_N_THRESHOLD            13463
 
-#define DC_DIV_QR_THRESHOLD                 60
+#define DC_DIV_QR_THRESHOLD                 94
 #define DC_DIVAPPR_Q_THRESHOLD             333
-#define DC_BDIV_QR_THRESHOLD                82
+#define DC_BDIV_QR_THRESHOLD                91
 #define DC_BDIV_Q_THRESHOLD                268
 
-#define INV_MULMOD_BNM1_THRESHOLD           54
+#define INV_MULMOD_BNM1_THRESHOLD           66
 #define INV_NEWTON_THRESHOLD               300
 #define INV_APPR_THRESHOLD                 303
 


More information about the gmp-commit mailing list