summaryrefslogtreecommitdiff
path: root/gmp-impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h8
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. */