Shared toom evaluation functions

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Thu Nov 19 13:44:41 CET 2009


Ciao Niels,

> nisse at lysator.liu.se (Niels Möller) writes:
> Getting that function to take advantage of addlsh2_n requires a slight
> reorganization, doing the additions as
>
>   ((... + a4)*4 + a2)*4 + a0

You wrote two versions: with HAVE_NATIVE_mpn_addlsh_n or without.
Only the third not yet written needs this (re)organization ;-)

Regards,
Marco

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



More information about the gmp-devel mailing list