diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2008-12-23 02:00:22 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2008-12-23 02:00:22 +0100 |
commit | a882e5853cbc02251ecd1477408520f268300620 (patch) | |
tree | 23d9892631b5f68168c9e3ca0164cc8242860433 /mpn/x86_64/gmp-mparam.h | |
parent | d500f9556c59674d73c036a16192db56fcd0a9a1 (diff) | |
download | gmp-a882e5853cbc02251ecd1477408520f268300620.tar.gz |
Retune (for toom4 code).
Diffstat (limited to 'mpn/x86_64/gmp-mparam.h')
-rw-r--r-- | mpn/x86_64/gmp-mparam.h | 55 |
1 files changed, 25 insertions, 30 deletions
diff --git a/mpn/x86_64/gmp-mparam.h b/mpn/x86_64/gmp-mparam.h index 2836c0944..6b869fa9f 100644 --- a/mpn/x86_64/gmp-mparam.h +++ b/mpn/x86_64/gmp-mparam.h @@ -23,34 +23,29 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ /* 2200 MHz Opteron / rev A / 1024 Kibyte cache / socket 940 */ -/* Generated by tuneup.c, 2008-12-04, gcc 3.4 */ +/* Generated by tuneup.c, 2008-12-22, gcc 3.4 */ #define MUL_KARATSUBA_THRESHOLD 28 -#define MUL_TOOM3_THRESHOLD 97 +#define MUL_TOOM3_THRESHOLD 90 +#define MUL_TOOM44_THRESHOLD 414 -#define SQR_BASECASE_THRESHOLD 0 /* always (native) */ -#define SQR_KARATSUBA_THRESHOLD 38 -#define SQR_TOOM3_THRESHOLD 133 +#define SQR_BASECASE_THRESHOLD 0 /* always (native) */ +#define SQR_KARATSUBA_THRESHOLD 34 +#define SQR_TOOM3_THRESHOLD 137 +#define SQR_TOOM4_THRESHOLD 547 -#define MULLOW_BASECASE_THRESHOLD 28 -#define MULLOW_DC_THRESHOLD 28 -#define MULLOW_MUL_N_THRESHOLD 250 +#define MULLOW_BASECASE_THRESHOLD 27 +#define MULLOW_DC_THRESHOLD 30 +#define MULLOW_MUL_N_THRESHOLD 195 #define DIV_SB_PREINV_THRESHOLD 0 /* always */ -#define DIV_DC_THRESHOLD 88 -#define POWM_THRESHOLD 200 - -#define DC_DIV_QR_THRESHOLD 42 -#define DC_DIVAPPR_Q_THRESHOLD 228 -#define DC_DIV_Q_THRESHOLD 222 -#define DC_BDIV_QR_THRESHOLD 42 -#define DC_BDIV_Q_THRESHOLD 10 -#define DIVEXACT_JEB_THRESHOLD 50 - -#define MATRIX22_STRASSEN_THRESHOLD 22 -#define HGCD_THRESHOLD 134 -#define GCD_DC_THRESHOLD 453 -#define GCDEXT_DC_THRESHOLD 661 +#define DIV_DC_THRESHOLD 56 +#define POWM_THRESHOLD 150 + +#define MATRIX22_STRASSEN_THRESHOLD 25 +#define HGCD_THRESHOLD 147 +#define GCD_DC_THRESHOLD 547 +#define GCDEXT_DC_THRESHOLD 601 #define JACOBI_BASE_METHOD 1 #define MOD_1_NORM_THRESHOLD 0 /* always */ @@ -62,16 +57,16 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */ #define GET_STR_DC_THRESHOLD 20 #define GET_STR_PRECOMPUTE_THRESHOLD 31 -#define SET_STR_DC_THRESHOLD 286 -#define SET_STR_PRECOMPUTE_THRESHOLD 2105 +#define SET_STR_DC_THRESHOLD 258 +#define SET_STR_PRECOMPUTE_THRESHOLD 1787 -#define MUL_FFT_TABLE { 400, 800, 2112, 3840, 11264, 36864, 0 } -#define MUL_FFT_MODF_THRESHOLD 560 -#define MUL_FFT_THRESHOLD 6528 +#define MUL_FFT_TABLE { 432, 928, 2624, 3840, 11264, 36864, 0 } +#define MUL_FFT_MODF_THRESHOLD 656 +#define MUL_FFT_THRESHOLD 7936 -#define SQR_FFT_TABLE { 400, 928, 1728, 4352, 11264, 28672, 0 } -#define SQR_FFT_MODF_THRESHOLD 560 -#define SQR_FFT_THRESHOLD 6528 +#define SQR_FFT_TABLE { 432, 992, 2240, 4352, 11264, 28672, 0 } +#define SQR_FFT_MODF_THRESHOLD 592 +#define SQR_FFT_THRESHOLD 7936 #define MUL_FFT_TABLE2 {{1,4}, {337,5}, {673,6}, {1729,7}, {1793,6}, {2017,7}, {5633,8}, {11009,9}, {11777,8}, {14593,9}, {15873,8}, {16897,9}, {22017,10}, {23553,9}, {29697,10}, {31745,9}, {36353,10}, {39937,9}, {44545,10}, {48129,9}, {50689,10}, {56833,11}, {63489,10}, {78337,11}, {79873,10}, {86017,11}, {88065,10}, {92161,11}, {96257,10}, {106497,11}, {129025,10}, {141313,11}, {145409,10}, {146433,11}, {161793,10}, {167937,11}, {227329,12}, {258049,11}, {326657,12}, {389121,11}, {424961,13}, {516097,12}, {520193,11}, {528385,10}, {538625,11}, {547841,10}, {552961,11}, {587777,12}, {651265,11}, {718849,10}, {719873,12}, {782337,11}, {787457,10}, {791553,11}, {796673,10}, {802817,11}, {849921,10}, {850945,12}, {913409,11}, {915457,13}, {1040385,12}, {1044481,11}, {1112065,12}, {1175553,11}, {1243137,12}, {1306625,11}, {1374209,12}, {1437697,13}, {1564673,12}, {1568769,11}, {1581057,12}, {1585153,11}, {1595393,12}, {1597441,11}, {1630209,12}, {1699841,11}, {1761281,12}, {1830913,14}, {2080769,13}, {2088961,12}, {2486273,13}, {2613249,12}, {3010561,13}, {3137537,12}, {3534849,13}, {3661825,12}, {3928065,13}, {3964929,14}, {4014081,13}, {4046849,14}, {4136961,13}, {4186113,12}, {4452353,13}, {4710401,12}, {4976641,13}, {5234689,12}, {5238785,13}, {5349377,12}, {5353473,13}, {5758977,12}, {5763073,14}, {6275073,13}, {7856129,14}, {8372225,13}, {9953281,14}, {10469377,13}, {12050433,14}, {12566529,13}, {13623297,14}, {14663681,13}, {15196161,15}, {16744449,14}, {16760833,13}, {17293313,14}, {18857985,13}, {19394561,14}, {MP_SIZE_T_MAX,0}} |