yaneurao / YaneuraOu

YaneuraOu is the World's Strongest Shogi engine(AI player) , WCSC29 1st winner , educational and USI compliant engine.
GNU General Public License v3.0
525 stars 140 forks source link

Support for modern CPU Architecture #175

Closed TheYoBots closed 3 years ago

TheYoBots commented 3 years ago

Does YaneuraOu support the modern CPU architecture? These are the parameters: https://github.com/official-stockfish/Stockfish/blob/754fc8a8b5ca7466926d54465eeb1df4d4a481ac/src/Makefile#L172-L177 . If I’m right YaneuraOu doesn’t support popcnt Architecture.

yaneurao commented 3 years ago

Since popcnt() is a SSE4.2 instruction, the code assumes that popcnt is available when USE_SSE42 is defined.

For example, this part. https://github.com/yaneurao/YaneuraOu/blob/7917ee5f94a47bf07124a1f741425aeffaf8b445/source/extra/bitop.h#L116

TheYoBots commented 3 years ago

Thank you so much for explaining!