mpz reuse test takes too much time
tg at gmplib.org
Wed Sep 28 15:03:39 UTC 2016
nisse at lysator.liu.se (Niels Möller) writes:
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
mpz_gcdext (res1, res2, res3, res1, res3);
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.
Let's make the test slower as a reaction to Vincent's complaint! :-)
Seriously, I think we should exercise all combinations.
Please encrypt, key id 0xC8601622
More information about the gmp-bugs