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

mercurial at gmplib.org mercurial at gmplib.org
Mon Jan 31 10:01:47 CET 2011


details:   /home/hgfiles/gmp/rev/9e2c20f90953
changeset: 13798:9e2c20f90953
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jan 31 09:47:11 2011 +0100
description:
Retune.

details:   /home/hgfiles/gmp/rev/a262dc31c6d5
changeset: 13799:a262dc31c6d5
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jan 31 09:52:53 2011 +0100
description:
Retune.

details:   /home/hgfiles/gmp/rev/224480013ac6
changeset: 13800:224480013ac6
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jan 31 09:55:15 2011 +0100
description:
Retune.

details:   /home/hgfiles/gmp/rev/5a779ece9b8f
changeset: 13801:5a779ece9b8f
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jan 31 09:58:13 2011 +0100
description:
Retune.

details:   /home/hgfiles/gmp/rev/cfd488ba8f1d
changeset: 13802:cfd488ba8f1d
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jan 31 10:01:01 2011 +0100
description:
Retune.

diffstat:

 mpn/powerpc64/mode64/p6/gmp-mparam.h  |  18 ++++++++--------
 mpn/sparc64/ultrasparc34/gmp-mparam.h |  18 ++++++++--------
 mpn/x86/p6/sse2/gmp-mparam.h          |   8 +++---
 mpn/x86_64/atom/gmp-mparam.h          |  16 +++++++-------
 mpn/x86_64/core2/gmp-mparam.h         |  38 +++++++++++++++++-----------------
 5 files changed, 49 insertions(+), 49 deletions(-)

diffs (273 lines):

diff -r e8c40dbb74bc -r cfd488ba8f1d mpn/powerpc64/mode64/p6/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p6/gmp-mparam.h	Sun Jan 30 21:44:08 2011 +0100
+++ b/mpn/powerpc64/mode64/p6/gmp-mparam.h	Mon Jan 31 10:01:01 2011 +0100
@@ -45,12 +45,12 @@
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD      73
 #define MUL_TOOM42_TO_TOOM63_THRESHOLD      66
 
-#define SQR_BASECASE_THRESHOLD               9
+#define SQR_BASECASE_THRESHOLD              12
 #define SQR_TOOM2_THRESHOLD                 30
 #define SQR_TOOM3_THRESHOLD                 53
 #define SQR_TOOM4_THRESHOLD                148
 #define SQR_TOOM6_THRESHOLD                226
-#define SQR_TOOM8_THRESHOLD                430
+#define SQR_TOOM8_THRESHOLD                296
 
 #define MULMOD_BNM1_THRESHOLD               14
 #define SQRMOD_BNM1_THRESHOLD               14
@@ -105,14 +105,14 @@
 #define SQR_FFT_TABLE3_SIZE 80
 #define SQR_FFT_THRESHOLD                 2368
 
-#define MULLO_BASECASE_THRESHOLD             7
-#define MULLO_DC_THRESHOLD                  28
-#define MULLO_MUL_N_THRESHOLD             2742
+#define MULLO_BASECASE_THRESHOLD             8
+#define MULLO_DC_THRESHOLD                  31
+#define MULLO_MUL_N_THRESHOLD             6253
 
-#define DC_DIV_QR_THRESHOLD                 32
+#define DC_DIV_QR_THRESHOLD                 27
 #define DC_DIVAPPR_Q_THRESHOLD             112
 #define DC_BDIV_QR_THRESHOLD                29
-#define DC_BDIV_Q_THRESHOLD                 78
+#define DC_BDIV_Q_THRESHOLD                 86
 
 #define INV_MULMOD_BNM1_THRESHOLD           58
 #define INV_NEWTON_THRESHOLD                93
@@ -129,11 +129,11 @@
 
 #define MATRIX22_STRASSEN_THRESHOLD         13
 #define HGCD_THRESHOLD                      69
-#define GCD_DC_THRESHOLD                   400
+#define GCD_DC_THRESHOLD                   501
 #define GCDEXT_DC_THRESHOLD                201
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                17
 #define GET_STR_PRECOMPUTE_THRESHOLD        29
-#define SET_STR_DC_THRESHOLD               532
+#define SET_STR_DC_THRESHOLD               638
 #define SET_STR_PRECOMPUTE_THRESHOLD      1648
diff -r e8c40dbb74bc -r cfd488ba8f1d mpn/sparc64/ultrasparc34/gmp-mparam.h
--- a/mpn/sparc64/ultrasparc34/gmp-mparam.h	Sun Jan 30 21:44:08 2011 +0100
+++ b/mpn/sparc64/ultrasparc34/gmp-mparam.h	Mon Jan 31 10:01:01 2011 +0100
@@ -28,7 +28,7 @@
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */
 #define MOD_1N_TO_MOD_1_1_THRESHOLD      MP_SIZE_T_MAX  /* never */
-#define MOD_1U_TO_MOD_1_1_THRESHOLD         46
+#define MOD_1U_TO_MOD_1_1_THRESHOLD         38
 #define MOD_1_1_TO_MOD_1_2_THRESHOLD         0  /* never mpn_mod_1_1p */
 #define MOD_1_2_TO_MOD_1_4_THRESHOLD     MP_SIZE_T_MAX
 #define PREINV_MOD_1_TO_MOD_1_THRESHOLD  MP_SIZE_T_MAX  /* never */
@@ -55,7 +55,7 @@
 #define SQR_TOOM8_THRESHOLD                339
 
 #define MULMOD_BNM1_THRESHOLD               14
-#define SQRMOD_BNM1_THRESHOLD                9
+#define SQRMOD_BNM1_THRESHOLD               13
 
 #define MUL_FFT_MODF_THRESHOLD             212  /* k = 5 */
 #define MUL_FFT_TABLE3                                      \
@@ -158,7 +158,7 @@
 
 #define MULLO_BASECASE_THRESHOLD            26
 #define MULLO_DC_THRESHOLD                   0  /* never mpn_mullo_basecase */
-#define MULLO_MUL_N_THRESHOLD             4392
+#define MULLO_MUL_N_THRESHOLD             3791
 
 #define DC_DIV_QR_THRESHOLD                 16
 #define DC_DIVAPPR_Q_THRESHOLD              66
@@ -170,17 +170,17 @@
 #define INV_APPR_THRESHOLD                  17
 
 #define BINV_NEWTON_THRESHOLD              134
-#define REDC_1_TO_REDC_2_THRESHOLD          10
+#define REDC_1_TO_REDC_2_THRESHOLD           2
 #define REDC_2_TO_REDC_N_THRESHOLD         117
 
-#define MU_DIV_QR_THRESHOLD                748
-#define MU_DIVAPPR_Q_THRESHOLD             630
+#define MU_DIV_QR_THRESHOLD                618
+#define MU_DIVAPPR_Q_THRESHOLD             618
 #define MUPI_DIV_QR_THRESHOLD                0  /* always */
-#define MU_BDIV_QR_THRESHOLD               748
-#define MU_BDIV_Q_THRESHOLD                807
+#define MU_BDIV_QR_THRESHOLD               562
+#define MU_BDIV_Q_THRESHOLD                748
 
 #define MATRIX22_STRASSEN_THRESHOLD         12
-#define HGCD_THRESHOLD                      39
+#define HGCD_THRESHOLD                      46
 #define GCD_DC_THRESHOLD                   130
 #define GCDEXT_DC_THRESHOLD                134
 #define JACOBI_BASE_METHOD                   2
diff -r e8c40dbb74bc -r cfd488ba8f1d mpn/x86/p6/sse2/gmp-mparam.h
--- a/mpn/x86/p6/sse2/gmp-mparam.h	Sun Jan 30 21:44:08 2011 +0100
+++ b/mpn/x86/p6/sse2/gmp-mparam.h	Mon Jan 31 10:01:01 2011 +0100
@@ -57,7 +57,7 @@
 #define SQR_TOOM3_THRESHOLD                101
 #define SQR_TOOM4_THRESHOLD                154
 #define SQR_TOOM6_THRESHOLD                222
-#define SQR_TOOM8_THRESHOLD                333
+#define SQR_TOOM8_THRESHOLD                547
 
 #define MULMOD_BNM1_THRESHOLD               13
 #define SQRMOD_BNM1_THRESHOLD               17
@@ -144,7 +144,7 @@
 
 #define MULLO_BASECASE_THRESHOLD             0  /* always */
 #define MULLO_DC_THRESHOLD                  34
-#define MULLO_MUL_N_THRESHOLD             5558
+#define MULLO_MUL_N_THRESHOLD            13463
 
 #define DC_DIV_QR_THRESHOLD                 22
 #define DC_DIVAPPR_Q_THRESHOLD              56
@@ -160,7 +160,7 @@
 
 #define MU_DIV_QR_THRESHOLD               1142
 #define MU_DIVAPPR_Q_THRESHOLD             998
-#define MUPI_DIV_QR_THRESHOLD               39
+#define MUPI_DIV_QR_THRESHOLD                0
 #define MU_BDIV_QR_THRESHOLD              1308
 #define MU_BDIV_Q_THRESHOLD               1442
 
@@ -172,5 +172,5 @@
 
 #define GET_STR_DC_THRESHOLD                13
 #define GET_STR_PRECOMPUTE_THRESHOLD        20
-#define SET_STR_DC_THRESHOLD               587
+#define SET_STR_DC_THRESHOLD               662
 #define SET_STR_PRECOMPUTE_THRESHOLD      1104
diff -r e8c40dbb74bc -r cfd488ba8f1d mpn/x86_64/atom/gmp-mparam.h
--- a/mpn/x86_64/atom/gmp-mparam.h	Sun Jan 30 21:44:08 2011 +0100
+++ b/mpn/x86_64/atom/gmp-mparam.h	Mon Jan 31 10:01:01 2011 +0100
@@ -51,9 +51,9 @@
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 16
 #define SQR_TOOM3_THRESHOLD                 65
-#define SQR_TOOM4_THRESHOLD                 97
-#define SQR_TOOM6_THRESHOLD                127
-#define SQR_TOOM8_THRESHOLD                333
+#define SQR_TOOM4_THRESHOLD                169
+#define SQR_TOOM6_THRESHOLD                226
+#define SQR_TOOM8_THRESHOLD                363
 
 #define MULMOD_BNM1_THRESHOLD               10
 #define SQRMOD_BNM1_THRESHOLD               11
@@ -150,14 +150,14 @@
 
 #define MULLO_BASECASE_THRESHOLD             2
 #define MULLO_DC_THRESHOLD                  23
-#define MULLO_MUL_N_THRESHOLD             3176
+#define MULLO_MUL_N_THRESHOLD             1715
 
 #define DC_DIV_QR_THRESHOLD                 26
 #define DC_DIVAPPR_Q_THRESHOLD              93
 #define DC_BDIV_QR_THRESHOLD                27
 #define DC_BDIV_Q_THRESHOLD                 62
 
-#define INV_MULMOD_BNM1_THRESHOLD           26
+#define INV_MULMOD_BNM1_THRESHOLD           19
 #define INV_NEWTON_THRESHOLD               133
 #define INV_APPR_THRESHOLD                 108
 
@@ -171,10 +171,10 @@
 #define MU_BDIV_QR_THRESHOLD               654
 #define MU_BDIV_Q_THRESHOLD                792
 
-#define MATRIX22_STRASSEN_THRESHOLD         10
+#define MATRIX22_STRASSEN_THRESHOLD         13
 #define HGCD_THRESHOLD                      83
-#define GCD_DC_THRESHOLD                   198
-#define GCDEXT_DC_THRESHOLD                198
+#define GCD_DC_THRESHOLD                   249
+#define GCDEXT_DC_THRESHOLD                128
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                15
diff -r e8c40dbb74bc -r cfd488ba8f1d mpn/x86_64/core2/gmp-mparam.h
--- a/mpn/x86_64/core2/gmp-mparam.h	Sun Jan 30 21:44:08 2011 +0100
+++ b/mpn/x86_64/core2/gmp-mparam.h	Mon Jan 31 10:01:01 2011 +0100
@@ -26,9 +26,9 @@
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */
 #define MOD_1N_TO_MOD_1_1_THRESHOLD          5
-#define MOD_1U_TO_MOD_1_1_THRESHOLD          4
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD         5
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD         8
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          3
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD         7
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD        16
 #define PREINV_MOD_1_TO_MOD_1_THRESHOLD      9
 #define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
@@ -36,21 +36,21 @@
 
 #define MUL_TOOM22_THRESHOLD                23
 #define MUL_TOOM33_THRESHOLD                65
-#define MUL_TOOM44_THRESHOLD               106
+#define MUL_TOOM44_THRESHOLD               184
 #define MUL_TOOM6H_THRESHOLD               254
-#define MUL_TOOM8H_THRESHOLD               381
+#define MUL_TOOM8H_THRESHOLD               399
 
 #define MUL_TOOM32_TO_TOOM43_THRESHOLD      69
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD      76
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD     122
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD      73
 #define MUL_TOOM42_TO_TOOM63_THRESHOLD      74
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 26
-#define SQR_TOOM3_THRESHOLD                 85
-#define SQR_TOOM4_THRESHOLD                148
-#define SQR_TOOM6_THRESHOLD                318
-#define SQR_TOOM8_THRESHOLD                458
+#define SQR_TOOM3_THRESHOLD                101
+#define SQR_TOOM4_THRESHOLD                160
+#define SQR_TOOM6_THRESHOLD                253
+#define SQR_TOOM8_THRESHOLD                296
 
 #define MULMOD_BNM1_THRESHOLD               15
 #define SQRMOD_BNM1_THRESHOLD               15
@@ -153,16 +153,16 @@
 #define SQR_FFT_TABLE3_SIZE 178
 #define SQR_FFT_THRESHOLD                 2752
 
-#define MULLO_BASECASE_THRESHOLD             3
-#define MULLO_DC_THRESHOLD                  20
-#define MULLO_MUL_N_THRESHOLD             8648
+#define MULLO_BASECASE_THRESHOLD             4
+#define MULLO_DC_THRESHOLD                  13
+#define MULLO_MUL_N_THRESHOLD             9449
 
 #define DC_DIV_QR_THRESHOLD                 52
-#define DC_DIVAPPR_Q_THRESHOLD             167
+#define DC_DIVAPPR_Q_THRESHOLD             182
 #define DC_BDIV_QR_THRESHOLD                57
 #define DC_BDIV_Q_THRESHOLD                156
 
-#define INV_MULMOD_BNM1_THRESHOLD           50
+#define INV_MULMOD_BNM1_THRESHOLD           57
 #define INV_NEWTON_THRESHOLD               172
 #define INV_APPR_THRESHOLD                 173
 
@@ -178,11 +178,11 @@
 
 #define MATRIX22_STRASSEN_THRESHOLD         18
 #define HGCD_THRESHOLD                     138
-#define GCD_DC_THRESHOLD                   330
+#define GCD_DC_THRESHOLD                   416
 #define GCDEXT_DC_THRESHOLD                365
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                12
-#define GET_STR_PRECOMPUTE_THRESHOLD        20
-#define SET_STR_DC_THRESHOLD               552
-#define SET_STR_PRECOMPUTE_THRESHOLD      1655
+#define GET_STR_PRECOMPUTE_THRESHOLD        23
+#define SET_STR_DC_THRESHOLD               134
+#define SET_STR_PRECOMPUTE_THRESHOLD      2172


More information about the gmp-commit mailing list