[Gmp-commit] /var/hg/gmp: 3 new changesets
mercurial at gmplib.org
mercurial at gmplib.org
Wed Mar 2 10:35:43 CET 2011
details: /var/hg/gmp/rev/b9e454cdae0a
changeset: 13978:b9e454cdae0a
user: Torbjorn Granlund <tege at gmplib.org>
date: Wed Mar 02 10:27:32 2011 +0100
description:
Retune.
details: /var/hg/gmp/rev/eb0f0ea34d50
changeset: 13979:eb0f0ea34d50
user: Torbjorn Granlund <tege at gmplib.org>
date: Wed Mar 02 10:31:27 2011 +0100
description:
Retune.
details: /var/hg/gmp/rev/a91d9f531583
changeset: 13980:a91d9f531583
user: Torbjorn Granlund <tege at gmplib.org>
date: Wed Mar 02 10:33:29 2011 +0100
description:
Retune.
diffstat:
mpn/pa32/hppa2_0/gmp-mparam.h | 73 +++++++++++++++++++--------------------
mpn/x86/p6/sse2/gmp-mparam.h | 8 ++--
mpn/x86_64/coreinhm/gmp-mparam.h | 62 ++++++++++++++++----------------
3 files changed, 71 insertions(+), 72 deletions(-)
diffs (241 lines):
diff -r 929522b3bc5c -r a91d9f531583 mpn/pa32/hppa2_0/gmp-mparam.h
--- a/mpn/pa32/hppa2_0/gmp-mparam.h Tue Mar 01 23:34:56 2011 +0100
+++ b/mpn/pa32/hppa2_0/gmp-mparam.h Wed Mar 02 10:33:29 2011 +0100
@@ -24,36 +24,35 @@
/* 552 MHz PA8600 (gcc61.fsffrance.org) */
#define DIVREM_1_NORM_THRESHOLD 3
-#define DIVREM_1_UNNORM_THRESHOLD 4
+#define DIVREM_1_UNNORM_THRESHOLD 3
#define MOD_1_NORM_THRESHOLD 3
#define MOD_1_UNNORM_THRESHOLD 4
-#define MOD_1N_TO_MOD_1_1_THRESHOLD 14
+#define MOD_1N_TO_MOD_1_1_THRESHOLD 11
#define MOD_1U_TO_MOD_1_1_THRESHOLD 8
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 18
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 22
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0 /* never mpn_mod_1_1p */
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD 22
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 28
#define USE_PREINV_DIVREM_1 1
-#define DIVREM_2_THRESHOLD 0 /* always */
#define DIVEXACT_1_THRESHOLD 0 /* always */
-#define BMOD_1_TO_MOD_1_THRESHOLD 31
+#define BMOD_1_TO_MOD_1_THRESHOLD 36
-#define MUL_TOOM22_THRESHOLD 15
-#define MUL_TOOM33_THRESHOLD 91
-#define MUL_TOOM44_THRESHOLD 154
-#define MUL_TOOM6H_THRESHOLD 204
-#define MUL_TOOM8H_THRESHOLD 482
+#define MUL_TOOM22_THRESHOLD 18
+#define MUL_TOOM33_THRESHOLD 65
+#define MUL_TOOM44_THRESHOLD 166
+#define MUL_TOOM6H_THRESHOLD 202
+#define MUL_TOOM8H_THRESHOLD 333
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD 97
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD 103
-#define MUL_TOOM42_TO_TOOM53_THRESHOLD 109
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD 103
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD 105
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD 138
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD 105
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD 102
-#define SQR_BASECASE_THRESHOLD 6
-#define SQR_TOOM2_THRESHOLD 47
+#define SQR_BASECASE_THRESHOLD 7
+#define SQR_TOOM2_THRESHOLD 55
#define SQR_TOOM3_THRESHOLD 93
#define SQR_TOOM4_THRESHOLD 250
-#define SQR_TOOM6_THRESHOLD 278
-#define SQR_TOOM8_THRESHOLD 502
+#define SQR_TOOM6_THRESHOLD 306
+#define SQR_TOOM8_THRESHOLD 527
#define MULMOD_BNM1_THRESHOLD 13
#define SQRMOD_BNM1_THRESHOLD 15
@@ -124,34 +123,34 @@
#define SQR_FFT_THRESHOLD 1600
#define MULLO_BASECASE_THRESHOLD 0 /* always */
-#define MULLO_DC_THRESHOLD 90
+#define MULLO_DC_THRESHOLD 116
#define MULLO_MUL_N_THRESHOLD 3574
#define DC_DIV_QR_THRESHOLD 100
-#define DC_DIVAPPR_Q_THRESHOLD 342
-#define DC_BDIV_QR_THRESHOLD 119
-#define DC_BDIV_Q_THRESHOLD 246
+#define DC_DIVAPPR_Q_THRESHOLD 348
+#define DC_BDIV_QR_THRESHOLD 109
+#define DC_BDIV_Q_THRESHOLD 254
#define INV_MULMOD_BNM1_THRESHOLD 34
-#define INV_NEWTON_THRESHOLD 274
-#define INV_APPR_THRESHOLD 268
+#define INV_NEWTON_THRESHOLD 276
+#define INV_APPR_THRESHOLD 276
#define BINV_NEWTON_THRESHOLD 278
-#define REDC_1_TO_REDC_N_THRESHOLD 70
+#define REDC_1_TO_REDC_N_THRESHOLD 78
#define MU_DIV_QR_THRESHOLD 979
-#define MU_DIVAPPR_Q_THRESHOLD 1142
-#define MUPI_DIV_QR_THRESHOLD 100
-#define MU_BDIV_QR_THRESHOLD 667
+#define MU_DIVAPPR_Q_THRESHOLD 263
+#define MUPI_DIV_QR_THRESHOLD 102
+#define MU_BDIV_QR_THRESHOLD 807
#define MU_BDIV_Q_THRESHOLD 1187
-#define MATRIX22_STRASSEN_THRESHOLD 15
-#define HGCD_THRESHOLD 99
-#define GCD_DC_THRESHOLD 372
-#define GCDEXT_DC_THRESHOLD 241
+#define MATRIX22_STRASSEN_THRESHOLD 11
+#define HGCD_THRESHOLD 100
+#define GCD_DC_THRESHOLD 379
+#define GCDEXT_DC_THRESHOLD 249
#define JACOBI_BASE_METHOD 2
#define GET_STR_DC_THRESHOLD 7
-#define GET_STR_PRECOMPUTE_THRESHOLD 14
-#define SET_STR_DC_THRESHOLD 224
-#define SET_STR_PRECOMPUTE_THRESHOLD 788
+#define GET_STR_PRECOMPUTE_THRESHOLD 16
+#define SET_STR_DC_THRESHOLD 270
+#define SET_STR_PRECOMPUTE_THRESHOLD 782
diff -r 929522b3bc5c -r a91d9f531583 mpn/x86/p6/sse2/gmp-mparam.h
--- a/mpn/x86/p6/sse2/gmp-mparam.h Tue Mar 01 23:34:56 2011 +0100
+++ b/mpn/x86/p6/sse2/gmp-mparam.h Wed Mar 02 10:33:29 2011 +0100
@@ -30,13 +30,13 @@
/* 1867 MHz P6 model 13 */
-#define MOD_1_NORM_THRESHOLD 3
+#define MOD_1_NORM_THRESHOLD 4
#define MOD_1_UNNORM_THRESHOLD 3
-#define MOD_1N_TO_MOD_1_1_THRESHOLD 6
+#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 11
#define MOD_1_2_TO_MOD_1_4_THRESHOLD 0 /* never mpn_mod_1s_2p */
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 11
+#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 22
@@ -165,7 +165,7 @@
#define MU_BDIV_Q_THRESHOLD 1442
#define MATRIX22_STRASSEN_THRESHOLD 17
-#define HGCD_THRESHOLD 70
+#define HGCD_THRESHOLD 61
#define GCD_DC_THRESHOLD 379
#define GCDEXT_DC_THRESHOLD 298
#define JACOBI_BASE_METHOD 4
diff -r 929522b3bc5c -r a91d9f531583 mpn/x86_64/coreinhm/gmp-mparam.h
--- a/mpn/x86_64/coreinhm/gmp-mparam.h Tue Mar 01 23:34:56 2011 +0100
+++ b/mpn/x86_64/coreinhm/gmp-mparam.h Wed Mar 02 10:33:29 2011 +0100
@@ -25,32 +25,32 @@
#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 4
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD 5
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 8
-#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 9
+#define MOD_1N_TO_MOD_1_1_THRESHOLD 2
+#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 15
+#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 MUL_TOOM22_THRESHOLD 18
-#define MUL_TOOM33_THRESHOLD 49
-#define MUL_TOOM44_THRESHOLD 142
-#define MUL_TOOM6H_THRESHOLD 202
-#define MUL_TOOM8H_THRESHOLD 284
+#define MUL_TOOM22_THRESHOLD 16
+#define MUL_TOOM33_THRESHOLD 65
+#define MUL_TOOM44_THRESHOLD 166
+#define MUL_TOOM6H_THRESHOLD 226
+#define MUL_TOOM8H_THRESHOLD 333
-#define MUL_TOOM32_TO_TOOM43_THRESHOLD 69
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD 91
-#define MUL_TOOM42_TO_TOOM53_THRESHOLD 97
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD 96
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD 65
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD 107
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD 98
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD 113
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
-#define SQR_TOOM2_THRESHOLD 32
-#define SQR_TOOM3_THRESHOLD 105
+#define SQR_TOOM2_THRESHOLD 30
+#define SQR_TOOM3_THRESHOLD 101
#define SQR_TOOM4_THRESHOLD 250
-#define SQR_TOOM6_THRESHOLD 366
-#define SQR_TOOM8_THRESHOLD 478
+#define SQR_TOOM6_THRESHOLD 318
+#define SQR_TOOM8_THRESHOLD 502
#define MULMOD_BNM1_THRESHOLD 13
#define SQRMOD_BNM1_THRESHOLD 13
@@ -103,9 +103,9 @@
#define SQR_FFT_TABLE3_SIZE 76
#define SQR_FFT_THRESHOLD 3200
-#define MULLO_BASECASE_THRESHOLD 0 /* always */
+#define MULLO_BASECASE_THRESHOLD 4
#define MULLO_DC_THRESHOLD 21
-#define MULLO_MUL_N_THRESHOLD 6633
+#define MULLO_MUL_N_THRESHOLD 7246
#define DC_DIV_QR_THRESHOLD 38
#define DC_DIVAPPR_Q_THRESHOLD 133
@@ -116,23 +116,23 @@
#define INV_NEWTON_THRESHOLD 195
#define INV_APPR_THRESHOLD 147
-#define BINV_NEWTON_THRESHOLD 230
-#define REDC_1_TO_REDC_2_THRESHOLD 2
+#define BINV_NEWTON_THRESHOLD 252
+#define REDC_1_TO_REDC_2_THRESHOLD 11
#define REDC_2_TO_REDC_N_THRESHOLD 59
-#define MU_DIV_QR_THRESHOLD 1334
-#define MU_DIVAPPR_Q_THRESHOLD 1360
+#define MU_DIV_QR_THRESHOLD 1308
+#define MU_DIVAPPR_Q_THRESHOLD 1308
#define MUPI_DIV_QR_THRESHOLD 74
-#define MU_BDIV_QR_THRESHOLD 1142
-#define MU_BDIV_Q_THRESHOLD 1308
+#define MU_BDIV_QR_THRESHOLD 1120
+#define MU_BDIV_Q_THRESHOLD 1187
#define MATRIX22_STRASSEN_THRESHOLD 17
-#define HGCD_THRESHOLD 125
+#define HGCD_THRESHOLD 117
#define GCD_DC_THRESHOLD 330
#define GCDEXT_DC_THRESHOLD 382
#define JACOBI_BASE_METHOD 4
-#define GET_STR_DC_THRESHOLD 13
-#define GET_STR_PRECOMPUTE_THRESHOLD 24
-#define SET_STR_DC_THRESHOLD 438
-#define SET_STR_PRECOMPUTE_THRESHOLD 1330
+#define GET_STR_DC_THRESHOLD 12
+#define GET_STR_PRECOMPUTE_THRESHOLD 20
+#define SET_STR_DC_THRESHOLD 552
+#define SET_STR_PRECOMPUTE_THRESHOLD 1655
More information about the gmp-commit
mailing list