Small operands gcd improvements

Niels Möller nisse at
Wed Aug 7 10:21:55 UTC 2019

tg at (Torbjörn Granlund) writes:

> You already added tune/speed code, didn't you?  How is it used?

Size is in bits. So, e.g.,

  ./speed -s 1-64 mpn_gcd_1 mpn_gcd_11

where the latter is expected to be a few cycles faster. And like gcd_1,
.r argument can be used to fix the bit size of one of the operands.


Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.

More information about the gmp-devel mailing list