1 /* Generated by tuneup.c, 2014-03-21, gcc 4.6 */ 2 3 #define MUL_KARATSUBA_THRESHOLD 12 4 #define MUL_TOOM3_THRESHOLD 89 5 #define MUL_TOOM4_THRESHOLD 262 6 #define MUL_TOOM8H_THRESHOLD 366 7 8 #define SQR_BASECASE_THRESHOLD 0 /* always (native) */ 9 #define SQR_KARATSUBA_THRESHOLD 20 10 #define SQR_TOOM3_THRESHOLD 122 11 #define SQR_TOOM4_THRESHOLD 366 12 #define SQR_TOOM8_THRESHOLD 430 13 14 #define POWM_THRESHOLD 956 15 16 #define DIVREM_1_NORM_THRESHOLD MP_SIZE_T_MAX /* never */ 17 #define DIVREM_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */ 18 #define MOD_1_NORM_THRESHOLD 0 /* always */ 19 #define MOD_1_UNNORM_THRESHOLD 0 /* always */ 20 #define USE_PREINV_DIVREM_1 1 /* native */ 21 #define USE_PREINV_MOD_1 1 22 #define DIVEXACT_1_THRESHOLD 0 /* always */ 23 #define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */ 24 #define MOD_1_1_THRESHOLD 7 25 #define MOD_1_2_THRESHOLD 7 26 #define MOD_1_3_THRESHOLD 11 27 #define DIVREM_HENSEL_QR_1_THRESHOLD 14 28 #define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 15 29 #define DIVREM_EUCLID_HENSEL_THRESHOLD 10 30 31 #define MUL_FFT_FULL_THRESHOLD 3904 32 33 #define SQR_FFT_FULL_THRESHOLD 3520 34 35 #define MULLOW_BASECASE_THRESHOLD 4 36 #define MULLOW_DC_THRESHOLD 35 37 #define MULLOW_MUL_THRESHOLD 5789 38 39 #define MULHIGH_BASECASE_THRESHOLD 4 40 #define MULHIGH_DC_THRESHOLD 32 41 #define MULHIGH_MUL_THRESHOLD 3681 42 43 #define MULMOD_2EXPM1_THRESHOLD 14 44 45 #define DC_DIV_QR_THRESHOLD 38 46 #define INV_DIV_QR_THRESHOLD 1970 47 #define INV_DIVAPPR_Q_N_THRESHOLD 38 48 #define DC_DIV_Q_THRESHOLD 57 49 #define INV_DIV_Q_THRESHOLD 1470 50 #define DC_DIVAPPR_Q_THRESHOLD 67 51 #define INV_DIVAPPR_Q_THRESHOLD 17327 52 #define DC_BDIV_QR_THRESHOLD 50 53 #define DC_BDIV_Q_THRESHOLD 36 54 55 #define BINV_NEWTON_THRESHOLD 46 56 #define REDC_1_TO_REDC_2_THRESHOLD 48 57 #define REDC_2_TO_REDC_N_THRESHOLD 0 /* always */ 58 59 #define ROOTREM_THRESHOLD 6 60 61 #define MATRIX22_STRASSEN_THRESHOLD 19 62 #define HGCD_THRESHOLD 105 63 #define HGCD_APPR_THRESHOLD 50 64 #define HGCD_REDUCE_THRESHOLD 6852 65 #define GCD_DC_THRESHOLD 396 66 #define GCDEXT_DC_THRESHOLD 270 67 #define JACOBI_BASE_METHOD 1 68 69 #define GET_STR_DC_THRESHOLD 12 70 #define GET_STR_PRECOMPUTE_THRESHOLD 20 71 #define SET_STR_DC_THRESHOLD 258 72 #define SET_STR_PRECOMPUTE_THRESHOLD 1414 73 74 #define FAC_DSC_THRESHOLD 172 75 #define FAC_ODD_THRESHOLD 25 76 77 /* fft_tuning -- autogenerated by tune-fft */ 78 79 #define FFT_TAB \ 80 { { 4, 3 }, { 3, 3 }, { 3, 2 }, { 2, 1 }, { 1, 0 } } 81 82 #define MULMOD_TAB \ 83 { 4, 3, 4, 4, 3, 3, 3, 3, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 1, 2, 2, 1, 1 } 84 85 #define FFT_N_NUM 23 86 87 #define FFT_MULMOD_2EXPP1_CUTOFF 256 88 89 90 /* Tuneup completed successfully, took 149 seconds */ 91 92