[Gmp-commit] /var/hg/gmp: 6 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Tue Mar 1 23:37:16 CET 2011


details:   /var/hg/gmp/rev/f768365f66f0
changeset: 13972:f768365f66f0
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:25:05 2011 +0100
description:
Retune.

details:   /var/hg/gmp/rev/9be647f6ef30
changeset: 13973:9be647f6ef30
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:27:29 2011 +0100
description:
Retune.

details:   /var/hg/gmp/rev/7248a087471a
changeset: 13974:7248a087471a
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:30:07 2011 +0100
description:
Retune.

details:   /var/hg/gmp/rev/99b611798806
changeset: 13975:99b611798806
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:31:32 2011 +0100
description:
Retune.

details:   /var/hg/gmp/rev/f3a7e3016337
changeset: 13976:f3a7e3016337
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:33:33 2011 +0100
description:
Retune.

details:   /var/hg/gmp/rev/929522b3bc5c
changeset: 13977:929522b3bc5c
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:34:56 2011 +0100
description:
Retune.

diffstat:

 mpn/pa64/gmp-mparam.h                |   4 +-
 mpn/powerpc64/mode64/p4/gmp-mparam.h |  52 ++++++++++++++++++------------------
 mpn/powerpc64/mode64/p5/gmp-mparam.h |  22 +++++++-------
 mpn/powerpc64/mode64/p6/gmp-mparam.h |  26 +++++++++---------
 mpn/x86/k7/gmp-mparam.h              |  22 +++++++-------
 mpn/x86/pentium4/sse2/gmp-mparam.h   |  32 +++++++++++-----------
 6 files changed, 79 insertions(+), 79 deletions(-)

diffs (truncated from 372 to 300 lines):

diff -r 0830331cb160 -r 929522b3bc5c mpn/pa64/gmp-mparam.h
--- a/mpn/pa64/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
+++ b/mpn/pa64/gmp-mparam.h	Tue Mar 01 23:34:56 2011 +0100
@@ -51,7 +51,7 @@
 #define SQR_TOOM2_THRESHOLD                 56
 #define SQR_TOOM3_THRESHOLD                169
 #define SQR_TOOM4_THRESHOLD                280
-#define SQR_TOOM6_THRESHOLD                282
+#define SQR_TOOM6_THRESHOLD                  0
 #define SQR_TOOM8_THRESHOLD                309
 
 #define MULMOD_BNM1_THRESHOLD               16
@@ -219,7 +219,7 @@
 
 #define MATRIX22_STRASSEN_THRESHOLD          9
 #define HGCD_THRESHOLD                     242
-#define GCD_DC_THRESHOLD                  1341
+#define GCD_DC_THRESHOLD                   752
 #define GCDEXT_DC_THRESHOLD                545
 #define JACOBI_BASE_METHOD                   2
 
diff -r 0830331cb160 -r 929522b3bc5c mpn/powerpc64/mode64/p4/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p4/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
+++ b/mpn/powerpc64/mode64/p4/gmp-mparam.h	Tue Mar 01 23:34:56 2011 +0100
@@ -24,13 +24,13 @@
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */
 #define MOD_1N_TO_MOD_1_1_THRESHOLD          7
-#define MOD_1U_TO_MOD_1_1_THRESHOLD          7
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD         0  /* never mpn_mod_1_1p */
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD        26
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     15
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          5
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD         9
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD        20
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     16
 #define USE_PREINV_DIVREM_1                  0
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
-#define BMOD_1_TO_MOD_1_THRESHOLD           35
+#define BMOD_1_TO_MOD_1_THRESHOLD           37
 
 #define MUL_TOOM22_THRESHOLD                17
 #define MUL_TOOM33_THRESHOLD                56
@@ -38,20 +38,20 @@
 #define MUL_TOOM6H_THRESHOLD               202
 #define MUL_TOOM8H_THRESHOLD               309
 
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD      61
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD      91
-#define MUL_TOOM42_TO_TOOM53_THRESHOLD      93
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD      72
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD      65
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD      99
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD      73
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD      62
 
-#define SQR_BASECASE_THRESHOLD               8
-#define SQR_TOOM2_THRESHOLD                 36
-#define SQR_TOOM3_THRESHOLD                 59
-#define SQR_TOOM4_THRESHOLD                154
-#define SQR_TOOM6_THRESHOLD                220
-#define SQR_TOOM8_THRESHOLD                309
+#define SQR_BASECASE_THRESHOLD               5
+#define SQR_TOOM2_THRESHOLD                 28
+#define SQR_TOOM3_THRESHOLD                 57
+#define SQR_TOOM4_THRESHOLD                136
+#define SQR_TOOM6_THRESHOLD                181
+#define SQR_TOOM8_THRESHOLD                272
 
-#define MULMOD_BNM1_THRESHOLD               14
-#define SQRMOD_BNM1_THRESHOLD               12
+#define MULMOD_BNM1_THRESHOLD               13
+#define SQRMOD_BNM1_THRESHOLD               16
 
 #define MUL_FFT_MODF_THRESHOLD             372  /* k = 5 */
 #define MUL_FFT_TABLE3                                      \
@@ -117,15 +117,15 @@
 #define SQR_FFT_THRESHOLD                 2752
 
 #define MULLO_BASECASE_THRESHOLD             5
-#define MULLO_DC_THRESHOLD                  40
-#define MULLO_MUL_N_THRESHOLD            13463
+#define MULLO_DC_THRESHOLD                  36
+#define MULLO_MUL_N_THRESHOLD            12691
 
-#define DC_DIV_QR_THRESHOLD                 39
+#define DC_DIV_QR_THRESHOLD                 43
 #define DC_DIVAPPR_Q_THRESHOLD             158
 #define DC_BDIV_QR_THRESHOLD                46
 #define DC_BDIV_Q_THRESHOLD                108
 
-#define INV_MULMOD_BNM1_THRESHOLD           75
+#define INV_MULMOD_BNM1_THRESHOLD           67
 #define INV_NEWTON_THRESHOLD               177
 #define INV_APPR_THRESHOLD                 164
 
@@ -134,9 +134,9 @@
 
 #define MU_DIV_QR_THRESHOLD                998
 #define MU_DIVAPPR_Q_THRESHOLD            1017
-#define MUPI_DIV_QR_THRESHOLD               81
-#define MU_BDIV_QR_THRESHOLD               872
-#define MU_BDIV_Q_THRESHOLD               1017
+#define MUPI_DIV_QR_THRESHOLD               74
+#define MU_BDIV_QR_THRESHOLD               855
+#define MU_BDIV_Q_THRESHOLD                998
 
 #define MATRIX22_STRASSEN_THRESHOLD         11
 #define HGCD_THRESHOLD                     105
@@ -146,5 +146,5 @@
 
 #define GET_STR_DC_THRESHOLD                12
 #define GET_STR_PRECOMPUTE_THRESHOLD        23
-#define SET_STR_DC_THRESHOLD               532
-#define SET_STR_PRECOMPUTE_THRESHOLD      1755
+#define SET_STR_DC_THRESHOLD               858
+#define SET_STR_PRECOMPUTE_THRESHOLD      1864
diff -r 0830331cb160 -r 929522b3bc5c mpn/powerpc64/mode64/p5/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p5/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
+++ b/mpn/powerpc64/mode64/p5/gmp-mparam.h	Tue Mar 01 23:34:56 2011 +0100
@@ -25,14 +25,14 @@
 
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */
-#define MOD_1N_TO_MOD_1_1_THRESHOLD          9
-#define MOD_1U_TO_MOD_1_1_THRESHOLD          8
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD        16
+#define MOD_1N_TO_MOD_1_1_THRESHOLD          6
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          5
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD        15
 #define MOD_1_2_TO_MOD_1_4_THRESHOLD         0  /* never mpn_mod_1s_2p */
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     16
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     11
 #define USE_PREINV_DIVREM_1                  0
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
-#define BMOD_1_TO_MOD_1_THRESHOLD           42
+#define BMOD_1_TO_MOD_1_THRESHOLD           40
 
 #define MUL_TOOM22_THRESHOLD                14
 #define MUL_TOOM33_THRESHOLD                50
@@ -48,9 +48,9 @@
 #define SQR_BASECASE_THRESHOLD               9
 #define SQR_TOOM2_THRESHOLD                 36
 #define SQR_TOOM3_THRESHOLD                 59
-#define SQR_TOOM4_THRESHOLD                160
+#define SQR_TOOM4_THRESHOLD                147
 #define SQR_TOOM6_THRESHOLD                204
-#define SQR_TOOM8_THRESHOLD                321
+#define SQR_TOOM8_THRESHOLD                288
 
 #define MULMOD_BNM1_THRESHOLD               14
 #define SQRMOD_BNM1_THRESHOLD               16
@@ -188,12 +188,12 @@
 #define MU_BDIV_Q_THRESHOLD                942
 
 #define MATRIX22_STRASSEN_THRESHOLD         15
-#define HGCD_THRESHOLD                     100
-#define GCD_DC_THRESHOLD                   273
-#define GCDEXT_DC_THRESHOLD                233
+#define HGCD_THRESHOLD                     108
+#define GCD_DC_THRESHOLD                   303
+#define GCDEXT_DC_THRESHOLD                237
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                13
 #define GET_STR_PRECOMPUTE_THRESHOLD        23
-#define SET_STR_DC_THRESHOLD               517
+#define SET_STR_DC_THRESHOLD               532
 #define SET_STR_PRECOMPUTE_THRESHOLD      1639
diff -r 0830331cb160 -r 929522b3bc5c mpn/powerpc64/mode64/p6/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p6/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
+++ b/mpn/powerpc64/mode64/p6/gmp-mparam.h	Tue Mar 01 23:34:56 2011 +0100
@@ -29,7 +29,7 @@
 #define MOD_1U_TO_MOD_1_1_THRESHOLD          3
 #define MOD_1_1_TO_MOD_1_2_THRESHOLD        12
 #define MOD_1_2_TO_MOD_1_4_THRESHOLD         0  /* never mpn_mod_1s_2p */
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD      7
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD      5
 #define USE_PREINV_DIVREM_1                  0
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
 #define BMOD_1_TO_MOD_1_THRESHOLD           21
@@ -45,12 +45,12 @@
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD      73
 #define MUL_TOOM42_TO_TOOM63_THRESHOLD      66
 
-#define SQR_BASECASE_THRESHOLD              12
+#define SQR_BASECASE_THRESHOLD               9
 #define SQR_TOOM2_THRESHOLD                 30
 #define SQR_TOOM3_THRESHOLD                 53
 #define SQR_TOOM4_THRESHOLD                148
 #define SQR_TOOM6_THRESHOLD                226
-#define SQR_TOOM8_THRESHOLD                296
+#define SQR_TOOM8_THRESHOLD                430
 
 #define MULMOD_BNM1_THRESHOLD               14
 #define SQRMOD_BNM1_THRESHOLD               14
@@ -105,16 +105,16 @@
 #define SQR_FFT_TABLE3_SIZE 80
 #define SQR_FFT_THRESHOLD                 2368
 
-#define MULLO_BASECASE_THRESHOLD             8
-#define MULLO_DC_THRESHOLD                  31
-#define MULLO_MUL_N_THRESHOLD             6253
+#define MULLO_BASECASE_THRESHOLD             5
+#define MULLO_DC_THRESHOLD                  28
+#define MULLO_MUL_N_THRESHOLD             6633
 
 #define DC_DIV_QR_THRESHOLD                 27
 #define DC_DIVAPPR_Q_THRESHOLD             112
 #define DC_BDIV_QR_THRESHOLD                29
 #define DC_BDIV_Q_THRESHOLD                 86
 
-#define INV_MULMOD_BNM1_THRESHOLD           58
+#define INV_MULMOD_BNM1_THRESHOLD           47
 #define INV_NEWTON_THRESHOLD                93
 #define INV_APPR_THRESHOLD                  91
 
@@ -127,13 +127,13 @@
 #define MU_BDIV_QR_THRESHOLD               807
 #define MU_BDIV_Q_THRESHOLD                872
 
-#define MATRIX22_STRASSEN_THRESHOLD         13
-#define HGCD_THRESHOLD                      69
-#define GCD_DC_THRESHOLD                   501
-#define GCDEXT_DC_THRESHOLD                201
+#define MATRIX22_STRASSEN_THRESHOLD         11
+#define HGCD_THRESHOLD                      64
+#define GCD_DC_THRESHOLD                   237
+#define GCDEXT_DC_THRESHOLD                183
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                17
-#define GET_STR_PRECOMPUTE_THRESHOLD        29
-#define SET_STR_DC_THRESHOLD               638
+#define GET_STR_PRECOMPUTE_THRESHOLD        27
+#define SET_STR_DC_THRESHOLD               532
 #define SET_STR_PRECOMPUTE_THRESHOLD      1648
diff -r 0830331cb160 -r 929522b3bc5c mpn/x86/k7/gmp-mparam.h
--- a/mpn/x86/k7/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
+++ b/mpn/x86/k7/gmp-mparam.h	Tue Mar 01 23:34:56 2011 +0100
@@ -24,11 +24,11 @@
 
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               3
-#define MOD_1N_TO_MOD_1_1_THRESHOLD          9
+#define MOD_1N_TO_MOD_1_1_THRESHOLD          7
 #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 PREINV_MOD_1_TO_MOD_1_THRESHOLD     11
 #define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
 #define BMOD_1_TO_MOD_1_THRESHOLD           26
@@ -36,11 +36,11 @@
 #define MUL_TOOM22_THRESHOLD                28
 #define MUL_TOOM33_THRESHOLD                85
 #define MUL_TOOM44_THRESHOLD               148
-#define MUL_TOOM6H_THRESHOLD               238
+#define MUL_TOOM6H_THRESHOLD               258
 #define MUL_TOOM8H_THRESHOLD               454
 
 #define MUL_TOOM32_TO_TOOM43_THRESHOLD      85
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD      99
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD     122
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD      93
 #define MUL_TOOM42_TO_TOOM63_THRESHOLD     101
 
@@ -151,25 +151,25 @@
 #define SQR_FFT_TABLE3_SIZE 177
 #define SQR_FFT_THRESHOLD                 7552
 
-#define MULLO_BASECASE_THRESHOLD             8
+#define MULLO_BASECASE_THRESHOLD            10
 #define MULLO_DC_THRESHOLD                  42
 #define MULLO_MUL_N_THRESHOLD            13463
 
-#define DC_DIV_QR_THRESHOLD                 94
-#define DC_DIVAPPR_Q_THRESHOLD             333
+#define DC_DIV_QR_THRESHOLD                 89
+#define DC_DIVAPPR_Q_THRESHOLD             315
 #define DC_BDIV_QR_THRESHOLD                91
-#define DC_BDIV_Q_THRESHOLD                268
+#define DC_BDIV_Q_THRESHOLD                274
 
 #define INV_MULMOD_BNM1_THRESHOLD           66
 #define INV_NEWTON_THRESHOLD               300
 #define INV_APPR_THRESHOLD                 303
 
-#define BINV_NEWTON_THRESHOLD              264
-#define REDC_1_TO_REDC_N_THRESHOLD          86
+#define BINV_NEWTON_THRESHOLD              303
+#define REDC_1_TO_REDC_N_THRESHOLD          95
 
 #define MU_DIV_QR_THRESHOLD               1858
 #define MU_DIVAPPR_Q_THRESHOLD            1718
-#define MUPI_DIV_QR_THRESHOLD              114
+#define MUPI_DIV_QR_THRESHOLD              132
 #define MU_BDIV_QR_THRESHOLD              1387
 #define MU_BDIV_Q_THRESHOLD               1470


More information about the gmp-commit mailing list