Small limb-size in mini-gmp?

Marco Bodrato bodrato at mail.dm.unipi.it
Wed Dec 4 05:51:14 UTC 2019


Il 2019-11-20 17:08 tg at gmplib.org ha scritto:
> Marco Bodrato <bodrato at mail.dm.unipi.it> writes:

> Not obsolete at all!  I program a 80251 at work, where 8-bit and 16-bit
> plain arithmetic take a single cycle, while 32-bit ops need two cycles.
> (But I don't intend to run GMP on that hardware.)

Not GMP, of course. But... what about mini- ? :-D

>   Ok. We can decide to keep a single variant for mpn_invert_3by2.

Done. https://gmplib.org/repo/gmp/rev/c22e8feca8e3

> With asl.h intermediates will get truncated to the size of mp_limb_t.

I don't think mini-gmp is ready for asl.h jet. sizeof(mp_limb_t) is 
still used by some functions...

Ĝis,
m

-- 
http://bodrato.it/papers/


More information about the gmp-devel mailing list