"Marco Bodrato" <bodr...@mail.dm.unipi.it> writes: > Il Sab, 26 Maggio 2018 11:12 pm, Niels Möller ha scritto: >> t...@gmplib.org (Torbjörn Granlund) writes: >> >>> I think we should rewrite relevant parts and avoid these constructs. > >> It would help clarity if we could reduce number of variants. If we >> delete the unused USE_ZEROTAB code and the unused (?) GCD_1_METHOD == 1 >> versions, it would be easier to reorganize loop entry. > > Or we can simply "strip U maybe" before entering the loop. > > I suggest:
Looks reasonable, but I'd prefer to *also* delete the unused code. It's not so pretty to have a USE_ZEROTAB in the code but nevertheless have an unconditional use of count_trailing_zeros. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs