diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2010-01-18 19:00:36 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2010-01-18 19:00:36 +0100 |
commit | 6449ece100dbdedcd14af5d8311f2a3af25f88bf (patch) | |
tree | b815dfa311f104d4460ae070e4a44e1d7ba58fa6 /gmp-impl.h | |
parent | 94d84aadb228450fbe8cb535e7a1212cbb6cbf0a (diff) | |
download | gmp-6449ece100dbdedcd14af5d8311f2a3af25f88bf.tar.gz |
(MUL_FFT_TABLE3, SQR_FFT_TABLE3): Provide dummy versions for tuneup builds.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r-- | gmp-impl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gmp-impl.h b/gmp-impl.h index 1e18aab54..b74bc3e6f 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -4246,6 +4246,9 @@ extern mp_size_t mul_fft_modf_threshold; #undef MUL_FFT_TABLE #define MUL_FFT_TABLE { 0 } +#undef MUL_FFT_TABLE3 +#define MUL_FFT_TABLE3 { {0,0} } + /* A native mpn_sqr_basecase is not tuned and SQR_BASECASE_THRESHOLD should remain as zero (always use it). */ #if ! HAVE_NATIVE_mpn_sqr_basecase @@ -4290,6 +4293,9 @@ extern mp_size_t sqr_fft_modf_threshold; #undef SQR_FFT_TABLE #define SQR_FFT_TABLE { 0 } +#undef SQR_FFT_TABLE3 +#define SQR_FFT_TABLE3 { {0,0} } + #undef MULLO_BASECASE_THRESHOLD #define MULLO_BASECASE_THRESHOLD mullo_basecase_threshold extern mp_size_t mullo_basecase_threshold; @@ -4451,7 +4457,7 @@ extern mp_size_t set_str_precompute_threshold; #undef FFT_TABLE_ATTRS #define FFT_TABLE_ATTRS extern mp_size_t mpn_fft_table[2][MPN_FFT_TABLE_SIZE]; -#define FFT_TABLE3_SIZE 200 +#define FFT_TABLE3_SIZE 2000 /* generous space for tuning */ extern struct fft_table_nk mpn_fft_table3[2][FFT_TABLE3_SIZE]; /* Sizes the tune program tests up to, used in a couple of recompilations. */ |