mpz reuse test takes too much time

Niels Möller nisse at
Wed Sep 28 14:40:21 UTC 2016

tg at (Torbjörn Granlund) writes:

> We need to factor in the size-dependent algorithms too.  While most
> algorithm choices are made at the mpn level, we need to ensure that mpz
> makes the correct overlap assumptions wrt mpn.

Hmm, so you're saying that if some mpn function doesn't allow overlap,
but happens to allow it for small sizes (or is mpz calls a different,
more liberal, function for small sizes), then some mpz bugs will not be
visible when using small operands. It would be nice if we could get good
coverage for that, without using large operands for all reuse tests.


Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.

More information about the gmp-bugs mailing list