[Gmp-commit] /home/hgfiles/gmp: Retune.

mercurial at gmplib.org mercurial at gmplib.org
Sun Jan 3 04:12:08 CET 2010


details:   /home/hgfiles/gmp/rev/eb082696e702
changeset: 13306:eb082696e702
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Jan 03 04:12:06 2010 +0100
description:
Retune.

diffstat:

 mpn/alpha/ev6/gmp-mparam.h            |  124 +++++++++++++++++----------------
 mpn/ia64/gmp-mparam.h                 |   11 +-
 mpn/powerpc64/mode64/p4/gmp-mparam.h  |   10 +-
 mpn/powerpc64/mode64/p5/gmp-mparam.h  |   10 +-
 mpn/sparc32/v9/gmp-mparam.h           |   10 +-
 mpn/sparc64/ultrasparc34/gmp-mparam.h |    8 +-
 mpn/x86/k6/gmp-mparam.h               |   10 +-
 mpn/x86/k7/gmp-mparam.h               |   90 ++++++++++++------------
 mpn/x86/p6/sse2/gmp-mparam.h          |   10 +-
 mpn/x86_64/atom/gmp-mparam.h          |   10 +-
 mpn/x86_64/core2/gmp-mparam.h         |   10 +-
 mpn/x86_64/corei/gmp-mparam.h         |   10 +-
 mpn/x86_64/gmp-mparam.h               |   10 +-
 13 files changed, 164 insertions(+), 159 deletions(-)

diffs (truncated from 493 to 300 lines):

diff -r f4f1d573513b -r eb082696e702 mpn/alpha/ev6/gmp-mparam.h
--- a/mpn/alpha/ev6/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/alpha/ev6/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -27,71 +27,77 @@
 
 /* Generated by tuneup.c, 2009-11-29, gcc 3.3 */
 
-#define MUL_TOOM22_THRESHOLD                32
-#define MUL_TOOM33_THRESHOLD                73
-#define MUL_TOOM44_THRESHOLD               166
-#define MUL_TOOM6H_THRESHOLD               292
-#define MUL_TOOM8H_THRESHOLD               333
-
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD      69
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD     122
-#define MUL_TOOM42_TO_TOOM53_THRESHOLD     106
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD     120
-
-#define SQR_BASECASE_THRESHOLD               5
-#define SQR_TOOM2_THRESHOLD                 60
-#define SQR_TOOM3_THRESHOLD                105
-#define SQR_TOOM4_THRESHOLD                167
-#define SQR_TOOM6_THRESHOLD                252
-#define SQR_TOOM8_THRESHOLD                351
-
-#define MULMOD_BNM1_THRESHOLD               16
-#define SQRMOD_BNM1_THRESHOLD               11
-
-#define MUL_FFT_TABLE  { 304, 864, 1728, 3328, 9216, 28672, 147456, 327680, 0 }
-#define MUL_FFT_MODF_THRESHOLD             432
-#define MUL_FFT_THRESHOLD                11776
-
-#define SQR_FFT_TABLE  { 400, 864, 1600, 3840, 9216, 28672, 114688, 327680, 0 }
-#define SQR_FFT_MODF_THRESHOLD             376
-#define SQR_FFT_THRESHOLD                 7680
-
-#define MULLO_BASECASE_THRESHOLD             0  /* always */
-#define MULLO_DC_THRESHOLD                 129
-#define MULLO_MUL_N_THRESHOLD            12351
-
-#define DC_DIV_QR_THRESHOLD                112
-#define DC_DIVAPPR_Q_THRESHOLD             396
-#define DC_BDIV_QR_THRESHOLD               110
-#define DC_BDIV_Q_THRESHOLD                315
-
-#define INV_MULMOD_BNM1_THRESHOLD           90
-#define INV_NEWTON_THRESHOLD               387
-#define INV_APPR_THRESHOLD                 387
-
-#define BINV_NEWTON_THRESHOLD              406
-#define REDC_1_TO_REDC_N_THRESHOLD         110
-
-#define MATRIX22_STRASSEN_THRESHOLD         16
-#define HGCD_THRESHOLD                     276
-#define GCD_DC_THRESHOLD                  1197
-#define GCDEXT_DC_THRESHOLD                799
-#define JACOBI_BASE_METHOD                   3
-
 #define DIVREM_1_NORM_THRESHOLD              0  /* preinv always */
 #define DIVREM_1_UNNORM_THRESHOLD            0  /* always */
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */
-#define MOD_1N_TO_MOD_1_1_THRESHOLD          2
+#define MOD_1N_TO_MOD_1_1_THRESHOLD          4
 #define MOD_1U_TO_MOD_1_1_THRESHOLD          2
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD         7
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD       184
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD         6
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD        30
 #define PREINV_MOD_1_TO_MOD_1_THRESHOLD     10
 #define USE_PREINV_DIVREM_1                  1  /* preinv always */
 #define DIVEXACT_1_THRESHOLD                 0  /* always */
-#define BMOD_1_TO_MOD_1_THRESHOLD           19
+#define BMOD_1_TO_MOD_1_THRESHOLD           16
 
-#define GET_STR_DC_THRESHOLD                18
-#define GET_STR_PRECOMPUTE_THRESHOLD        23
-#define SET_STR_DC_THRESHOLD              3645
-#define SET_STR_PRECOMPUTE_THRESHOLD      7862
+#define MUL_TOOM22_THRESHOLD                35
+#define MUL_TOOM33_THRESHOLD                74
+#define MUL_TOOM44_THRESHOLD               178
+#define MUL_TOOM6H_THRESHOLD               288
+#define MUL_TOOM8H_THRESHOLD               333
+
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD      75
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD     101
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD     105
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD     105
+
+#define SQR_BASECASE_THRESHOLD               5
+#define SQR_TOOM2_THRESHOLD                 61
+#define SQR_TOOM3_THRESHOLD                107
+#define SQR_TOOM4_THRESHOLD                170
+#define SQR_TOOM6_THRESHOLD                309
+#define SQR_TOOM8_THRESHOLD                360
+
+#define MULMOD_BNM1_THRESHOLD               20
+#define SQRMOD_BNM1_THRESHOLD               23
+
+#define MUL_FFT_TABLE  { 368, 864, 1984, 3840, 9216, 20480, 81920, 327680, 0 }
+#define MUL_FFT_MODF_THRESHOLD             464
+#define MUL_FFT_THRESHOLD                14336
+
+#define SQR_FFT_TABLE  { 432, 864, 1856, 4864, 9216, 20480, 81920, 327680, 0 }
+#define SQR_FFT_MODF_THRESHOLD             408
+#define SQR_FFT_THRESHOLD                 9728
+
+#define MULLO_BASECASE_THRESHOLD             0  /* always */
+#define MULLO_DC_THRESHOLD                 130
+#define MULLO_MUL_N_THRESHOLD            26736
+
+#define DC_DIV_QR_THRESHOLD                119
+#define DC_DIVAPPR_Q_THRESHOLD             390
+#define DC_BDIV_QR_THRESHOLD               110
+#define DC_BDIV_Q_THRESHOLD                318
+
+#define INV_MULMOD_BNM1_THRESHOLD           70
+#define INV_NEWTON_THRESHOLD               390
+#define INV_APPR_THRESHOLD                 390
+
+#define BINV_NEWTON_THRESHOLD              399
+#define REDC_1_TO_REDC_N_THRESHOLD         110
+
+#define MU_DIV_QR_THRESHOLD               1752
+#define MU_DIVAPPR_Q_THRESHOLD            1752
+#define MUPI_DIV_QR_THRESHOLD              171
+#define MU_BDIV_QR_THRESHOLD              1387
+#define MU_BDIV_Q_THRESHOLD               1752
+
+#define MATRIX22_STRASSEN_THRESHOLD         15
+#define HGCD_THRESHOLD                     294
+#define GCD_DC_THRESHOLD                  1310
+#define GCDEXT_DC_THRESHOLD                778
+#define JACOBI_BASE_METHOD                   3
+
+#define GET_STR_DC_THRESHOLD                15
+#define GET_STR_PRECOMPUTE_THRESHOLD        19
+#define SET_STR_DC_THRESHOLD              3717
+#define SET_STR_PRECOMPUTE_THRESHOLD      7708
diff -r f4f1d573513b -r eb082696e702 mpn/ia64/gmp-mparam.h
--- a/mpn/ia64/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/ia64/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -23,7 +23,6 @@
 
 /* 1300MHz Itanium2 (babe.fsffrance.org) */
 
-/* Generated by tuneup.c, 2009-11-29, gcc 4.2 */
 
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
 #define MOD_1_UNNORM_THRESHOLD               0  /* always */
@@ -82,11 +81,11 @@
 #define REDC_1_TO_REDC_2_THRESHOLD          10
 #define REDC_2_TO_REDC_N_THRESHOLD         164
 
-#define MU_DIV_QR_THRESHOLD               3279
-#define MU_DIVAPPR_Q_THRESHOLD            2747
-#define MUPI_DIV_QR_THRESHOLD                6
-#define MU_BDIV_QR_THRESHOLD              3344
-#define MU_BDIV_Q_THRESHOLD               2857
+#define MU_DIV_QR_THRESHOLD               1752
+#define MU_DIVAPPR_Q_THRESHOLD            1442
+#define MUPI_DIV_QR_THRESHOLD                0  /* always */
+#define MU_BDIV_QR_THRESHOLD              1895
+#define MU_BDIV_Q_THRESHOLD               2089
 
 #define MATRIX22_STRASSEN_THRESHOLD         23
 #define HGCD_THRESHOLD                     120
diff -r f4f1d573513b -r eb082696e702 mpn/powerpc64/mode64/p4/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p4/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/powerpc64/mode64/p4/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -77,11 +77,11 @@
 #define BINV_NEWTON_THRESHOLD              206
 #define REDC_1_TO_REDC_N_THRESHOLD          56
 
-#define MU_DIV_QR_THRESHOLD               2541
-#define MU_DIVAPPR_Q_THRESHOLD            2089
-#define MUPI_DIV_QR_THRESHOLD              165
-#define MU_BDIV_QR_THRESHOLD              2259
-#define MU_BDIV_Q_THRESHOLD               2089
+#define MU_DIV_QR_THRESHOLD               1589
+#define MU_DIVAPPR_Q_THRESHOLD            1308
+#define MUPI_DIV_QR_THRESHOLD               92
+#define MU_BDIV_QR_THRESHOLD              1308
+#define MU_BDIV_Q_THRESHOLD               1334
 
 #define MATRIX22_STRASSEN_THRESHOLD         17
 #define HGCD_THRESHOLD                      86
diff -r f4f1d573513b -r eb082696e702 mpn/powerpc64/mode64/p5/gmp-mparam.h
--- a/mpn/powerpc64/mode64/p5/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/powerpc64/mode64/p5/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -79,11 +79,11 @@
 #define BINV_NEWTON_THRESHOLD              246
 #define REDC_1_TO_REDC_N_THRESHOLD          54
 
-#define MU_DIV_QR_THRESHOLD               1442
-#define MU_DIVAPPR_Q_THRESHOLD            1334
-#define MUPI_DIV_QR_THRESHOLD              148
-#define MU_BDIV_QR_THRESHOLD              1308
-#define MU_BDIV_Q_THRESHOLD               1308
+#define MU_DIV_QR_THRESHOLD                872
+#define MU_DIVAPPR_Q_THRESHOLD             855
+#define MUPI_DIV_QR_THRESHOLD              108
+#define MU_BDIV_QR_THRESHOLD               792
+#define MU_BDIV_Q_THRESHOLD                942
 
 #define MATRIX22_STRASSEN_THRESHOLD         11
 #define HGCD_THRESHOLD                      86
diff -r f4f1d573513b -r eb082696e702 mpn/sparc32/v9/gmp-mparam.h
--- a/mpn/sparc32/v9/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/sparc32/v9/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -80,11 +80,11 @@
 #define BINV_NEWTON_THRESHOLD              324
 #define REDC_1_TO_REDC_N_THRESHOLD          78
 
-#define MU_DIV_QR_THRESHOLD               1589
-#define MU_DIVAPPR_Q_THRESHOLD            1589
-#define MUPI_DIV_QR_THRESHOLD              333
-#define MU_BDIV_QR_THRESHOLD              1528
-#define MU_BDIV_Q_THRESHOLD               1620
+#define MU_DIV_QR_THRESHOLD               1142
+#define MU_DIVAPPR_Q_THRESHOLD            1334
+#define MUPI_DIV_QR_THRESHOLD              130
+#define MU_BDIV_QR_THRESHOLD               855
+#define MU_BDIV_Q_THRESHOLD               1258
 
 #define MATRIX22_STRASSEN_THRESHOLD         13
 #define HGCD_THRESHOLD                     144
diff -r f4f1d573513b -r eb082696e702 mpn/sparc64/ultrasparc34/gmp-mparam.h
--- a/mpn/sparc64/ultrasparc34/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/sparc64/ultrasparc34/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -83,11 +83,11 @@
 #define REDC_1_TO_REDC_2_THRESHOLD          10
 #define REDC_2_TO_REDC_N_THRESHOLD         117
 
-#define MU_DIV_QR_THRESHOLD               1120
-#define MU_DIVAPPR_Q_THRESHOLD             924
+#define MU_DIV_QR_THRESHOLD                748
+#define MU_DIVAPPR_Q_THRESHOLD             630
 #define MUPI_DIV_QR_THRESHOLD                0  /* always */
-#define MU_BDIV_QR_THRESHOLD              1120
-#define MU_BDIV_Q_THRESHOLD               1120
+#define MU_BDIV_QR_THRESHOLD               748
+#define MU_BDIV_Q_THRESHOLD                807
 
 #define MATRIX22_STRASSEN_THRESHOLD         12
 #define HGCD_THRESHOLD                      39
diff -r f4f1d573513b -r eb082696e702 mpn/x86/k6/gmp-mparam.h
--- a/mpn/x86/k6/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/x86/k6/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -80,11 +80,11 @@
 #define BINV_NEWTON_THRESHOLD              268
 #define REDC_1_TO_REDC_N_THRESHOLD          67
 
-#define MU_DIV_QR_THRESHOLD               2130
-#define MU_DIVAPPR_Q_THRESHOLD            1652
-#define MUPI_DIV_QR_THRESHOLD              229
-#define MU_BDIV_QR_THRESHOLD              1822
-#define MU_BDIV_Q_THRESHOLD               1589
+#define MU_DIV_QR_THRESHOLD               1528
+#define MU_DIVAPPR_Q_THRESHOLD            1334
+#define MUPI_DIV_QR_THRESHOLD              134
+#define MU_BDIV_QR_THRESHOLD              1164
+#define MU_BDIV_Q_THRESHOLD               1164
 
 #define MATRIX22_STRASSEN_THRESHOLD         15
 #define HGCD_THRESHOLD                     182
diff -r f4f1d573513b -r eb082696e702 mpn/x86/k7/gmp-mparam.h
--- a/mpn/x86/k7/gmp-mparam.h	Sun Jan 03 02:32:43 2010 +0100
+++ b/mpn/x86/k7/gmp-mparam.h	Sun Jan 03 04:12:06 2010 +0100
@@ -23,77 +23,77 @@
 
 
 #define MOD_1_NORM_THRESHOLD                 0  /* always */
-#define MOD_1_UNNORM_THRESHOLD               5
-#define MOD_1N_TO_MOD_1_1_THRESHOLD         10
-#define MOD_1U_TO_MOD_1_1_THRESHOLD          4
-#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     14
+#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 USE_PREINV_DIVREM_1                  1  /* native */
 #define DIVEXACT_1_THRESHOLD                 0  /* always (native) */
-#define BMOD_1_TO_MOD_1_THRESHOLD           30
+#define BMOD_1_TO_MOD_1_THRESHOLD           28
 
 #define MUL_TOOM22_THRESHOLD                28
-#define MUL_TOOM33_THRESHOLD                86
-#define MUL_TOOM44_THRESHOLD               142
-#define MUL_TOOM6H_THRESHOLD               208
-#define MUL_TOOM8H_THRESHOLD               454
+#define MUL_TOOM33_THRESHOLD                85
+#define MUL_TOOM44_THRESHOLD               148
+#define MUL_TOOM6H_THRESHOLD               204
+#define MUL_TOOM8H_THRESHOLD               309


More information about the gmp-commit mailing list