91 lines
3.0 KiB
C
91 lines
3.0 KiB
C
/* Generated by tuneup.c, 2014-03-24, gcc 4.1 */
|
|
|
|
#define MUL_KARATSUBA_THRESHOLD 34
|
|
#define MUL_TOOM3_THRESHOLD 116
|
|
#define MUL_TOOM4_THRESHOLD 315
|
|
#define MUL_TOOM8H_THRESHOLD 315
|
|
|
|
#define SQR_BASECASE_THRESHOLD 12
|
|
#define SQR_KARATSUBA_THRESHOLD 82
|
|
#define SQR_TOOM3_THRESHOLD 131
|
|
#define SQR_TOOM4_THRESHOLD 572
|
|
#define SQR_TOOM8_THRESHOLD 572
|
|
|
|
#define POWM_THRESHOLD 984
|
|
|
|
#define DIVREM_1_NORM_THRESHOLD 10
|
|
#define DIVREM_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
|
#define MOD_1_NORM_THRESHOLD 9
|
|
#define MOD_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
|
#define USE_PREINV_DIVREM_1 1
|
|
#define USE_PREINV_MOD_1 1
|
|
#define DIVREM_2_THRESHOLD 8
|
|
#define DIVEXACT_1_THRESHOLD 0 /* always */
|
|
#define MODEXACT_1_ODD_THRESHOLD 5
|
|
#define MOD_1_1_THRESHOLD 8
|
|
#define MOD_1_2_THRESHOLD 8
|
|
#define MOD_1_3_THRESHOLD 23
|
|
#define DIVREM_HENSEL_QR_1_THRESHOLD 996
|
|
#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 996
|
|
#define DIVREM_EUCLID_HENSEL_THRESHOLD 29
|
|
|
|
#define MUL_FFT_FULL_THRESHOLD 2752
|
|
|
|
#define SQR_FFT_FULL_THRESHOLD 1952
|
|
|
|
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
|
#define MULLOW_DC_THRESHOLD 122
|
|
#define MULLOW_MUL_THRESHOLD 3176
|
|
|
|
#define MULHIGH_BASECASE_THRESHOLD 5
|
|
#define MULHIGH_DC_THRESHOLD 117
|
|
#define MULHIGH_MUL_THRESHOLD 9872
|
|
|
|
#define MULMOD_2EXPM1_THRESHOLD 20
|
|
|
|
#define SB_DIVAPPR_Q_SMALL_THRESHOLD 0 /* always */
|
|
#define SB_DIV_QR_SMALL_THRESHOLD 5
|
|
#define DC_DIV_QR_THRESHOLD 150
|
|
#define INV_DIV_QR_THRESHOLD 2801
|
|
#define INV_DIVAPPR_Q_N_THRESHOLD 150
|
|
#define DC_DIV_Q_THRESHOLD 225
|
|
#define INV_DIV_Q_THRESHOLD 1970
|
|
#define DC_DIVAPPR_Q_THRESHOLD 386
|
|
#define INV_DIVAPPR_Q_THRESHOLD 18999
|
|
#define DC_BDIV_QR_THRESHOLD 138
|
|
#define DC_BDIV_Q_THRESHOLD 217
|
|
|
|
#define ROOTREM_THRESHOLD 6
|
|
|
|
#define MATRIX22_STRASSEN_THRESHOLD 16
|
|
#define HGCD_THRESHOLD 189
|
|
#define HGCD_APPR_THRESHOLD 300
|
|
#define HGCD_REDUCE_THRESHOLD 6852
|
|
#define GCD_DC_THRESHOLD 630
|
|
#define GCDEXT_DC_THRESHOLD 606
|
|
#define JACOBI_BASE_METHOD 3
|
|
|
|
#define GET_STR_DC_THRESHOLD 11
|
|
#define GET_STR_PRECOMPUTE_THRESHOLD 19
|
|
#define SET_STR_DC_THRESHOLD 1025
|
|
#define SET_STR_PRECOMPUTE_THRESHOLD 2276
|
|
|
|
#define FAC_DSC_THRESHOLD 232
|
|
#define FAC_ODD_THRESHOLD 24
|
|
|
|
/* fft_tuning -- autogenerated by tune-fft */
|
|
|
|
#define FFT_TAB \
|
|
{ { 3, 3 }, { 3, 2 }, { 2, 1 }, { 1, 0 }, { 0, 0 } }
|
|
|
|
#define MULMOD_TAB \
|
|
{ 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1 }
|
|
|
|
#define FFT_N_NUM 15
|
|
|
|
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
|
|
|
|
|
/* Tuneup completed successfully, took 2882 seconds */
|
|
|