2012-10-23 21:58:08 -04:00
|
|
|
/* Generated by tuneup.c, 2012-10-23, gcc 4.2 */
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2012-10-23 21:58:08 -04:00
|
|
|
#define MUL_KARATSUBA_THRESHOLD 16
|
|
|
|
#define MUL_TOOM3_THRESHOLD 61
|
|
|
|
#define MUL_TOOM4_THRESHOLD 148
|
|
|
|
#define MUL_TOOM8H_THRESHOLD 222
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2009-02-19 18:22:30 -05:00
|
|
|
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
|
2014-02-17 16:08:46 -05:00
|
|
|
#define SQR_KARATSUBA_THRESHOLD 22
|
2012-10-23 21:58:08 -04:00
|
|
|
#define SQR_TOOM3_THRESHOLD 90
|
|
|
|
#define SQR_TOOM4_THRESHOLD 246
|
|
|
|
#define SQR_TOOM8_THRESHOLD 272
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2011-12-03 13:33:44 -05:00
|
|
|
#define POWM_THRESHOLD 62
|
2010-02-06 22:28:55 -05:00
|
|
|
|
2012-10-23 21:58:08 -04:00
|
|
|
#define HGCD_THRESHOLD 42
|
|
|
|
#define GCD_DC_THRESHOLD 2279
|
|
|
|
#define GCDEXT_DC_THRESHOLD 1517
|
2008-06-03 23:47:49 -04:00
|
|
|
#define JACOBI_BASE_METHOD 1
|
|
|
|
|
2009-04-01 09:37:17 -04:00
|
|
|
#define DIVREM_1_NORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
|
|
|
#define DIVREM_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
2008-06-03 23:47:49 -04:00
|
|
|
#define MOD_1_NORM_THRESHOLD 0 /* always */
|
|
|
|
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
|
2010-02-06 22:28:55 -05:00
|
|
|
#define USE_PREINV_DIVREM_1 1 /* native */
|
2008-06-03 23:47:49 -04:00
|
|
|
#define USE_PREINV_MOD_1 1
|
|
|
|
#define DIVEXACT_1_THRESHOLD 0 /* always */
|
2009-04-01 09:37:17 -04:00
|
|
|
#define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */
|
2010-02-06 22:28:55 -05:00
|
|
|
#define MOD_1_1_THRESHOLD 5
|
2010-03-24 15:32:19 -04:00
|
|
|
#define MOD_1_2_THRESHOLD 8
|
2012-10-23 21:58:08 -04:00
|
|
|
#define MOD_1_3_THRESHOLD 22
|
|
|
|
#define DIVREM_HENSEL_QR_1_THRESHOLD 7
|
2010-02-06 22:28:55 -05:00
|
|
|
#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 3
|
2012-10-23 21:58:08 -04:00
|
|
|
#define DIVREM_EUCLID_HENSEL_THRESHOLD 15
|
2010-02-06 22:28:55 -05:00
|
|
|
|
2010-02-18 11:03:50 -05:00
|
|
|
#define ROOTREM_THRESHOLD 6
|
2008-09-11 19:50:19 -04:00
|
|
|
|
2012-10-23 21:58:08 -04:00
|
|
|
#define GET_STR_DC_THRESHOLD 12
|
2010-03-06 22:46:51 -05:00
|
|
|
#define GET_STR_PRECOMPUTE_THRESHOLD 17
|
2012-10-23 21:58:08 -04:00
|
|
|
#define SET_STR_DC_THRESHOLD 6203
|
|
|
|
#define SET_STR_PRECOMPUTE_THRESHOLD 7122
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2012-10-23 21:58:08 -04:00
|
|
|
#define MUL_FFT_FULL_THRESHOLD 3008
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2014-02-17 16:08:46 -05:00
|
|
|
#define SQR_FFT_FULL_THRESHOLD 2496
|
2010-03-14 14:50:31 -04:00
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define MULLOW_BASECASE_THRESHOLD 17
|
|
|
|
#define MULLOW_DC_THRESHOLD 17
|
2012-10-23 21:58:08 -04:00
|
|
|
#define MULLOW_MUL_THRESHOLD 2324
|
2010-03-24 15:32:19 -04:00
|
|
|
|
2011-12-03 13:33:44 -05:00
|
|
|
#define MULHIGH_BASECASE_THRESHOLD 18
|
|
|
|
#define MULHIGH_DC_THRESHOLD 18
|
2012-10-23 21:58:08 -04:00
|
|
|
#define MULHIGH_MUL_THRESHOLD 2324
|
2010-03-24 15:32:19 -04:00
|
|
|
|
2011-12-03 13:33:44 -05:00
|
|
|
#define MULMOD_2EXPM1_THRESHOLD 12
|
2010-03-24 15:32:19 -04:00
|
|
|
|
2012-10-23 21:58:08 -04:00
|
|
|
#define FAC_UI_THRESHOLD 1590
|
|
|
|
#define DC_DIV_QR_THRESHOLD 258
|
|
|
|
#define DC_DIVAPPR_Q_N_THRESHOLD 118
|
|
|
|
#define INV_DIV_QR_THRESHOLD 501
|
|
|
|
#define INV_DIVAPPR_Q_N_THRESHOLD 118
|
2010-03-14 14:50:31 -04:00
|
|
|
#define DC_DIV_Q_THRESHOLD 148
|
2012-10-23 21:58:08 -04:00
|
|
|
#define INV_DIV_Q_THRESHOLD 4860
|
|
|
|
#define DC_DIVAPPR_Q_THRESHOLD 128
|
|
|
|
#define INV_DIVAPPR_Q_THRESHOLD 11993
|
|
|
|
#define DC_BDIV_QR_THRESHOLD 258
|
|
|
|
#define DC_BDIV_Q_THRESHOLD 42
|
|
|
|
|
|
|
|
/* fft_tuning -- autogenerated by tune-fft */
|
|
|
|
|
|
|
|
#define FFT_TAB \
|
|
|
|
{ { 4, 3 }, { 4, 3 }, { 3, 2 }, { 2, 1 }, { 1, 0 } }
|
|
|
|
|
|
|
|
#define MULMOD_TAB \
|
|
|
|
{ 4, 3, 3, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
|
|
|
|
|
|
|
#define FFT_N_NUM 15
|
|
|
|
|
|
|
|
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
|
|
|
|
|
|
|
|
|
|
|
/* Tuneup completed successfully, took 151 seconds */
|