Torbjörn Granlund tg at gmplib.org
Tue Aug 27 22:09:09 UTC 2019

Marco Bodrato <bodrato at mail.dm.unipi.it> writes:

  For a generic code with variable N, one may prefer a code that chooses
  if a copy or a shorter shift is needed. But this means more code and
  the shift could not be an in-lined fixed size version...

I broke out the unlikely up[0] code into a separate function, a function
which can be common for any size.  A function which we might call from

I agree that the copy and the shift could be combined.

Please encrypt, key id 0xC8601622

More information about the gmp-devel mailing list