2014-03-26 10:54:46 -04:00
|
|
|
/* Generated by tuneup.c, 2014-03-25, gcc 4.7 */
|
2008-04-18 13:20:42 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define MUL_KARATSUBA_THRESHOLD 20
|
2012-10-25 18:14:23 -04:00
|
|
|
#define MUL_TOOM3_THRESHOLD 121
|
2014-03-26 10:54:46 -04:00
|
|
|
#define MUL_TOOM4_THRESHOLD 178
|
|
|
|
#define MUL_TOOM8H_THRESHOLD 294
|
2009-06-02 16:16:29 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define SQR_BASECASE_THRESHOLD 8
|
|
|
|
#define SQR_KARATSUBA_THRESHOLD 40
|
|
|
|
#define SQR_TOOM3_THRESHOLD 146
|
|
|
|
#define SQR_TOOM4_THRESHOLD 384
|
|
|
|
#define SQR_TOOM8_THRESHOLD 384
|
2008-04-18 13:20:42 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define POWM_THRESHOLD 984
|
2008-04-18 13:20:42 -04:00
|
|
|
|
|
|
|
#define DIVREM_1_NORM_THRESHOLD 0 /* preinv always */
|
|
|
|
#define DIVREM_1_UNNORM_THRESHOLD 0 /* always */
|
|
|
|
#define MOD_1_NORM_THRESHOLD 0 /* always */
|
|
|
|
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
|
|
|
|
#define USE_PREINV_DIVREM_1 1 /* preinv always */
|
|
|
|
#define USE_PREINV_MOD_1 1 /* preinv always */
|
|
|
|
#define DIVREM_2_THRESHOLD 0 /* preinv always */
|
|
|
|
#define DIVEXACT_1_THRESHOLD 0 /* always */
|
|
|
|
#define MODEXACT_1_ODD_THRESHOLD 0 /* always */
|
2014-03-26 10:54:46 -04:00
|
|
|
#define MOD_1_1_THRESHOLD 6
|
|
|
|
#define MOD_1_2_THRESHOLD 40
|
|
|
|
#define MOD_1_3_THRESHOLD 40
|
|
|
|
#define DIVREM_HENSEL_QR_1_THRESHOLD 5
|
|
|
|
#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 53
|
|
|
|
#define DIVREM_EUCLID_HENSEL_THRESHOLD 129
|
2008-04-18 13:20:42 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define MUL_FFT_FULL_THRESHOLD 3904
|
2009-06-02 16:16:29 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define SQR_FFT_FULL_THRESHOLD 2880
|
2008-04-18 13:20:42 -04:00
|
|
|
|
2010-04-02 03:15:12 -04:00
|
|
|
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
2012-10-25 18:14:23 -04:00
|
|
|
#define MULLOW_DC_THRESHOLD 53
|
2014-03-26 10:54:46 -04:00
|
|
|
#define MULLOW_MUL_THRESHOLD 5565
|
2012-10-25 18:14:23 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define MULHIGH_BASECASE_THRESHOLD 6
|
|
|
|
#define MULHIGH_DC_THRESHOLD 50
|
|
|
|
#define MULHIGH_MUL_THRESHOLD 6327
|
2012-10-25 18:14:23 -04:00
|
|
|
|
|
|
|
#define MULMOD_2EXPM1_THRESHOLD 26
|
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define DC_DIV_QR_THRESHOLD 75
|
|
|
|
#define INV_DIV_QR_THRESHOLD 2801
|
|
|
|
#define INV_DIVAPPR_Q_N_THRESHOLD 75
|
|
|
|
#define DC_DIV_Q_THRESHOLD 106
|
|
|
|
#define INV_DIV_Q_THRESHOLD 1308
|
|
|
|
#define DC_DIVAPPR_Q_THRESHOLD 159
|
|
|
|
#define INV_DIVAPPR_Q_THRESHOLD 10225
|
|
|
|
#define DC_BDIV_QR_THRESHOLD 76
|
|
|
|
#define DC_BDIV_Q_THRESHOLD 88
|
|
|
|
|
|
|
|
#define ROOTREM_THRESHOLD 6
|
|
|
|
|
|
|
|
#define MATRIX22_STRASSEN_THRESHOLD 15
|
|
|
|
#define HGCD_THRESHOLD 144
|
|
|
|
#define HGCD_APPR_THRESHOLD 222
|
|
|
|
#define HGCD_REDUCE_THRESHOLD 6852
|
|
|
|
#define GCD_DC_THRESHOLD 642
|
|
|
|
#define GCDEXT_DC_THRESHOLD 424
|
|
|
|
#define JACOBI_BASE_METHOD 2
|
|
|
|
|
|
|
|
#define GET_STR_DC_THRESHOLD 9
|
|
|
|
#define GET_STR_PRECOMPUTE_THRESHOLD 20
|
|
|
|
#define SET_STR_DC_THRESHOLD 272
|
|
|
|
#define SET_STR_PRECOMPUTE_THRESHOLD 1616
|
|
|
|
|
|
|
|
#define FAC_DSC_THRESHOLD 228
|
|
|
|
#define FAC_ODD_THRESHOLD 34
|
2012-10-25 18:14:23 -04:00
|
|
|
|
|
|
|
/* fft_tuning -- autogenerated by tune-fft */
|
|
|
|
|
|
|
|
#define FFT_TAB \
|
2014-03-26 10:54:46 -04:00
|
|
|
{ { 3, 3 }, { 3, 2 }, { 2, 1 }, { 1, 0 }, { 0, 0 } }
|
2012-10-25 18:14:23 -04:00
|
|
|
|
|
|
|
#define MULMOD_TAB \
|
2014-03-26 10:54:46 -04:00
|
|
|
{ 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1 }
|
2012-10-25 18:14:23 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
#define FFT_N_NUM 19
|
2012-10-25 18:14:23 -04:00
|
|
|
|
|
|
|
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
|
|
|
|
2008-04-18 13:20:42 -04:00
|
|
|
|
2014-03-26 10:54:46 -04:00
|
|
|
/* Tuneup completed successfully, took 779 seconds */
|
|
|
|
|