diff --git a/mpn/x86_64/atom/gmp-mparam.h b/mpn/x86_64/atom/gmp-mparam.h index 6c1aa431..54728de4 100644 --- a/mpn/x86_64/atom/gmp-mparam.h +++ b/mpn/x86_64/atom/gmp-mparam.h @@ -1,86 +1,88 @@ -/* Generated by tuneup.c, 2014-03-27, gcc 4.8 */ +/* Generated by tuneup.c, 2014-04-04, gcc 4.6 */ + +#define MUL_KARATSUBA_THRESHOLD 10 +#define MUL_TOOM3_THRESHOLD 113 +#define MUL_TOOM4_THRESHOLD 197 +#define MUL_TOOM8H_THRESHOLD 199 -#define MUL_KARATSUBA_THRESHOLD 24 -#define MUL_TOOM3_THRESHOLD 78 -#define MUL_TOOM4_THRESHOLD 185 -#define MUL_TOOM8H_THRESHOLD 286 #define SQR_BASECASE_THRESHOLD 0 /* always (native) */ -#define SQR_KARATSUBA_THRESHOLD 36 -#define SQR_TOOM3_THRESHOLD 117 -#define SQR_TOOM4_THRESHOLD 298 -#define SQR_TOOM8_THRESHOLD 309 +#define SQR_KARATSUBA_THRESHOLD 16 +#define SQR_TOOM3_THRESHOLD 105 +#define SQR_TOOM4_THRESHOLD 278 +#define SQR_TOOM8_THRESHOLD 286 -#define POWM_THRESHOLD 39 +#define POWM_THRESHOLD 59 + +#define HGCD_THRESHOLD 70 +#define GCD_DC_THRESHOLD 192 +#define GCDEXT_DC_THRESHOLD 169 +#define JACOBI_BASE_METHOD 3 + + +#define DIVREM_1_NORM_THRESHOLD MP_SIZE_T_MAX /* never */ +#define DIVREM_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */ +#define MOD_1_NORM_THRESHOLD 0 /* always */ +#define MOD_1_UNNORM_THRESHOLD 0 /* always */ #define USE_PREINV_DIVREM_1 1 /* native */ -#define USE_PREINV_MOD_1 1 /* native */ -#define DIVREM_2_THRESHOLD 0 /* always */ -#define DIVEXACT_1_THRESHOLD 0 /* always (native) */ +#define USE_PREINV_MOD_1 1 +#define DIVEXACT_1_THRESHOLD 0 /* always */ + #define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */ -#define MOD_1_1_THRESHOLD 28 -#define MOD_1_2_THRESHOLD 28 -#define MOD_1_3_THRESHOLD 93 -#define DIVREM_HENSEL_QR_1_THRESHOLD 197 -#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 95 -#define DIVREM_EUCLID_HENSEL_THRESHOLD 292 +#define MOD_1_1_THRESHOLD 7 +#define MOD_1_2_THRESHOLD 8 +#define MOD_1_3_THRESHOLD 12 +#define DIVREM_HENSEL_QR_1_THRESHOLD 126 +#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 996 +#define DIVREM_EUCLID_HENSEL_THRESHOLD 58 -#define MUL_FFT_FULL_THRESHOLD 3552 +#define ROOTREM_THRESHOLD 6 -#define SQR_FFT_FULL_THRESHOLD 2272 +#define GET_STR_DC_THRESHOLD 20 +#define GET_STR_PRECOMPUTE_THRESHOLD 25 +#define SET_STR_DC_THRESHOLD 248 +#define SET_STR_PRECOMPUTE_THRESHOLD 262 -#define MULLOW_BASECASE_THRESHOLD 5 -#define MULLOW_DC_THRESHOLD 52 -#define MULLOW_MUL_THRESHOLD 375 +#define MUL_FFT_FULL_THRESHOLD 2496 -#define MULHIGH_BASECASE_THRESHOLD 7 -#define MULHIGH_DC_THRESHOLD 51 -#define MULHIGH_MUL_THRESHOLD 406 +#define SQR_FFT_FULL_THRESHOLD 1760 -#define MULMOD_2EXPM1_THRESHOLD 20 +#define MULLOW_BASECASE_THRESHOLD 0 /* always */ +#define MULLOW_DC_THRESHOLD 12 +#define MULLOW_MUL_THRESHOLD 2324 -#define SB_DIVAPPR_Q_SMALL_THRESHOLD 0 /* always */ -#define SB_DIV_QR_SMALL_THRESHOLD 0 /* always */ -#define DC_DIV_QR_THRESHOLD 31 -#define INV_DIV_QR_THRESHOLD 1387 -#define INV_DIVAPPR_Q_N_THRESHOLD 31 -#define DC_DIV_Q_THRESHOLD 110 -#define INV_DIV_Q_THRESHOLD 1078 -#define DC_DIVAPPR_Q_THRESHOLD 45 -#define INV_DIVAPPR_Q_THRESHOLD 10956 -#define DC_BDIV_QR_THRESHOLD 37 -#define DC_BDIV_Q_THRESHOLD 124 +#define MULHIGH_BASECASE_THRESHOLD 8 +#define MULHIGH_DC_THRESHOLD 8 +#define MULHIGH_MUL_THRESHOLD 2257 -#define ROOTREM_THRESHOLD 7 +#define MULMOD_2EXPM1_THRESHOLD 14 -#define MATRIX22_STRASSEN_THRESHOLD 14 -#define HGCD_THRESHOLD 101 -#define HGCD_APPR_THRESHOLD 50 -#define HGCD_REDUCE_THRESHOLD 487 -#define GCD_DC_THRESHOLD 451 -#define GCDEXT_DC_THRESHOLD 300 -#define JACOBI_BASE_METHOD 2 +#define FAC_UI_THRESHOLD 8252 +#define DC_DIV_QR_THRESHOLD 28 +#define DC_DIVAPPR_Q_N_THRESHOLD 14 +#define INV_DIV_QR_THRESHOLD 1442 +#define INV_DIVAPPR_Q_N_THRESHOLD 14 +#define DC_DIV_Q_THRESHOLD 73 +#define INV_DIV_Q_THRESHOLD 2801 +#define DC_DIVAPPR_Q_THRESHOLD 10 +#define INV_DIVAPPR_Q_THRESHOLD 7881 +#define DC_BDIV_QR_THRESHOLD 28 +#define DC_BDIV_Q_THRESHOLD 34 -#define GET_STR_DC_THRESHOLD 12 -#define GET_STR_PRECOMPUTE_THRESHOLD 23 -#define SET_STR_DC_THRESHOLD 102 -#define SET_STR_PRECOMPUTE_THRESHOLD 1057 - -#define FAC_DSC_THRESHOLD 180 -#define FAC_ODD_THRESHOLD 29 /* fft_tuning -- autogenerated by tune-fft */ #define FFT_TAB \ - { { 3, 3 }, { 3, 2 }, { 2, 1 }, { 1, 0 }, { 1, 0 } } + { { 4, 3 }, { 3, 2 }, { 3, 2 }, { 2, 1 }, { 1, 0 } } #define MULMOD_TAB \ - { 4, 3, 3, 3, 3, 2, 2, 2, 3, 2, 2, 2, 2, 1, 1 } + { 4, 3, 3, 4, 4, 3, 3, 3, 3, 2, 2, 2, 3, 2, 2, 2, 2, 1, 1 } -#define FFT_N_NUM 15 +#define FFT_N_NUM 19 #define FFT_MULMOD_2EXPP1_CUTOFF 128 -/* Tuneup completed successfully, took 774 seconds */ +/* Tuneup completed successfully, took 565 seconds */