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

mercurial at gmplib.org mercurial at gmplib.org
Sun Dec 27 02:22:34 CET 2009


details:   /home/hgfiles/gmp/rev/57d564d44b59
changeset: 13233:57d564d44b59
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Dec 27 02:22:31 2009 +0100
description:
Retune.

diffstat:

 mpn/sparc32/v9/gmp-mparam.h |  107 ++++++++++++++++++++++++-------------------
 1 files changed, 59 insertions(+), 48 deletions(-)

diffs (124 lines):

diff -r 4f2dda755418 -r 57d564d44b59 mpn/sparc32/v9/gmp-mparam.h
--- a/mpn/sparc32/v9/gmp-mparam.h	Sun Dec 27 02:12:48 2009 +0100
+++ b/mpn/sparc32/v9/gmp-mparam.h	Sun Dec 27 02:22:31 2009 +0100
@@ -21,61 +21,72 @@
 #define GMP_LIMB_BITS 32
 #define BYTES_PER_MP_LIMB 4
 
-/* Generated by tuneup.c, 2009-12-14, gcc 4.2 */
+#define MUL_TOOM22_THRESHOLD                29
+#define MUL_TOOM33_THRESHOLD                90
+#define MUL_TOOM44_THRESHOLD               149
+#define MUL_TOOM6H_THRESHOLD               216
+#define MUL_TOOM8H_THRESHOLD               462
 
-#define MUL_TOOM22_THRESHOLD             30
-#define MUL_TOOM33_THRESHOLD             89
-#define MUL_TOOM44_THRESHOLD            230
+#define MUL_TOOM32_TO_TOOM43_THRESHOLD     102
+#define MUL_TOOM32_TO_TOOM53_THRESHOLD     162
+#define MUL_TOOM42_TO_TOOM53_THRESHOLD      98
+#define MUL_TOOM42_TO_TOOM63_THRESHOLD     102
 
-#define SQR_BASECASE_THRESHOLD            8
-#define SQR_TOOM2_THRESHOLD              63
-#define SQR_TOOM3_THRESHOLD              97
-#define SQR_TOOM4_THRESHOLD             266
+#define SQR_BASECASE_THRESHOLD               8
+#define SQR_TOOM2_THRESHOLD                 61
+#define SQR_TOOM3_THRESHOLD                102
+#define SQR_TOOM4_THRESHOLD                224
+#define SQR_TOOM6_THRESHOLD                236
+#define SQR_TOOM8_THRESHOLD                582
 
-#define MUL_FFT_TABLE  { 304, 800, 1408, 3584, 10240, 24576, 98304, 393216, 0 }
-#define MUL_FFT_MODF_THRESHOLD          264
-#define MUL_FFT_THRESHOLD              1472
+#define MULMOD_BNM1_THRESHOLD               14
+#define SQRMOD_BNM1_THRESHOLD               18
 
-#define SQR_FFT_TABLE  { 336, 672, 1408, 3584, 10240, 24576, 98304, 393216, 0 }
-#define SQR_FFT_MODF_THRESHOLD          232
-#define SQR_FFT_THRESHOLD              2304
+#define MUL_FFT_TABLE  { 272, 736, 1152, 3584, 10240, 24576, 98304, 393216, 0 }
+#define MUL_FFT_MODF_THRESHOLD             288
+#define MUL_FFT_THRESHOLD                 7168
 
-#define MULLO_BASECASE_THRESHOLD          0  /* always */
-#define MULLO_DC_THRESHOLD              103
-#define MULLO_MUL_N_THRESHOLD          2764
+#define SQR_FFT_TABLE  { 304, 736, 1408, 3584, 6144, 24576, 98304, 655360, 0 }
+#define SQR_FFT_MODF_THRESHOLD             232
+#define SQR_FFT_THRESHOLD                 2304
 
-#define MULMOD_BNM1_THRESHOLD            13
+#define MULLO_BASECASE_THRESHOLD             0  /* always */
+#define MULLO_DC_THRESHOLD                 103
+#define MULLO_MUL_N_THRESHOLD             7248
 
-#define DC_DIV_QR_THRESHOLD             116
-#define DC_DIVAPPR_Q_THRESHOLD          387
-#define DC_BDIV_QR_THRESHOLD            116
-#define DC_BDIV_Q_THRESHOLD             272
-#define INV_MULMOD_BNM1_THRESHOLD        58
-#define INV_NEWTON_THRESHOLD            360
-#define INV_APPR_THRESHOLD               13
-#define BINV_NEWTON_THRESHOLD           348
-#define REDC_1_TO_REDC_N_THRESHOLD       86
+#define DC_DIV_QR_THRESHOLD                120
+#define DC_DIVAPPR_Q_THRESHOLD             410
+#define DC_BDIV_QR_THRESHOLD               120
+#define DC_BDIV_Q_THRESHOLD                270
 
-#define MATRIX22_STRASSEN_THRESHOLD      12
-#define HGCD_THRESHOLD                  142
-#define GCD_DC_THRESHOLD                630
-#define GCDEXT_DC_THRESHOLD             416
-#define JACOBI_BASE_METHOD                3
+#define INV_MULMOD_BNM1_THRESHOLD           58
+#define INV_NEWTON_THRESHOLD               363
+#define INV_APPR_THRESHOLD                 363
 
-#define DIVREM_1_NORM_THRESHOLD           5
-#define DIVREM_1_UNNORM_THRESHOLD         7
-#define MOD_1_NORM_THRESHOLD              4
-#define MOD_1_UNNORM_THRESHOLD            6
-#define MOD_1_1_THRESHOLD                 5
-#define MOD_1_2_THRESHOLD                 7
-#define MOD_1_4_THRESHOLD                14
-#define USE_PREINV_DIVREM_1               1
-#define USE_PREINV_MOD_1                  1
-#define DIVREM_2_THRESHOLD                0  /* always */
-#define DIVEXACT_1_THRESHOLD              0  /* always */
-#define MODEXACT_1_ODD_THRESHOLD      MP_SIZE_T_MAX  /* never */
+#define BINV_NEWTON_THRESHOLD              396
+#define REDC_1_TO_REDC_N_THRESHOLD          82
 
-#define GET_STR_DC_THRESHOLD             10
-#define GET_STR_PRECOMPUTE_THRESHOLD     17
-#define SET_STR_DC_THRESHOLD            527
-#define SET_STR_PRECOMPUTE_THRESHOLD   1576
+#define MATRIX22_STRASSEN_THRESHOLD         12
+#define HGCD_THRESHOLD                     145
+#define GCD_DC_THRESHOLD                   634
+#define GCDEXT_DC_THRESHOLD                419
+#define JACOBI_BASE_METHOD                   2
+
+#define DIVREM_1_NORM_THRESHOLD              5
+#define DIVREM_1_UNNORM_THRESHOLD            7
+#define MOD_1_NORM_THRESHOLD                 4
+#define MOD_1_UNNORM_THRESHOLD               5
+#define MOD_1N_TO_MOD_1_1_THRESHOLD      MP_SIZE_T_MAX  /* never */
+#define MOD_1U_TO_MOD_1_1_THRESHOLD      MP_SIZE_T_MAX  /* never */
+#define MOD_1_1_TO_MOD_1_2_THRESHOLD     MP_SIZE_T_MAX  /* never */
+#define MOD_1_2_TO_MOD_1_4_THRESHOLD     MP_SIZE_T_MAX  /* never */
+#define PREINV_MOD_1_TO_MOD_1_THRESHOLD  MP_SIZE_T_MAX  /* never */
+#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        MP_SIZE_T_MAX  /* never */
+
+#define GET_STR_DC_THRESHOLD                10
+#define GET_STR_PRECOMPUTE_THRESHOLD        17
+#define SET_STR_DC_THRESHOLD               592
+#define SET_STR_PRECOMPUTE_THRESHOLD      1617


More information about the gmp-commit mailing list