Small limb-size in mini-gmp?

Torbjörn Granlund tg at
Tue Nov 19 16:02:48 UTC 2019

"Marco Bodrato" <bodrato at> writes:

  Now the ABI=32 -asl16 issue should be healed.

I will whack it soon.

  The generic code (for mpn_invert_3by2) works only when "unsigned" is half
  the size of "mp_limb_t" or has the same size... this means that large
  types for mp_limb_t are not supported (e.g. no uint128_t). Smaller types
  should be handled by some of the shortcuts.

If soo, why did asl8 work?

  Is the ABI=64 -asl32 case tested? It should work, and it should not even
  be too slow.

Not tested, but will do.

Please encrypt, key id 0xC8601622

More information about the gmp-devel mailing list