lantonov / asmFish

A continuation of the nice project asmFish by Mohammed Li. Latest version: 07.08.2019
https://lantonov.github.io/asmFish/
Other
118 stars 49 forks source link

armFish: Implementation of the arctan function #175

Closed CounterPly closed 6 years ago

CounterPly commented 6 years ago

This question is for @tthsqe12 (or anyone else with a good understanding of armv8).

Apparently, the SF maintaners decided to approve the use of the arctan function in order to dynamically adjust contempt. (https://github.com/official-stockfish/Stockfish/commit/82697f1193cc8c99c99c282361a3ada25c758243)

My thoughts on the inefficiency of this aside, I am not sure how to go about implementing this patch in armFish. Do you know of an equivalent instruction or macro that would be analagous to fpatan in the FPU instruction set?

For the record, the use of arctan eventually did get replaced ~1 month later with this commit: https://github.com/official-stockfish/Stockfish/commit/aef7076c344881954b4f586bd4779594d0b29037

So worst case scenario, we could always just hold off on updating armFish until we get there.

CounterPly commented 6 years ago

Closing this since the alternative dynamic contempt patch is near.