hgcd2_jacobi

Niels Möller nisse at lysator.liu.se
Fri Jan 24 03:49:10 UTC 2020


tg at gmplib.org (Torbjörn Granlund) writes:

> nisse at lysator.liu.se (Niels Möller) writes:
>
>   What about mpn/generic/hgcd2-div.h? 
>
> Sounds OK.

Done.

>   I'm leaning towards keeping static for now. Tables aren't that big, and
>   most archs don't use them anyway.
>
> You could hide them #if HAVE_HIDDEN_ALIAS to speed up access (for
> dynlib).

Not sure I follow. The new header defines them as static, so after
preprocessing, no change. And for method 4 and 5, hgcd2.o and
hgcd2_jacobi.o will get one private copy each of the division table.
Should this be done differently?

Regards,
/Niels

-- 
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