Toom sqr recursion

Torbjorn Granlund tg at
Sun Jan 27 21:58:14 CET 2013

Torbjorn Granlund <tg at> writes:

  I just spotted that we're not depending on SQR_BASECASE_THRESHOLD in any
  of the recursive toomN_sqr calls.  I think we should, at least from

And in toom44_mul.c and toom4_sqr.c we set MAYBE_*_toom4* using
MUL_FFT_THRESHOLD when we should really consider TOOM6 or (if TOOM6 = 0)
TOOM8.  This was forgotten when the 6H and 8H code was merged.


More information about the gmp-devel mailing list