2014-03-24 18:36:54 -04:00
|
|
|
/* Generated by tuneup.c, 2014-03-24, gcc 4.1 */
|
2008-06-25 03:33:36 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#define MUL_KARATSUBA_THRESHOLD 34
|
|
|
|
#define MUL_TOOM3_THRESHOLD 116
|
|
|
|
#define MUL_TOOM4_THRESHOLD 315
|
|
|
|
#define MUL_TOOM8H_THRESHOLD 315
|
2008-06-25 03:33:36 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#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
|
2008-06-25 03:33:36 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#define POWM_THRESHOLD 984
|
2008-06-25 03:33:36 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#define DIVREM_1_NORM_THRESHOLD 10
|
2012-10-23 21:58:08 -04:00
|
|
|
#define DIVREM_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
2014-03-24 18:36:54 -04:00
|
|
|
#define MOD_1_NORM_THRESHOLD 9
|
|
|
|
#define MOD_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
2008-06-25 03:33:36 -04:00
|
|
|
#define USE_PREINV_DIVREM_1 1
|
2011-12-03 12:06:34 -05:00
|
|
|
#define USE_PREINV_MOD_1 1
|
2014-03-24 18:36:54 -04:00
|
|
|
#define DIVREM_2_THRESHOLD 8
|
2008-06-25 03:33:36 -04:00
|
|
|
#define DIVEXACT_1_THRESHOLD 0 /* always */
|
2014-03-24 18:36:54 -04:00
|
|
|
#define MODEXACT_1_ODD_THRESHOLD 5
|
2012-10-23 21:58:08 -04:00
|
|
|
#define MOD_1_1_THRESHOLD 8
|
2011-12-03 12:06:34 -05:00
|
|
|
#define MOD_1_2_THRESHOLD 8
|
2014-03-24 18:36:54 -04:00
|
|
|
#define MOD_1_3_THRESHOLD 23
|
2011-12-03 12:06:34 -05:00
|
|
|
#define DIVREM_HENSEL_QR_1_THRESHOLD 996
|
|
|
|
#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 996
|
2014-03-24 18:36:54 -04:00
|
|
|
#define DIVREM_EUCLID_HENSEL_THRESHOLD 29
|
2009-10-08 13:05:41 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#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 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
|
2009-10-08 13:05:41 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#define ROOTREM_THRESHOLD 6
|
2008-06-25 03:33:36 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#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
|
2008-06-25 03:33:36 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#define GET_STR_DC_THRESHOLD 11
|
|
|
|
#define GET_STR_PRECOMPUTE_THRESHOLD 19
|
|
|
|
#define SET_STR_DC_THRESHOLD 1025
|
|
|
|
#define SET_STR_PRECOMPUTE_THRESHOLD 2276
|
2010-03-24 14:33:37 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#define FAC_DSC_THRESHOLD 232
|
|
|
|
#define FAC_ODD_THRESHOLD 24
|
2012-10-23 21:58:08 -04:00
|
|
|
|
|
|
|
/* fft_tuning -- autogenerated by tune-fft */
|
|
|
|
|
|
|
|
#define FFT_TAB \
|
2014-03-24 18:36:54 -04:00
|
|
|
{ { 3, 3 }, { 3, 2 }, { 2, 1 }, { 1, 0 }, { 0, 0 } }
|
2012-10-23 21:58:08 -04:00
|
|
|
|
|
|
|
#define MULMOD_TAB \
|
2014-03-24 18:36:54 -04:00
|
|
|
{ 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1 }
|
2012-10-23 21:58:08 -04:00
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
#define FFT_N_NUM 15
|
2012-10-23 21:58:08 -04:00
|
|
|
|
|
|
|
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
|
|
|
|
|
|
|
|
2014-03-24 18:36:54 -04:00
|
|
|
/* Tuneup completed successfully, took 2882 seconds */
|
|
|
|
|