2010-03-24 15:32:19 -04:00
|
|
|
/* Generated by tuneup.c, 2010-03-24, gcc 4.2 */
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define MUL_KARATSUBA_THRESHOLD 19
|
|
|
|
#define MUL_TOOM3_THRESHOLD 56
|
|
|
|
#define MUL_TOOM4_THRESHOLD 154
|
|
|
|
#define MUL_TOOM8H_THRESHOLD 224
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2009-02-19 18:22:30 -05:00
|
|
|
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
|
2010-02-18 11:03:50 -05:00
|
|
|
#define SQR_KARATSUBA_THRESHOLD 24
|
2009-05-18 20:57:17 -04:00
|
|
|
#define SQR_TOOM3_THRESHOLD 85
|
2010-03-24 15:32:19 -04:00
|
|
|
#define SQR_TOOM4_THRESHOLD 246
|
|
|
|
#define SQR_TOOM8_THRESHOLD 270
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define POWM_THRESHOLD 64
|
2010-02-06 22:28:55 -05:00
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define GCD_ACCEL_THRESHOLD 64
|
|
|
|
#define GCDEXT_THRESHOLD 152
|
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
|
2010-02-06 22:28:55 -05:00
|
|
|
#define MOD_1_3_THRESHOLD 17
|
2010-03-06 22:46:51 -05:00
|
|
|
#define DIVREM_HENSEL_QR_1_THRESHOLD 8
|
2010-02-06 22:28:55 -05:00
|
|
|
#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 3
|
2010-03-24 15:32:19 -04:00
|
|
|
#define DIVREM_EUCLID_HENSEL_THRESHOLD 8
|
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
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define GET_STR_DC_THRESHOLD 12
|
2010-03-06 22:46:51 -05:00
|
|
|
#define GET_STR_PRECOMPUTE_THRESHOLD 17
|
2010-03-24 15:32:19 -04:00
|
|
|
#define SET_STR_DC_THRESHOLD 6984
|
|
|
|
#define SET_STR_PRECOMPUTE_THRESHOLD 27317
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define MUL_FFT_TABLE { 336, 800, 2112, 2816, 7168, 20480, 81920, 327680, 1835008, 5242880, 20971520, 0 }
|
2010-03-14 14:50:31 -04:00
|
|
|
#define MUL_FFT_MODF_THRESHOLD 400
|
2010-03-24 15:32:19 -04:00
|
|
|
#define MUL_FFT_FULL_THRESHOLD 2240
|
2008-06-03 23:47:49 -04:00
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define SQR_FFT_TABLE { 336, 800, 1984, 2816, 7168, 20480, 81920, 327680, 1835008, 5242880, 20971520, 0 }
|
2010-03-14 14:50:31 -04:00
|
|
|
#define SQR_FFT_MODF_THRESHOLD 336
|
|
|
|
#define SQR_FFT_FULL_THRESHOLD 2112
|
|
|
|
|
2010-03-24 15:32:19 -04:00
|
|
|
#define MULLOW_BASECASE_THRESHOLD 17
|
|
|
|
#define MULLOW_DC_THRESHOLD 17
|
|
|
|
#define MULLOW_MUL_THRESHOLD 3754
|
|
|
|
|
|
|
|
#define MULHIGH_BASECASE_THRESHOLD 18
|
|
|
|
#define MULHIGH_DC_THRESHOLD 18
|
|
|
|
#define MULHIGH_MUL_THRESHOLD 3754
|
|
|
|
|
|
|
|
#define MULMOD_2EXPM1_THRESHOLD 16
|
|
|
|
|
|
|
|
#define FAC_UI_THRESHOLD 14657
|
|
|
|
#define DC_DIV_QR_THRESHOLD 41
|
2010-03-14 14:50:31 -04:00
|
|
|
#define DC_DIVAPPR_Q_N_THRESHOLD 122
|
2010-03-24 15:32:19 -04:00
|
|
|
#define INV_DIV_QR_THRESHOLD 2801
|
2010-03-14 14:50:31 -04:00
|
|
|
#define INV_DIVAPPR_Q_N_THRESHOLD 122
|
|
|
|
#define DC_DIV_Q_THRESHOLD 148
|
|
|
|
#define INV_DIV_Q_THRESHOLD 3762
|
2010-03-24 15:32:19 -04:00
|
|
|
#define DC_DIVAPPR_Q_THRESHOLD 124
|
|
|
|
#define INV_DIVAPPR_Q_THRESHOLD 8669
|
|
|
|
#define DC_BDIV_QR_THRESHOLD 48
|
|
|
|
#define DC_BDIV_Q_THRESHOLD 35
|
|
|
|
/* Tuneup completed successfully, took 3298 seconds */
|
2010-03-24 20:03:23 -04:00
|
|
|
|
|
|
|
#define MUL_FFT_TABLE2 {{1, 4}, {306, 5}, {313, 4}, {320, 5}, {328, 4}, {344, 5}, {360, 4}, {377, 5}, {680, 6}, {711, 5}, {743, 6}, {777, 5}, {795, 6}, {1760, 7}, {1799, 6}, {1880, 7}, {1922, 6}, {2009, 7}, {2727, 8}, {2849, 7}, {3109, 8}, {3393, 7}, {3468, 8}, {5478, 9}, {5721, 8}, {6957, 9}, {7756, 8}, {8460, 9}, {8836, 8}, {9030, 9}, {9850, 8}, {10066, 9}, {13939, 10}, {15535, 9}, {18084, 10}, {19722, 9}, {20154, 10}, {23970, 9}, {24495, 10}, {27898, 11}, {31091, 10}, {31772, 9}, {32468, 10}, {40326, 11}, {47962, 10}, {57042, 11}, {58292, 12}, {59569, 11}, {60874, 12}, {63570, 10}, {69326, 11}, {80681, 10}, {82448, 11}, {114110, 12}, {127165, 11}, {164920, 12}, {196129, 13}, {254354, 12}, {259924, 11}, {277377, 12}, {392279, 13}, {519871, 12}, {531255, 11}, {566925, 12}, {592026, 11}, {631776, 12}, {659749, 13}, {784582, 12}, {995682, 13}, {MP_SIZE_T_MAX,0}}
|
|
|
|
|
|
|
|
#define MUL_FFTM_TABLE2 {{1, 4}, {278, 5}, {292, 4}, {306, 5}, {328, 4}, {344, 5}, {636, 6}, {650, 5}, {680, 6}, {711, 5}, {743, 6}, {1352, 7}, {1413, 6}, {1476, 7}, {1543, 6}, {1612, 7}, {3468, 8}, {3622, 7}, {3784, 8}, {3867, 7}, {4039, 8}, {5478, 9}, {5721, 8}, {6518, 9}, {6661, 8}, {6957, 9}, {7756, 8}, {8100, 9}, {13939, 10}, {15535, 9}, {16944, 10}, {19722, 9}, {20154, 10}, {27898, 11}, {31091, 10}, {36184, 11}, {39461, 10}, {40326, 11}, {47962, 10}, {49013, 11}, {55819, 12}, {58292, 13}, {62207, 12}, {63570, 10}, {64963, 11}, {80681, 12}, {95949, 11}, {114110, 12}, {127165, 11}, {138676, 12}, {161386, 11}, {164920, 12}, {228243, 13}, {254354, 12}, {329862, 13}, {392279, 12}, {427785, 13}, {437153, 14}, {508731, 13}, {519871, 12}, {554776, 13}, {784582, 14}, {855595, 13}, {913042, 14}, {MP_SIZE_T_MAX,0}}
|
|
|
|
|
|
|
|
#define SQR_FFT_TABLE2 {{1, 4}, {278, 5}, {292, 4}, {306, 5}, {328, 4}, {344, 5}, {622, 6}, {650, 5}, {680, 6}, {711, 5}, {743, 6}, {1612, 7}, {1685, 6}, {1760, 7}, {1799, 6}, {1880, 7}, {1922, 6}, {2009, 7}, {2610, 8}, {2849, 7}, {2976, 8}, {3393, 7}, {3468, 8}, {5478, 9}, {5721, 8}, {6518, 9}, {6661, 8}, {6957, 9}, {7756, 8}, {8100, 9}, {8836, 8}, {9030, 9}, {9850, 8}, {10066, 9}, {13939, 10}, {15535, 9}, {18084, 10}, {19722, 9}, {20154, 10}, {23970, 9}, {24495, 10}, {27898, 11}, {31091, 10}, {40326, 11}, {47962, 10}, {52305, 11}, {62207, 12}, {63570, 10}, {64963, 11}, {80681, 10}, {82448, 11}, {98051, 12}, {127165, 11}, {164920, 12}, {196129, 13}, {254354, 12}, {259924, 11}, {265616, 10}, {283451, 11}, {289658, 12}, {329862, 10}, {359720, 11}, {367597, 12}, {392279, 11}, {427785, 12}, {437153, 13}, {519871, 12}, {531255, 11}, {719463, 12}, {735218, 13}, {784582, 12}, {995682, 13}, {MP_SIZE_T_MAX,0}}
|
|
|
|
|
|
|
|
#define SQR_FFTM_TABLE2 {{1, 4}, {278, 5}, {292, 4}, {306, 5}, {622, 6}, {650, 5}, {680, 6}, {1238, 7}, {1294, 6}, {1352, 7}, {1413, 6}, {1476, 7}, {3248, 8}, {3393, 7}, {3468, 8}, {3622, 7}, {3784, 8}, {5478, 9}, {5721, 8}, {6241, 9}, {6661, 8}, {6957, 9}, {10980, 10}, {11467, 9}, {13061, 10}, {13347, 9}, {13939, 10}, {15535, 9}, {15876, 10}, {17696, 9}, {18084, 10}, {19722, 9}, {20154, 10}, {27898, 11}, {31091, 10}, {36184, 11}, {39461, 10}, {40326, 11}, {47962, 10}, {49013, 11}, {55819, 12}, {58292, 13}, {62207, 12}, {63570, 11}, {80681, 12}, {95949, 11}, {104637, 12}, {127165, 11}, {138676, 12}, {161386, 11}, {164920, 12}, {196129, 13}, {254354, 12}, {329862, 13}, {392279, 14}, {508731, 13}, {519871, 12}, {531255, 11}, {566925, 12}, {579340, 13}, {659749, 11}, {719463, 10}, {735218, 11}, {751318, 12}, {767770, 13}, {784582, 12}, {855595, 13}, {874331, 14}, {MP_SIZE_T_MAX,0}}
|
|
|
|
|
|
|
|
#define MUL_FFT_FULL_TABLE2 {{16, 2}, {1022, 1}, {1045, 2}, {1068, 1}, {1092, 2}, {1116, 1}, {1219, 2}, {1274, 1}, {1422, 2}, {1454, 1}, {1734, 4}, {1772, 1}, {1811, 2}, {1851, 1}, {1934, 2}, {2021, 1}, {2066, 4}, {2112, 6}, {2256, 5}, {2357, 4}, {2409, 1}, {2462, 3}, {2572, 1}, {2746, 2}, {2932, 4}, {3063, 1}, {3131, 2}, {3271, 1}, {3343, 4}, {3417, 3}, {3648, 4}, {3728, 1}, {3894, 2}, {4068, 3}, {4158, 2}, {4250, 1}, {4344, 2}, {4440, 5}, {4740, 4}, {4844, 1}, {4951, 3}, {5171, 2}, {5285, 1}, {5401, 4}, {5520, 1}, {5641, 2}, {5765, 1}, {5892, 4}, {6154, 6}, {6289, 2}, {6568, 1}, {6712, 4}, {6859, 1}, {7010, 4}, {7482, 1}, {7814, 2}, {8523, 4}, {8710, 2}, {8901, 5}, {9296, 1}, {9922, 3}, {10363, 2}, {10590, 1}, {10822, 2}, {11550, 1}, {11803, 2}, {12062, 4}, {12327, 1}, {14040, 4}, {14985, 1}, {15993, 2}, {17824, 5}, {18614, 4}, {19439, 1}, {19865, 3}, {20745, 1}, {23628, 2}, {24146, 4}, {24675, 1}, {28104, 4}, {29992, 1}, {32007, 2}, {35670, 1}, {36452, 4}, {37251, 5}, {38901, 1}, {40624, 3}, {41514, 1}, {47280, 4}, {50456, 3}, {53845, 1}, {56230, 2}, {58721, 4}, {60007, 3}, {62664, 2}, {64037, 1}, {65440, 2}, {71365, 1}, {72928, 4}, {79530, 1}, {81272, 3}, {83052, 1}, {84871, 3}, {86730, 2}, {88630, 1}, {94582, 4}, {96654, 2}, {98771, 4}, {100934, 1}, {105404, 2}, {107713, 1}, {130905, 2}, {142755, 5}, {149076, 6}, {152341, 3}, {155677, 1}, {162570, 3}, {166130, 2}, {169768, 3}, {173486, 2}, {197567, 4}, {201894, 3}, {215450, 1}, {261830, 2}, {291783, 5}, {298173, 6}, {304703, 4}, {325163, 3}, {346997, 2}, {395159, 4}, {403812, 1}, {523686, 2}, {583592, 1}, {650350, 2}, {664591, 3}, {694016, 1}, {790340, 4}, {825333, 3}, {880748, 1}, {MP_SIZE_T_MAX,0}}
|
|
|
|
|
|
|
|
#define SQR_FFT_FULL_TABLE2 {{16, 1}, {1422, 2}, {1454, 1}, {1519, 2}, {1659, 1}, {1696, 2}, {1734, 4}, {1772, 1}, {1811, 2}, {1892, 1}, {1934, 4}, {2021, 1}, {2066, 4}, {2112, 6}, {2256, 5}, {2357, 4}, {2409, 1}, {2462, 3}, {2572, 4}, {2746, 2}, {2932, 4}, {3063, 2}, {3271, 4}, {3417, 2}, {3492, 3}, {3648, 4}, {3728, 1}, {3894, 2}, {4068, 1}, {4440, 4}, {4538, 5}, {4740, 4}, {4844, 1}, {4951, 3}, {5171, 2}, {5285, 1}, {5401, 4}, {5520, 1}, {5641, 2}, {5765, 1}, {5892, 4}, {6154, 6}, {6289, 2}, {6568, 1}, {6712, 4}, {6859, 1}, {7010, 2}, {7321, 1}, {7814, 2}, {8161, 1}, {8340, 2}, {8523, 1}, {8710, 2}, {8901, 5}, {9296, 1}, {9922, 3}, {10363, 2}, {10590, 1}, {10822, 2}, {11550, 1}, {11803, 4}, {12327, 1}, {12873, 2}, {13155, 1}, {14040, 4}, {14348, 2}, {14663, 1}, {15993, 2}, {17068, 4}, {17442, 2}, {17824, 5}, {19022, 4}, {19439, 1}, {19865, 3}, {20745, 1}, {21200, 2}, {23121, 1}, {23628, 2}, {24146, 4}, {24675, 1}, {32007, 2}, {35670, 1}, {36452, 4}, {38067, 5}, {38901, 1}, {40624, 3}, {41514, 2}, {46266, 1}, {47280, 4}, {50456, 3}, {53845, 1}, {58721, 4}, {60007, 3}, {62664, 6}, {64037, 9}, {65440, 12}, {66873, 11}, {68338, 10}, {69835, 7}, {71365, 8}, {72928, 5}, {74525, 4}, {79530, 1}, {81272, 3}, {83052, 2}, {88630, 1}, {94582, 4}, {96654, 1}, {130905, 2}, {142755, 5}, {149076, 6}, {152341, 3}, {166130, 2}, {197567, 4}, {201894, 1}, {261830, 2}, {267564, 5}, {273423, 7}, {279411, 9}, {291783, 7}, {298173, 6}, {304703, 4}, {325163, 3}, {346997, 2}, {395159, 4}, {403812, 1}, {523686, 2}, {535154, 5}, {546873, 2}, {583592, 1}, {650350, 2}, {664591, 3}, {694016, 2}, {773404, 1}, {MP_SIZE_T_MAX,0}}
|
|
|
|
|
|
|
|
/* Tuneup completed successfully, took 40 seconds */
|