nisse at lysator.liu.se
Sun Mar 3 21:19:37 CET 2013
Torbjorn Granlund <tg at gmplib.org> writes:
> nisse at lysator.liu.se (Niels Möller) writes:
> As I understand it, that plan would imply that for assembly files
> currently providing both _n and _nc, the _n entry point gets obsolete
> That was not the idea, at least not for internal calls. It sometimes
> have a cycle or two overhead.
Ok, so we have a
#define mpn_add_n(rp,ap,bp,n) mpn_add_nc ((rp),(ap),(bp),(n),0)
in gmp.h, and in gmp-impl.h, we put something like
#define mpn_add_n __gmpn_add_n
Should work fine, I guess.
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
More information about the gmp-devel