This only seems to be a win on 64-bit platforms, so only do it there.
Partial backport of secp256k1#831:
https://github.com/bitcoin-core/secp256k1/pull/831/commits/b306935ac12bb24fd931d735b4dfc07f707e7447
Depends on D9409.
Differential D9410
[SECP256K1] Optimization: use formulas instead of lookup tables for cancelling g bits Fabien on Apr 13 2021, 18:33. Authored by Tags None Subscribers None
Details
This only seems to be a win on 64-bit platforms, so only do it there. Partial backport of secp256k1#831: Depends on D9409. ninja check-secp256k1
Diff Detail
|