[Gmp-commit] /var/hg/gmp: Retune.

mercurial at gmplib.org mercurial at gmplib.org
Wed Sep 4 12:45:27 CEST 2013


details:   /var/hg/gmp/rev/fd4d46ab4503
changeset: 15970:fd4d46ab4503
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed Sep 04 12:45:17 2013 +0200
description:
Retune.

diffstat:

 mpn/x86_64/coreihwl/gmp-mparam.h |  64 ++++++++++++++++++++--------------------
 1 files changed, 32 insertions(+), 32 deletions(-)

diffs (115 lines):

diff -r 4c207fc809eb -r fd4d46ab4503 mpn/x86_64/coreihwl/gmp-mparam.h
--- a/mpn/x86_64/coreihwl/gmp-mparam.h	Wed Sep 04 11:57:00 2013 +0200
+++ b/mpn/x86_64/coreihwl/gmp-mparam.h	Wed Sep 04 12:45:17 2013 +0200
@@ -36,28 +36,28 @@
 #define BMOD_1_TO_MOD_1_THRESHOLD           25
 
 #define MUL_TOOM22_THRESHOLD                22
-#define MUL_TOOM33_THRESHOLD                74
-#define MUL_TOOM44_THRESHOLD               202
-#define MUL_TOOM6H_THRESHOLD               300
+#define MUL_TOOM33_THRESHOLD                66
+#define MUL_TOOM44_THRESHOLD               193
+#define MUL_TOOM6H_THRESHOLD               274
 #define MUL_TOOM8H_THRESHOLD               381
 
 #define MUL_TOOM32_TO_TOOM43_THRESHOLD     121
-#define MUL_TOOM32_TO_TOOM53_THRESHOLD     138
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD     131
 #define MUL_TOOM42_TO_TOOM53_THRESHOLD     127
-#define MUL_TOOM42_TO_TOOM63_THRESHOLD     134
-#define MUL_TOOM43_TO_TOOM54_THRESHOLD     185
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD     131
+#define MUL_TOOM43_TO_TOOM54_THRESHOLD     178
 
 #define SQR_BASECASE_THRESHOLD               0  /* always (native) */
 #define SQR_TOOM2_THRESHOLD                 34
-#define SQR_TOOM3_THRESHOLD                121
-#define SQR_TOOM4_THRESHOLD                327
-#define SQR_TOOM6_THRESHOLD                430
-#define SQR_TOOM8_THRESHOLD                  0  /* always */
+#define SQR_TOOM3_THRESHOLD                117
+#define SQR_TOOM4_THRESHOLD                336
+#define SQR_TOOM6_THRESHOLD                422
+#define SQR_TOOM8_THRESHOLD                562
 
-#define MULMID_TOOM42_THRESHOLD             22
+#define MULMID_TOOM42_THRESHOLD             44
 
-#define MULMOD_BNM1_THRESHOLD               17
-#define SQRMOD_BNM1_THRESHOLD               18
+#define MULMOD_BNM1_THRESHOLD               14
+#define SQRMOD_BNM1_THRESHOLD               17
 
 #define MUL_FFT_MODF_THRESHOLD             376  /* k = 5 */
 #define MUL_FFT_TABLE3                                      \
@@ -83,7 +83,7 @@
     { 262144,19}, { 524288,20}, {1048576,21}, {2097152,22}, \
     {4194304,23}, {8388608,24} }
 #define MUL_FFT_TABLE3_SIZE 82
-#define MUL_FFT_THRESHOLD                 4736
+#define MUL_FFT_THRESHOLD                 4224
 
 #define SQR_FFT_MODF_THRESHOLD             340  /* k = 5 */
 #define SQR_FFT_TABLE3                                      \
@@ -110,42 +110,42 @@
 #define SQR_FFT_THRESHOLD                 3264
 
 #define MULLO_BASECASE_THRESHOLD             0  /* always */
-#define MULLO_DC_THRESHOLD                  23
-#define MULLO_MUL_N_THRESHOLD             8907
+#define MULLO_DC_THRESHOLD                  61
+#define MULLO_MUL_N_THRESHOLD             8397
 
-#define DC_DIV_QR_THRESHOLD                 63
-#define DC_DIVAPPR_Q_THRESHOLD             200
+#define DC_DIV_QR_THRESHOLD                 60
+#define DC_DIVAPPR_Q_THRESHOLD             195
 #define DC_BDIV_QR_THRESHOLD                60
-#define DC_BDIV_Q_THRESHOLD                142
+#define DC_BDIV_Q_THRESHOLD                152
 
 #define INV_MULMOD_BNM1_THRESHOLD           42
-#define INV_NEWTON_THRESHOLD               198
-#define INV_APPR_THRESHOLD                 196
+#define INV_NEWTON_THRESHOLD               202
+#define INV_APPR_THRESHOLD                 197
 
-#define BINV_NEWTON_THRESHOLD              240
-#define REDC_1_TO_REDC_2_THRESHOLD          10
-#define REDC_2_TO_REDC_N_THRESHOLD          68
+#define BINV_NEWTON_THRESHOLD              236
+#define REDC_1_TO_REDC_2_THRESHOLD          48
+#define REDC_2_TO_REDC_N_THRESHOLD          72
 
-#define MU_DIV_QR_THRESHOLD               1499
+#define MU_DIV_QR_THRESHOLD               1470
 #define MU_DIVAPPR_Q_THRESHOLD            1589
 #define MUPI_DIV_QR_THRESHOLD               82
 #define MU_BDIV_QR_THRESHOLD              1442
 #define MU_BDIV_Q_THRESHOLD               1470
 
-#define POWM_SEC_TABLE  2,23,127,332,1926
+#define POWM_SEC_TABLE  4,20,219,572,905
 
 #define MATRIX22_STRASSEN_THRESHOLD         17
-#define HGCD_THRESHOLD                     111
-#define HGCD_APPR_THRESHOLD                 55
+#define HGCD_THRESHOLD                     105
+#define HGCD_APPR_THRESHOLD                 50
 #define HGCD_REDUCE_THRESHOLD             2479
-#define GCD_DC_THRESHOLD                   844
+#define GCD_DC_THRESHOLD                   812
 #define GCDEXT_DC_THRESHOLD                435
 #define JACOBI_BASE_METHOD                   4
 
-#define GET_STR_DC_THRESHOLD                10
+#define GET_STR_DC_THRESHOLD                12
 #define GET_STR_PRECOMPUTE_THRESHOLD        19
 #define SET_STR_DC_THRESHOLD              1562
-#define SET_STR_PRECOMPUTE_THRESHOLD      2810
+#define SET_STR_PRECOMPUTE_THRESHOLD      2649
 
-#define FAC_DSC_THRESHOLD                  644
+#define FAC_DSC_THRESHOLD                  692
 #define FAC_ODD_THRESHOLD                    0  /* always */


More information about the gmp-commit mailing list