[Gmp-commit] /home/hgfiles/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Tue Feb 1 10:19:07 CET 2011


details:   /home/hgfiles/gmp/rev/7cd333d7f232
changeset: 13812:7cd333d7f232
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Feb 01 10:15:23 2011 +0100
description:
Retune.

details:   /home/hgfiles/gmp/rev/e91f940edcd0
changeset: 13813:e91f940edcd0
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Feb 01 10:17:33 2011 +0100
description:
Retune.

diffstat:

 mpn/x86/atom/gmp-mparam.h        |  28 ++++++++++++++--------------
 mpn/x86_64/pentium4/gmp-mparam.h |  12 ++++++------
 2 files changed, 20 insertions(+), 20 deletions(-)

diffs (111 lines):

diff -r 7cea65ea64fc -r e91f940edcd0 mpn/x86/atom/gmp-mparam.h
--- a/mpn/x86/atom/gmp-mparam.h	Tue Feb 01 10:09:26 2011 +0100
+++ b/mpn/x86/atom/gmp-mparam.h	Tue Feb 01 10:17:33 2011 +0100
@@ -24,15 +24,15 @@
 /* Generated by tuneup.c */
 
 #define MOD_1_NORM_THRESHOLD                 3
-#define MOD_1_UNNORM_THRESHOLD               6
-#define MOD_1N_TO_MOD_1_1_THRESHOLD         29
-#define MOD_1U_TO_MOD_1_1_THRESHOLD          7
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD         8
+#define MOD_1_UNNORM_THRESHOLD              10
+#define MOD_1N_TO_MOD_1_1_THRESHOLD         55
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          9
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD         0
 #define MOD_1_2_TO_MOD_1_4_THRESHOLD        15
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     37
-#define USE_PREINV_DIVREM_1                  1
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD  MP_SIZE_T_MAX  /* never */
+#define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
-#define BMOD_1_TO_MOD_1_THRESHOLD          128
+#define BMOD_1_TO_MOD_1_THRESHOLD        MP_SIZE_T_MAX  /* never */
 
 #define MUL_TOOM22_THRESHOLD                18
 #define MUL_TOOM33_THRESHOLD                69
@@ -40,10 +40,10 @@
 #define MUL_TOOM6H_THRESHOLD               254
 #define MUL_TOOM8H_THRESHOLD               357
 
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD     107
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD     122
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD      73
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD      85
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD     105
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD     121
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD      58
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 34
@@ -53,7 +53,7 @@
 #define SQR_TOOM8_THRESHOLD                357
 
 #define MULMOD_BNM1_THRESHOLD               16
-#define SQRMOD_BNM1_THRESHOLD               16
+#define SQRMOD_BNM1_THRESHOLD                7
 
 #define MUL_FFT_MODF_THRESHOLD             380  /* k = 5 */
 #define MUL_FFT_TABLE3                                      \
@@ -126,10 +126,10 @@
 #define DC_BDIV_Q_THRESHOLD                 77
 
 #define INV_MULMOD_BNM1_THRESHOLD           34
-#define INV_NEWTON_THRESHOLD               107
+#define INV_NEWTON_THRESHOLD               139
 #define INV_APPR_THRESHOLD                 102
 
-#define BINV_NEWTON_THRESHOLD              148
+#define BINV_NEWTON_THRESHOLD              162
 #define REDC_1_TO_REDC_N_THRESHOLD          40
 
 #define MU_DIV_QR_THRESHOLD               1142
@@ -146,5 +146,5 @@
 
 #define GET_STR_DC_THRESHOLD                17
 #define GET_STR_PRECOMPUTE_THRESHOLD        28
-#define SET_STR_DC_THRESHOLD               668
+#define SET_STR_DC_THRESHOLD               704
 #define SET_STR_PRECOMPUTE_THRESHOLD      1362
diff -r 7cea65ea64fc -r e91f940edcd0 mpn/x86_64/pentium4/gmp-mparam.h
--- a/mpn/x86_64/pentium4/gmp-mparam.h	Tue Feb 01 10:09:26 2011 +0100
+++ b/mpn/x86_64/pentium4/gmp-mparam.h	Tue Feb 01 10:17:33 2011 +0100
@@ -47,7 +47,7 @@
 #define MUL_TOOM6H_THRESHOLD               157
 #define MUL_TOOM8H_THRESHOLD               242
 
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD     129
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD      81
 #define MUL_TOOM32_TO_TOOM53_THRESHOLD     138
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD      81
 #define MUL_TOOM42_TO_TOOM63_THRESHOLD      80
@@ -117,11 +117,11 @@
 #define SQR_FFT_THRESHOLD                 2240
 
 #define MULLO_BASECASE_THRESHOLD             0  /* always */
-#define MULLO_DC_THRESHOLD                  34
-#define MULLO_MUL_N_THRESHOLD             5558
+#define MULLO_DC_THRESHOLD                  31
+#define MULLO_MUL_N_THRESHOLD             6253
 
 #define DC_DIV_QR_THRESHOLD                 32
-#define DC_DIVAPPR_Q_THRESHOLD              67
+#define DC_DIVAPPR_Q_THRESHOLD              60
 #define DC_BDIV_QR_THRESHOLD                30
 #define DC_BDIV_Q_THRESHOLD                 51
 
@@ -130,12 +130,12 @@
 #define INV_APPR_THRESHOLD                 107
 
 #define BINV_NEWTON_THRESHOLD              198
-#define REDC_1_TO_REDC_2_THRESHOLD          18
+#define REDC_1_TO_REDC_2_THRESHOLD          40
 #define REDC_2_TO_REDC_N_THRESHOLD          48
 
 #define MU_DIV_QR_THRESHOLD               1078
 #define MU_DIVAPPR_Q_THRESHOLD            1078
-#define MUPI_DIV_QR_THRESHOLD               85
+#define MUPI_DIV_QR_THRESHOLD               98
 #define MU_BDIV_QR_THRESHOLD               807
 #define MU_BDIV_Q_THRESHOLD                942
 


More information about the gmp-commit mailing list