Small limb-size in mini-gmp?

Torbjörn Granlund tg at
Tue Nov 19 18:50:20 UTC 2019

"Marco Bodrato" <bodrato at> writes:

  For asl8, one of the existing shortcuts is used, not the generic code.

  In particular, mpn_invert_3by2 (mp_limb_t u1, mp_limb_t u0) reduces to:
    return (((unsigned) 1 << 24) - 1) / (((unsigned) u1 << 8) + u0);

If there is special code for several asl cases, doesn't that defeat the
purpose of asl, at least to some extent?

(Testing was successful now.  Let me know if mati's weekly testing is
sufficient or if additional or more frequent testing would be

Please encrypt, key id 0xC8601622

More information about the gmp-devel mailing list