mpz reuse test takes too much time

Niels Möller nisse at lysator.liu.se
Wed Sep 28 14:54:10 UTC 2016


tg at gmplib.org (Torbjörn Granlund) writes:

> Please check that reuse.c whacks gcdext appropriately.

It doesn't check the cases where both input operands overlap some output
operands, e.g.,

	  mpz_gcdext (res1, res2, res3, res1, res3);

or

	  mpz_gcdext (res1, res2, res3, res2, res2);

Should it do that, or is it enough that the reuse tests overlap one
operand at a time? Doing all combinations everywhere does blow up the
number of tests a bit.

/Niels

-- 
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