Remove unused tuning values, insert provisional FFT tuning values. See #92.
This commit is contained in:
parent
08e6470110
commit
af5e5416c8
@ -37,14 +37,9 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 56
|
||||
#define MULLOW_MUL_N_THRESHOLD 268
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* preinv always */
|
||||
#define DIV_DC_THRESHOLD 52
|
||||
#define POWM_THRESHOLD 89
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
#define DIVREM_1_NORM_THRESHOLD 0 /* preinv always */
|
||||
@ -59,7 +54,6 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 19
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 23
|
||||
#define SET_STR_THRESHOLD 4385
|
||||
|
||||
/* The following values are old, we only had access to GNU/Linux ev5 machines
|
||||
and the Linux kernel doesn't maintain the cycle counter properly. */
|
||||
@ -67,3 +61,16 @@ MA 02110-1301, USA. */
|
||||
#define MUL_FFT_FULL_THRESHOLD 2176
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 2688
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -36,14 +36,9 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 100
|
||||
#define MULLOW_MUL_N_THRESHOLD 620
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* preinv always */
|
||||
#define DIV_DC_THRESHOLD 120
|
||||
#define POWM_THRESHOLD 230
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
#define DIVREM_1_NORM_THRESHOLD 0 /* preinv always */
|
||||
@ -58,8 +53,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 21
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 26
|
||||
#define SET_STR_THRESHOLD 29473
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 3712
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3968
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -37,13 +37,9 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 36
|
||||
#define MULLOW_MUL_N_THRESHOLD 236
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* preinv always */
|
||||
#define DIV_DC_THRESHOLD 38
|
||||
#define POWM_THRESHOLD 53
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
#define DIVREM_1_NORM_THRESHOLD 0 /* preinv always */
|
||||
@ -58,8 +54,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 20
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 35
|
||||
#define SET_STR_THRESHOLD 3296
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 1920
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 1920
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -22,3 +22,16 @@ MA 02110-1301, USA. */
|
||||
|
||||
/* Values for BITS_PER_MP_LIMB etc will be determined by ./configure and put
|
||||
in config.h. */
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -34,11 +34,8 @@ USA. */
|
||||
#define SQR_KARATSUBA_THRESHOLD 57
|
||||
#define SQR_TOOM3_THRESHOLD 78
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* always */
|
||||
#define DIV_DC_THRESHOLD 57
|
||||
#define POWM_THRESHOLD 78
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 18
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
@ -54,8 +51,20 @@ USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 19
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 25
|
||||
#define SET_STR_THRESHOLD 309
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 5888
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 5376
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -39,13 +39,9 @@ USA. */
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 56
|
||||
#define MULLOW_MUL_N_THRESHOLD 620
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* always */
|
||||
#define DIV_DC_THRESHOLD 56
|
||||
#define POWM_THRESHOLD 73
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 34
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
@ -59,8 +55,20 @@ USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 19
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 28
|
||||
#define SET_STR_THRESHOLD 7059
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 1920
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 1920
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -38,13 +38,9 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 36
|
||||
#define MULLOW_MUL_N_THRESHOLD 234
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 4
|
||||
#define DIV_DC_THRESHOLD 32
|
||||
#define POWM_THRESHOLD 48
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 22
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
@ -60,8 +56,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 13
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 23
|
||||
#define SET_STR_THRESHOLD 2997
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 1792
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 2304
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -29,12 +29,8 @@ MA 02110-1301, USA. */
|
||||
#define SQR_KARATSUBA_THRESHOLD 16
|
||||
#define SQR_TOOM3_THRESHOLD 258
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 4
|
||||
#define DIV_DC_THRESHOLD 28
|
||||
#define POWM_THRESHOLD 28
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
#define DIVREM_1_NORM_THRESHOLD 3
|
||||
@ -49,8 +45,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 21
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 25
|
||||
#define SET_STR_THRESHOLD 1012
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 2304
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 2304
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -21,12 +21,9 @@
|
||||
|
||||
#define MULMOD_2EXPM1_THRESHOLD 18
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 4
|
||||
#define DIV_DC_THRESHOLD 69
|
||||
#define POWM_THRESHOLD 185
|
||||
#define FAC_UI_THRESHOLD 2169
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 1
|
||||
#define GCDEXT_THRESHOLD 82
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
@ -46,10 +43,21 @@
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 25
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 36
|
||||
#define SET_STR_THRESHOLD 5835
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 7168
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3840
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 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 62 seconds */
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#define POWM_THRESHOLD 984
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 64
|
||||
#define GCDEXT_THRESHOLD 104
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
@ -61,4 +60,17 @@
|
||||
#define INV_DIVAPPR_Q_THRESHOLD 5363
|
||||
#define DC_BDIV_QR_THRESHOLD 110
|
||||
#define DC_BDIV_Q_THRESHOLD 42
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 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 404 seconds */
|
||||
|
@ -55,3 +55,16 @@ MA 02110-1301, USA. */
|
||||
#define MUL_FFT_FULL_THRESHOLD 2000
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3000
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -55,3 +55,16 @@ MA 02110-1301, USA. */
|
||||
#define MUL_FFT_FULL_THRESHOLD 2000
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3000
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -34,11 +34,8 @@ MA 02110-1301, USA. */
|
||||
#define SQR_KARATSUBA_THRESHOLD 49
|
||||
#define SQR_TOOM3_THRESHOLD 238
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */
|
||||
#define DIV_DC_THRESHOLD 72
|
||||
#define POWM_THRESHOLD 38
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 55
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
@ -50,8 +47,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 32
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 82
|
||||
#define SET_STR_THRESHOLD 3524
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 2816
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 2816
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -36,13 +36,9 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 72
|
||||
#define MULLOW_MUL_N_THRESHOLD 333
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */
|
||||
#define DIV_DC_THRESHOLD 69
|
||||
#define POWM_THRESHOLD 101
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 46
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
@ -54,8 +50,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 44
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 71
|
||||
#define SET_STR_THRESHOLD 6418
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 3840
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3840
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#define POWM_THRESHOLD 180
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 52
|
||||
#define GCD_THRESHOLD 330
|
||||
#define GCDEXT_THRESHOLD 996
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
@ -62,4 +61,17 @@
|
||||
#define INV_DIVAPPR_Q_THRESHOLD 3690
|
||||
#define DC_BDIV_QR_THRESHOLD 88
|
||||
#define DC_BDIV_Q_THRESHOLD 448
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 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 1025 seconds */
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#define POWM_THRESHOLD 180
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 54
|
||||
#define GCDEXT_THRESHOLD 39
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
@ -61,4 +60,17 @@
|
||||
#define INV_DIVAPPR_Q_THRESHOLD 3119
|
||||
#define DC_BDIV_QR_THRESHOLD 102
|
||||
#define DC_BDIV_Q_THRESHOLD 960
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 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 378 seconds */
|
||||
|
@ -21,12 +21,9 @@
|
||||
|
||||
#define MULMOD_2EXPM1_THRESHOLD 18
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 48
|
||||
#define DIV_DC_THRESHOLD 55
|
||||
#define POWM_THRESHOLD 330
|
||||
#define FAC_UI_THRESHOLD 2046
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 1
|
||||
#define GCDEXT_THRESHOLD 89
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
@ -46,10 +43,21 @@
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 23
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 38
|
||||
#define SET_STR_THRESHOLD 7059
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 7168
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 4352
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 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 40 seconds */
|
||||
|
@ -42,11 +42,8 @@ MA 02110-1301, USA. */
|
||||
#define SQR_KARATSUBA_THRESHOLD 52
|
||||
#define SQR_TOOM3_THRESHOLD 189
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* always */
|
||||
#define DIV_DC_THRESHOLD 116
|
||||
#define POWM_THRESHOLD 131
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 33
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
@ -58,8 +55,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 18
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 23
|
||||
#define SET_STR_THRESHOLD 6093
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 2816
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 2816
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -45,11 +45,8 @@ MA 02110-1301, USA. */
|
||||
#define MULLOW_DC_THRESHOLD 56
|
||||
#define MULLOW_MUL_N_THRESHOLD 414
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* always */
|
||||
#define DIV_DC_THRESHOLD 64
|
||||
#define POWM_THRESHOLD 101
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 63
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
@ -61,8 +58,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 21
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 24
|
||||
#define SET_STR_THRESHOLD 3625
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 3328
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3840
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -40,11 +40,8 @@ MA 02110-1301, USA. */
|
||||
#define SQR_KARATSUBA_THRESHOLD 22
|
||||
#define SQR_TOOM3_THRESHOLD 122
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */
|
||||
#define DIV_DC_THRESHOLD 52
|
||||
#define POWM_THRESHOLD 77
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 13
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
@ -56,8 +53,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 23
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 33
|
||||
#define SET_STR_THRESHOLD 2788
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 3328
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3328
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -40,11 +40,8 @@ MA 02110-1301, USA. */
|
||||
#define SQR_KARATSUBA_THRESHOLD 20
|
||||
#define SQR_TOOM3_THRESHOLD 77
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD MP_SIZE_T_MAX /* never */
|
||||
#define DIV_DC_THRESHOLD 37
|
||||
#define POWM_THRESHOLD 73
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
#define GCDEXT_THRESHOLD 14
|
||||
#define JACOBI_BASE_METHOD 2
|
||||
|
||||
@ -56,8 +53,20 @@ MA 02110-1301, USA. */
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 21
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 27
|
||||
#define SET_STR_THRESHOLD 2121
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 3328
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 3840
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 2 }, { 2, 1 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 3, 3, 3, 3, 3, 3, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 15
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
@ -1,67 +1,89 @@
|
||||
/* AMD K7 gmp-mparam.h -- Compiler/machine parameter header file.
|
||||
/* Generated by tuneup.c, 2014-03-21, gcc 4.7 */
|
||||
|
||||
Copyright 1991, 1993, 1994, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
|
||||
Software Foundation, Inc.
|
||||
#define MUL_KARATSUBA_THRESHOLD 17
|
||||
#define MUL_TOOM3_THRESHOLD 98
|
||||
#define MUL_TOOM4_THRESHOLD 148
|
||||
#define MUL_TOOM8H_THRESHOLD 238
|
||||
|
||||
This file is part of the GNU MP Library.
|
||||
#define SQR_BASECASE_THRESHOLD 0 /* always (native) */
|
||||
#define SQR_KARATSUBA_THRESHOLD 24
|
||||
#define SQR_TOOM3_THRESHOLD 89
|
||||
#define SQR_TOOM4_THRESHOLD 234
|
||||
#define SQR_TOOM8_THRESHOLD 321
|
||||
|
||||
The GNU MP Library is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2.1 of the License, or (at your
|
||||
option) any later version.
|
||||
#define POWM_THRESHOLD 146
|
||||
|
||||
The GNU MP Library is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
||||
License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with the GNU MP Library; see the file COPYING.LIB. If not, write to
|
||||
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA. */
|
||||
|
||||
#define BITS_PER_MP_LIMB 64
|
||||
#define BYTES_PER_MP_LIMB 8
|
||||
|
||||
/* Generated by tuneup.c, 2006-03-21, gcc 3.4 */
|
||||
|
||||
#define MUL_KARATSUBA_THRESHOLD 31
|
||||
#define MUL_TOOM3_THRESHOLD 105
|
||||
#define MUL_TOOM4_THRESHOLD 426
|
||||
#define MUL_TOOM7_THRESHOLD 507
|
||||
|
||||
#define SQR_BASECASE_THRESHOLD 4
|
||||
#define SQR_KARATSUBA_THRESHOLD 34
|
||||
#define SQR_TOOM3_THRESHOLD 119
|
||||
#define SQR_TOOM4_THRESHOLD 662
|
||||
#define SQR_TOOM7_THRESHOLD 1300
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 116
|
||||
#define MULLOW_MUL_N_THRESHOLD 725
|
||||
|
||||
#define DIV_SB_PREINV_THRESHOLD 0 /* always */
|
||||
#define DIV_DC_THRESHOLD 78
|
||||
#define POWM_THRESHOLD 218
|
||||
|
||||
#define GCD_ACCEL_THRESHOLD 3
|
||||
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
#define DIVREM_1_NORM_THRESHOLD 0 /* always */
|
||||
#define DIVREM_1_UNNORM_THRESHOLD 0 /* always */
|
||||
#define DIVREM_1_NORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
||||
#define DIVREM_1_UNNORM_THRESHOLD MP_SIZE_T_MAX /* never */
|
||||
#define MOD_1_NORM_THRESHOLD 0 /* always */
|
||||
#define MOD_1_UNNORM_THRESHOLD 0 /* always */
|
||||
#define USE_PREINV_DIVREM_1 1
|
||||
#define USE_PREINV_DIVREM_1 1 /* native */
|
||||
#define USE_PREINV_MOD_1 1
|
||||
#define DIVREM_2_THRESHOLD 0 /* always */
|
||||
#define DIVEXACT_1_THRESHOLD 0 /* always */
|
||||
#define MODEXACT_1_ODD_THRESHOLD 0 /* always (native) */
|
||||
#define MOD_1_1_THRESHOLD 6
|
||||
#define MOD_1_2_THRESHOLD 7
|
||||
#define MOD_1_3_THRESHOLD 13
|
||||
#define DIVREM_HENSEL_QR_1_THRESHOLD 11
|
||||
#define RSH_DIVREM_HENSEL_QR_1_THRESHOLD 19
|
||||
#define DIVREM_EUCLID_HENSEL_THRESHOLD 30
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 13
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 23
|
||||
#define SET_STR_THRESHOLD 24359
|
||||
#define MUL_FFT_FULL_THRESHOLD 3520
|
||||
|
||||
#define MUL_FFT_FULL_THRESHOLD 5888
|
||||
#define SQR_FFT_FULL_THRESHOLD 2016
|
||||
|
||||
#define MULLOW_BASECASE_THRESHOLD 0 /* always */
|
||||
#define MULLOW_DC_THRESHOLD 14
|
||||
#define MULLOW_MUL_THRESHOLD 2393
|
||||
|
||||
#define MULHIGH_BASECASE_THRESHOLD 9
|
||||
#define MULHIGH_DC_THRESHOLD 13
|
||||
#define MULHIGH_MUL_THRESHOLD 2393
|
||||
|
||||
#define MULMOD_2EXPM1_THRESHOLD 12
|
||||
|
||||
#define SB_DIVAPPR_Q_SMALL_THRESHOLD 0 /* always */
|
||||
#define SB_DIV_QR_SMALL_THRESHOLD 0 /* always */
|
||||
#define DC_DIV_QR_THRESHOLD 50
|
||||
#define INV_DIV_QR_THRESHOLD 1589
|
||||
#define INV_DIVAPPR_Q_N_THRESHOLD 50
|
||||
#define DC_DIV_Q_THRESHOLD 65
|
||||
#define INV_DIV_Q_THRESHOLD 998
|
||||
#define DC_DIVAPPR_Q_THRESHOLD 21
|
||||
#define INV_DIVAPPR_Q_THRESHOLD 14326
|
||||
#define DC_BDIV_QR_THRESHOLD 54
|
||||
#define DC_BDIV_Q_THRESHOLD 19
|
||||
|
||||
#define ROOTREM_THRESHOLD 6
|
||||
|
||||
#define MATRIX22_STRASSEN_THRESHOLD 23
|
||||
#define HGCD_THRESHOLD 113
|
||||
#define HGCD_APPR_THRESHOLD 113
|
||||
#define HGCD_REDUCE_THRESHOLD 6852
|
||||
#define GCD_DC_THRESHOLD 460
|
||||
#define GCDEXT_DC_THRESHOLD 342
|
||||
#define JACOBI_BASE_METHOD 1
|
||||
|
||||
#define GET_STR_DC_THRESHOLD 10
|
||||
#define GET_STR_PRECOMPUTE_THRESHOLD 16
|
||||
#define SET_STR_DC_THRESHOLD 668
|
||||
#define SET_STR_PRECOMPUTE_THRESHOLD 1973
|
||||
|
||||
#define FAC_DSC_THRESHOLD 898
|
||||
#define FAC_ODD_THRESHOLD 0 /* always */
|
||||
|
||||
/* fft_tuning -- autogenerated by tune-fft */
|
||||
|
||||
#define FFT_TAB \
|
||||
{ { 4, 3 }, { 3, 3 }, { 2, 2 }, { 2, 1 }, { 1, 0 } }
|
||||
|
||||
#define MULMOD_TAB \
|
||||
{ 4, 3, 3, 4, 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1 }
|
||||
|
||||
#define FFT_N_NUM 19
|
||||
|
||||
#define FFT_MULMOD_2EXPP1_CUTOFF 128
|
||||
|
||||
|
||||
/* Tuneup completed successfully, took 152 seconds */
|
||||
|
||||
#define SQR_FFT_FULL_THRESHOLD 4864
|
||||
|
Loading…
Reference in New Issue
Block a user