Nikos Mavrogiannopoulos <[email protected]> writes:

> What I was wondering is how would you think of implementing the
> cpu-specific optimizations in assembly?

If/when we do that, and if we want to be able to select which code to
use at runtime (rater than compile time), I think we should use global
pointers, one for each routine that can make use special instructions.
Either setup automagically at first use, or at library load time (using
the same mechanisms as C++ constructors).

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to