[Gmp-commit] /home/hgfiles/gmp: Retune.
mercurial at gmplib.org
mercurial at gmplib.org
Sun Dec 27 15:59:09 CET 2009
details: /home/hgfiles/gmp/rev/26dff66a8255
changeset: 13237:26dff66a8255
user: Torbjorn Granlund <tege at gmplib.org>
date: Sun Dec 27 15:59:04 2009 +0100
description:
Retune.
diffstat:
mpn/alpha/ev6/gmp-mparam.h | 103 +++++++++++++++++++++-------------------
mpn/ia64/gmp-mparam.h | 4 +-
mpn/powerpc32/750/gmp-mparam.h | 8 +-
mpn/x86_64/gmp-mparam.h | 2 +-
4 files changed, 61 insertions(+), 56 deletions(-)
diffs (168 lines):
diff -r 21e4d82dc81f -r 26dff66a8255 mpn/alpha/ev6/gmp-mparam.h
--- a/mpn/alpha/ev6/gmp-mparam.h Sun Dec 27 13:55:50 2009 +0100
+++ b/mpn/alpha/ev6/gmp-mparam.h Sun Dec 27 15:59:04 2009 +0100
@@ -27,66 +27,71 @@
/* 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_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 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_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 17
-#define SQRMOD_BNM1_THRESHOLD 23
+#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 3968
+#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 3712
+#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 7842
+#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 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 39
+#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 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 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_1_1_THRESHOLD 2
-#define MOD_1_2_THRESHOLD 6
-#define MOD_1_4_THRESHOLD 30
-#define USE_PREINV_DIVREM_1 1 /* preinv always */
-#define USE_PREINV_MOD_1 1 /* preinv always */
-#define DIVEXACT_1_THRESHOLD 0 /* always */
-#define MODEXACT_1_ODD_THRESHOLD MP_SIZE_T_MAX /* never */
+#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_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 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 GET_STR_DC_THRESHOLD 18
-#define GET_STR_PRECOMPUTE_THRESHOLD 23
-#define SET_STR_DC_THRESHOLD 2797
-#define SET_STR_PRECOMPUTE_THRESHOLD 10681
+#define GET_STR_DC_THRESHOLD 18
+#define GET_STR_PRECOMPUTE_THRESHOLD 23
+#define SET_STR_DC_THRESHOLD 3645
+#define SET_STR_PRECOMPUTE_THRESHOLD 7862
diff -r 21e4d82dc81f -r 26dff66a8255 mpn/ia64/gmp-mparam.h
--- a/mpn/ia64/gmp-mparam.h Sun Dec 27 13:55:50 2009 +0100
+++ b/mpn/ia64/gmp-mparam.h Sun Dec 27 15:59:04 2009 +0100
@@ -64,8 +64,8 @@
#define DC_BDIV_Q_THRESHOLD 292
#define INV_MULMOD_BNM1_THRESHOLD 123
-#define INV_NEWTON_THRESHOLD 15
-#define INV_APPR_THRESHOLD 15
+#define INV_NEWTON_THRESHOLD 187
+#define INV_APPR_THRESHOLD 179
#define BINV_NEWTON_THRESHOLD 296
#define REDC_1_TO_REDC_2_THRESHOLD 10
diff -r 21e4d82dc81f -r 26dff66a8255 mpn/powerpc32/750/gmp-mparam.h
--- a/mpn/powerpc32/750/gmp-mparam.h Sun Dec 27 13:55:50 2009 +0100
+++ b/mpn/powerpc32/750/gmp-mparam.h Sun Dec 27 15:59:04 2009 +0100
@@ -81,10 +81,10 @@
#define DIVREM_1_UNNORM_THRESHOLD 0 /* always */
#define MOD_1_NORM_THRESHOLD 3
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
-#define MOD_1N_TO_MOD_1_1_THRESHOLD 8
-#define MOD_1U_TO_MOD_1_1_THRESHOLD 11
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0
-#define MOD_1_2_TO_MOD_1_4_THRESHOLD 16
+#define MOD_1N_TO_MOD_1_1_THRESHOLD 10
+#define MOD_1U_TO_MOD_1_1_THRESHOLD 8
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD 11
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD 19
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 29
#define USE_PREINV_DIVREM_1 1
#define DIVEXACT_1_THRESHOLD 0 /* always */
diff -r 21e4d82dc81f -r 26dff66a8255 mpn/x86_64/gmp-mparam.h
--- a/mpn/x86_64/gmp-mparam.h Sun Dec 27 13:55:50 2009 +0100
+++ b/mpn/x86_64/gmp-mparam.h Sun Dec 27 15:59:04 2009 +0100
@@ -78,7 +78,7 @@
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
#define MOD_1N_TO_MOD_1_1_THRESHOLD 9
#define MOD_1U_TO_MOD_1_1_THRESHOLD 4
-#define MOD_1_1_TO_MOD_1_2_THRESHOLD 0
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD 9
#define MOD_1_2_TO_MOD_1_4_THRESHOLD 15
#define PREINV_MOD_1_TO_MOD_1_THRESHOLD 14
#define USE_PREINV_DIVREM_1 1 /* native */
More information about the gmp-commit
mailing list