diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-01-15 17:48:19 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-01-15 17:48:19 +0100 |
commit | 1844f542a4cfc970bdec9bc2e57a2836a1921a37 (patch) | |
tree | 1acbed71f7f7156a08eb11c70c21dab71a977308 /mpn/sparc64 | |
parent | 68da3a217829d3f2b206c573465fba8f657ab667 (diff) | |
download | gmp-1844f542a4cfc970bdec9bc2e57a2836a1921a37.tar.gz |
Update, mainly for MOD_1_N thresholds.
Diffstat (limited to 'mpn/sparc64')
-rw-r--r-- | mpn/sparc64/gmp-mparam.h | 56 |
1 files changed, 30 insertions, 26 deletions
diff --git a/mpn/sparc64/gmp-mparam.h b/mpn/sparc64/gmp-mparam.h index 08df844ac..abf523951 100644 --- a/mpn/sparc64/gmp-mparam.h +++ b/mpn/sparc64/gmp-mparam.h @@ -1,7 +1,7 @@ /* Sparc64 gmp-mparam.h -- Compiler/machine parameter header file. -Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2006, 2008 Free -Software Foundation, Inc. +Copyright 1991, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2006, 2008, 2009 +Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -27,50 +27,54 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #define USE_MORE_MPN 1 #endif -/* Generated by tuneup.c, 2008-12-23, gcc 3.4 */ +/* Generated by tuneup.c, 2009-01-15, gcc 3.4 */ -#define MUL_KARATSUBA_THRESHOLD 30 -#define MUL_TOOM3_THRESHOLD 188 -#define MUL_TOOM44_THRESHOLD 230 +#define MUL_KARATSUBA_THRESHOLD 33 +#define MUL_TOOM3_THRESHOLD 189 +#define MUL_TOOM44_THRESHOLD 256 -#define SQR_BASECASE_THRESHOLD 12 -#define SQR_KARATSUBA_THRESHOLD 68 -#define SQR_TOOM3_THRESHOLD 230 -#define SQR_TOOM4_THRESHOLD 360 +#define SQR_BASECASE_THRESHOLD 9 +#define SQR_KARATSUBA_THRESHOLD 70 +#define SQR_TOOM3_THRESHOLD 226 +#define SQR_TOOM4_THRESHOLD 345 -#define MULLOW_BASECASE_THRESHOLD 12 -#define MULLOW_DC_THRESHOLD 42 -#define MULLOW_MUL_N_THRESHOLD 142 +#define MULLOW_BASECASE_THRESHOLD 0 /* always */ +#define MULLOW_DC_THRESHOLD 46 +#define MULLOW_MUL_N_THRESHOLD 143 #define DIV_SB_PREINV_THRESHOLD 0 /* always */ -#define DIV_DC_THRESHOLD 30 +#define DIV_DC_THRESHOLD 34 #define POWM_THRESHOLD 116 -#define MATRIX22_STRASSEN_THRESHOLD 14 -#define HGCD_THRESHOLD 55 -#define GCD_DC_THRESHOLD 312 -#define GCDEXT_DC_THRESHOLD 196 -#define JACOBI_BASE_METHOD 2 +#define MATRIX22_STRASSEN_THRESHOLD 18 +#define HGCD_THRESHOLD 51 +#define GCD_DC_THRESHOLD 293 +#define GCDEXT_DC_THRESHOLD 198 +#define JACOBI_BASE_METHOD 3 #define DIVREM_1_NORM_THRESHOLD 3 #define DIVREM_1_UNNORM_THRESHOLD 3 #define MOD_1_NORM_THRESHOLD 3 #define MOD_1_UNNORM_THRESHOLD 3 +#define MOD_1_1_THRESHOLD 12 +#define MOD_1_2_THRESHOLD 13 +#define MOD_1_4_THRESHOLD 16 #define USE_PREINV_DIVREM_1 1 #define USE_PREINV_MOD_1 1 -#define DIVREM_2_THRESHOLD 9 +#define DIVREM_2_THRESHOLD 6 #define DIVEXACT_1_THRESHOLD 0 /* always */ #define MODEXACT_1_ODD_THRESHOLD 0 /* always */ #define GET_STR_DC_THRESHOLD 13 #define GET_STR_PRECOMPUTE_THRESHOLD 21 -#define SET_STR_DC_THRESHOLD 527 -#define SET_STR_PRECOMPUTE_THRESHOLD 2155 +#define SET_STR_DC_THRESHOLD 638 +#define SET_STR_PRECOMPUTE_THRESHOLD 1889 -#define MUL_FFT_TABLE { 240, 480, 1600, 2304, 7168, 12288, 49152, 196608, 786432, 0 } -#define MUL_FFT_MODF_THRESHOLD 200 +#define MUL_FFT_TABLE { 304, 608, 1600, 2816, 7168, 20480, 81920, 196608, 786432, 0 } +#define MUL_FFT_MODF_THRESHOLD 216 #define MUL_FFT_THRESHOLD 1664 -#define SQR_FFT_TABLE { 304, 672, 1600, 2304, 7168, 20480, 49152, 196608, 786432, 0 } +#define SQR_FFT_TABLE { 336, 736, 1600, 2816, 7168, 20480, 49152, 196608, 786432, 0 } #define SQR_FFT_MODF_THRESHOLD 216 -#define SQR_FFT_THRESHOLD 1408 +#define SQR_FFT_THRESHOLD 1312 + |