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

mercurial at gmplib.org mercurial at gmplib.org
Tue Mar 1 23:20:08 CET 2011


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

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

details:   /var/hg/gmp/rev/945abfafa534
changeset: 13968:945abfafa534
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:13:20 2011 +0100
description:
Retune.

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

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

details:   /var/hg/gmp/rev/0830331cb160
changeset: 13971:0830331cb160
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Mar 01 23:19:04 2011 +0100
description:
Retune.

diffstat:

 mpn/x86_64/atom/gmp-mparam.h     |   24 +++---
 mpn/x86_64/core2/gmp-mparam.h    |   58 ++++++++--------
 mpn/x86_64/coreisbr/gmp-mparam.h |   48 ++++++------
 mpn/x86_64/gmp-mparam.h          |   56 +++++++-------
 mpn/x86_64/nano/gmp-mparam.h     |   40 +++++-----
 mpn/x86_64/pentium4/gmp-mparam.h |  137 +++++++++++++++++++-------------------
 6 files changed, 183 insertions(+), 180 deletions(-)

diffs (truncated from 609 to 300 lines):

diff -r 27c645229583 -r 0830331cb160 mpn/x86_64/atom/gmp-mparam.h
--- a/mpn/x86_64/atom/gmp-mparam.h	Tue Mar 01 22:23:50 2011 +0100
+++ b/mpn/x86_64/atom/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
@@ -31,14 +31,14 @@
 
 #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_1N_TO_MOD_1_1_THRESHOLD          4
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          3
 #define MOD_1_1_TO_MOD_1_2_THRESHOLD     MP_SIZE_T_MAX
 #define MOD_1_2_TO_MOD_1_4_THRESHOLD         0
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     12
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     10
 #define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
-#define BMOD_1_TO_MOD_1_THRESHOLD           19
+#define BMOD_1_TO_MOD_1_THRESHOLD           17
 
 #define MUL_TOOM22_THRESHOLD                10
 #define MUL_TOOM33_THRESHOLD                65
@@ -46,14 +46,14 @@
 #define MUL_TOOM6H_THRESHOLD               157
 #define MUL_TOOM8H_THRESHOLD               212
 
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD      73
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD      65
-#define MUL_TOOM42_TO_TOOM53_THRESHOLD      56
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD      51
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD      65
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD      76
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD      71
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD      66
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 16
-#define SQR_TOOM3_THRESHOLD                 74
+#define SQR_TOOM3_THRESHOLD                 65
 #define SQR_TOOM4_THRESHOLD                166
 #define SQR_TOOM6_THRESHOLD                222
 #define SQR_TOOM8_THRESHOLD                333
@@ -142,11 +142,11 @@
 #define MU_DIVAPPR_Q_THRESHOLD             807
 #define MUPI_DIV_QR_THRESHOLD               67
 #define MU_BDIV_QR_THRESHOLD               654
-#define MU_BDIV_Q_THRESHOLD                792
+#define MU_BDIV_Q_THRESHOLD                748
 
 #define MATRIX22_STRASSEN_THRESHOLD         13
-#define HGCD_THRESHOLD                      77
-#define GCD_DC_THRESHOLD                   195
+#define HGCD_THRESHOLD                      82
+#define GCD_DC_THRESHOLD                   186
 #define GCDEXT_DC_THRESHOLD                186
 #define JACOBI_BASE_METHOD                   4
 
diff -r 27c645229583 -r 0830331cb160 mpn/x86_64/core2/gmp-mparam.h
--- a/mpn/x86_64/core2/gmp-mparam.h	Tue Mar 01 22:23:50 2011 +0100
+++ b/mpn/x86_64/core2/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
@@ -25,11 +25,11 @@
 
 #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          3
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD         7
+#define MOD_1N_TO_MOD_1_1_THRESHOLD          3
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          2
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD        11
 #define MOD_1_2_TO_MOD_1_4_THRESHOLD        16
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD      9
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD      7
 #define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
 #define BMOD_1_TO_MOD_1_THRESHOLD           26
@@ -38,19 +38,19 @@
 #define MUL_TOOM33_THRESHOLD                65
 #define MUL_TOOM44_THRESHOLD               184
 #define MUL_TOOM6H_THRESHOLD               254
-#define MUL_TOOM8H_THRESHOLD               399
+#define MUL_TOOM8H_THRESHOLD               357
 
 #define MUL_TOOM32_TO_TOOM43_THRESHOLD      69
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD     122
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD     107
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD      73
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD      74
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD      78
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 26
-#define SQR_TOOM3_THRESHOLD                101
-#define SQR_TOOM4_THRESHOLD                160
-#define SQR_TOOM6_THRESHOLD                253
-#define SQR_TOOM8_THRESHOLD                296
+#define SQR_TOOM3_THRESHOLD                 85
+#define SQR_TOOM4_THRESHOLD                143
+#define SQR_TOOM6_THRESHOLD                318
+#define SQR_TOOM8_THRESHOLD                462
 
 #define MULMOD_BNM1_THRESHOLD               15
 #define SQRMOD_BNM1_THRESHOLD               15
@@ -154,35 +154,35 @@
 #define SQR_FFT_THRESHOLD                 2752
 
 #define MULLO_BASECASE_THRESHOLD             4
-#define MULLO_DC_THRESHOLD                  13
-#define MULLO_MUL_N_THRESHOLD             9449
+#define MULLO_DC_THRESHOLD                  18
+#define MULLO_MUL_N_THRESHOLD             9174
 
-#define DC_DIV_QR_THRESHOLD                 52
-#define DC_DIVAPPR_Q_THRESHOLD             182
-#define DC_BDIV_QR_THRESHOLD                57
-#define DC_BDIV_Q_THRESHOLD                156
+#define DC_DIV_QR_THRESHOLD                 47
+#define DC_DIVAPPR_Q_THRESHOLD             179
+#define DC_BDIV_QR_THRESHOLD                51
+#define DC_BDIV_Q_THRESHOLD                151
 
-#define INV_MULMOD_BNM1_THRESHOLD           57
+#define INV_MULMOD_BNM1_THRESHOLD           45
 #define INV_NEWTON_THRESHOLD               172
 #define INV_APPR_THRESHOLD                 173
 
-#define BINV_NEWTON_THRESHOLD              234
-#define REDC_1_TO_REDC_2_THRESHOLD           6
+#define BINV_NEWTON_THRESHOLD              246
+#define REDC_1_TO_REDC_2_THRESHOLD           4
 #define REDC_2_TO_REDC_N_THRESHOLD          63
 
-#define MU_DIV_QR_THRESHOLD               1334
-#define MU_DIVAPPR_Q_THRESHOLD            1334
-#define MUPI_DIV_QR_THRESHOLD               81
+#define MU_DIV_QR_THRESHOLD               1187
+#define MU_DIVAPPR_Q_THRESHOLD            1210
+#define MUPI_DIV_QR_THRESHOLD               74
 #define MU_BDIV_QR_THRESHOLD              1037
-#define MU_BDIV_Q_THRESHOLD               1334
+#define MU_BDIV_Q_THRESHOLD               1210
 
 #define MATRIX22_STRASSEN_THRESHOLD         18
-#define HGCD_THRESHOLD                     138
+#define HGCD_THRESHOLD                     135
 #define GCD_DC_THRESHOLD                   330
-#define GCDEXT_DC_THRESHOLD                365
+#define GCDEXT_DC_THRESHOLD                361
 #define JACOBI_BASE_METHOD                   4
 
-#define GET_STR_DC_THRESHOLD                12
+#define GET_STR_DC_THRESHOLD                13
 #define GET_STR_PRECOMPUTE_THRESHOLD        23
-#define SET_STR_DC_THRESHOLD               746
-#define SET_STR_PRECOMPUTE_THRESHOLD      2172
+#define SET_STR_DC_THRESHOLD               172
+#define SET_STR_PRECOMPUTE_THRESHOLD      2182
diff -r 27c645229583 -r 0830331cb160 mpn/x86_64/coreisbr/gmp-mparam.h
--- a/mpn/x86_64/coreisbr/gmp-mparam.h	Tue Mar 01 22:23:50 2011 +0100
+++ b/mpn/x86_64/coreisbr/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
@@ -25,16 +25,16 @@
 
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */
-#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         0  /* never mpn_mod_1_1p */
+#define MOD_1N_TO_MOD_1_1_THRESHOLD          3
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          3
+#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     15
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     10
 #define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
 #define BMOD_1_TO_MOD_1_THRESHOLD           30
 
-#define MUL_TOOM22_THRESHOLD                20
+#define MUL_TOOM22_THRESHOLD                18
 #define MUL_TOOM33_THRESHOLD                57
 #define MUL_TOOM44_THRESHOLD               166
 #define MUL_TOOM6H_THRESHOLD               387
@@ -46,11 +46,11 @@
 #define MUL_TOOM42_TO_TOOM63_THRESHOLD     114
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
-#define SQR_TOOM2_THRESHOLD                 30
-#define SQR_TOOM3_THRESHOLD                 77
-#define SQR_TOOM4_THRESHOLD                396
-#define SQR_TOOM6_THRESHOLD                502
-#define SQR_TOOM8_THRESHOLD                517
+#define SQR_TOOM2_THRESHOLD                 26
+#define SQR_TOOM3_THRESHOLD                 93
+#define SQR_TOOM4_THRESHOLD                393
+#define SQR_TOOM6_THRESHOLD                  0
+#define SQR_TOOM8_THRESHOLD                592
 
 #define MULMOD_BNM1_THRESHOLD               13
 #define SQRMOD_BNM1_THRESHOLD               15
@@ -114,27 +114,27 @@
 #define DC_BDIV_QR_THRESHOLD                31
 #define DC_BDIV_Q_THRESHOLD                 78
 
-#define INV_MULMOD_BNM1_THRESHOLD           46
-#define INV_NEWTON_THRESHOLD               139
-#define INV_APPR_THRESHOLD                 131
+#define INV_MULMOD_BNM1_THRESHOLD           50
+#define INV_NEWTON_THRESHOLD               125
+#define INV_APPR_THRESHOLD                 123
 
 #define BINV_NEWTON_THRESHOLD              198
-#define REDC_1_TO_REDC_2_THRESHOLD          23
-#define REDC_2_TO_REDC_N_THRESHOLD          59
+#define REDC_1_TO_REDC_2_THRESHOLD          17
+#define REDC_2_TO_REDC_N_THRESHOLD          51
 
 #define MU_DIV_QR_THRESHOLD               1334
-#define MU_DIVAPPR_Q_THRESHOLD            1442
-#define MUPI_DIV_QR_THRESHOLD               66
-#define MU_BDIV_QR_THRESHOLD              1017
-#define MU_BDIV_Q_THRESHOLD               1442
+#define MU_DIVAPPR_Q_THRESHOLD            1387
+#define MUPI_DIV_QR_THRESHOLD               57
+#define MU_BDIV_QR_THRESHOLD               998
+#define MU_BDIV_Q_THRESHOLD               1308
 
 #define MATRIX22_STRASSEN_THRESHOLD         15
-#define HGCD_THRESHOLD                      69
-#define GCD_DC_THRESHOLD                   416
-#define GCDEXT_DC_THRESHOLD                393
+#define HGCD_THRESHOLD                      90
+#define GCD_DC_THRESHOLD                   400
+#define GCDEXT_DC_THRESHOLD                372
 #define JACOBI_BASE_METHOD                   4
 
 #define GET_STR_DC_THRESHOLD                12
 #define GET_STR_PRECOMPUTE_THRESHOLD        21
-#define SET_STR_DC_THRESHOLD               996
-#define SET_STR_PRECOMPUTE_THRESHOLD      1820
+#define SET_STR_DC_THRESHOLD               552
+#define SET_STR_PRECOMPUTE_THRESHOLD      1655
diff -r 27c645229583 -r 0830331cb160 mpn/x86_64/gmp-mparam.h
--- a/mpn/x86_64/gmp-mparam.h	Tue Mar 01 22:23:50 2011 +0100
+++ b/mpn/x86_64/gmp-mparam.h	Tue Mar 01 23:19:04 2011 +0100
@@ -24,32 +24,32 @@
 
 #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          5
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD         9
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD        27
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD     10
+#define MOD_1N_TO_MOD_1_1_THRESHOLD          4
+#define MOD_1U_TO_MOD_1_1_THRESHOLD          3
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD        14
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD        28
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD      7
 #define USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
-#define BMOD_1_TO_MOD_1_THRESHOLD           17
+#define BMOD_1_TO_MOD_1_THRESHOLD           15
 
-#define MUL_TOOM22_THRESHOLD                28
+#define MUL_TOOM22_THRESHOLD                27
 #define MUL_TOOM33_THRESHOLD                81
 #define MUL_TOOM44_THRESHOLD               234
-#define MUL_TOOM6H_THRESHOLD               466
-#define MUL_TOOM8H_THRESHOLD               478
+#define MUL_TOOM6H_THRESHOLD               418
+#define MUL_TOOM8H_THRESHOLD               466
 
 #define MUL_TOOM32_TO_TOOM43_THRESHOLD      97
 #define MUL_TOOM32_TO_TOOM53_THRESHOLD     160
-#define MUL_TOOM42_TO_TOOM53_THRESHOLD     160
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD     211
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD     145
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD     175
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
-#define SQR_TOOM2_THRESHOLD                 34
-#define SQR_TOOM3_THRESHOLD                114
-#define SQR_TOOM4_THRESHOLD                478
-#define SQR_TOOM6_THRESHOLD                562
-#define SQR_TOOM8_THRESHOLD                  0
+#define SQR_TOOM2_THRESHOLD                 36
+#define SQR_TOOM3_THRESHOLD                117
+#define SQR_TOOM4_THRESHOLD                327
+#define SQR_TOOM6_THRESHOLD                446
+#define SQR_TOOM8_THRESHOLD                547
 
 #define MULMOD_BNM1_THRESHOLD               17
 #define SQRMOD_BNM1_THRESHOLD               17
@@ -171,27 +171,27 @@
 #define DC_BDIV_QR_THRESHOLD                52
 #define DC_BDIV_Q_THRESHOLD                152
 
-#define INV_MULMOD_BNM1_THRESHOLD           66
-#define INV_NEWTON_THRESHOLD               252
-#define INV_APPR_THRESHOLD                 250


More information about the gmp-commit mailing list