Moved toom internal cutoff into gmp-impl.h.

This commit is contained in:
wbhart 2009-04-01 23:23:38 +00:00
parent d6f0373c37
commit 4ee5c1dd22
2 changed files with 2 additions and 3 deletions

View File

@ -1033,6 +1033,7 @@ __GMP_DECLSPEC extern gmp_randstate_t __gmp_rands;
#define MPN_TOOM3_MUL_N_MINSIZE 17
#define MPN_TOOM4_MUL_N_MINSIZE 32
#define MPN_TOOM3_SQR_N_MINSIZE 17
#define MUL_TOOM4_INTERNAL_THRESHOLD 550
#define mpn_sqr_diagonal __MPN(sqr_diagonal)
void mpn_sqr_diagonal _PROTO ((mp_ptr, mp_srcptr, mp_size_t));
@ -1431,7 +1432,7 @@ __GMP_DECLSPEC extern const mp_limb_t __gmp_fib_table[];
#endif
#ifndef MUL_TOOM4_THRESHOLD
#define MUL_TOOM4_THRESHOLD 550
#define MUL_TOOM4_THRESHOLD 300
#endif
/* MUL_KARATSUBA_THRESHOLD_LIMIT is the maximum for MUL_KARATSUBA_THRESHOLD.

View File

@ -48,8 +48,6 @@ MA 02110-1301, USA. */
#define TC4_TIME 0
#endif
#define MUL_TOOM4_INTERNAL_THRESHOLD 550 // Unfortunately current tuning code cannot handle tuning this
void
mpn_toom4_mul_n (mp_ptr rp, mp_srcptr up,
mp_srcptr vp, mp_size_t n);