mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Add ARCH x86-64-bmi2 support
Intel Haswell and newer CPUs can calculate sliders attacks using special PEXT asm instructions instead of magic bitboards. This gives a +3% speed up. To enable it just compile with ARCH=x86-64-bmi2 No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
da2f8880b9
commit
226bbc1e63
@@ -51,8 +51,8 @@ const string engine_info(bool to_uci) {
|
||||
}
|
||||
|
||||
ss << (Is64Bit ? " 64" : "")
|
||||
<< (HasPopCnt ? " SSE4.2" : "")
|
||||
<< (to_uci ? "\nid author ": " by ")
|
||||
<< (HasPext ? " BMI2" : (HasPopCnt ? " SSE4.2" : ""))
|
||||
<< (to_uci ? "\nid author ": " by ")
|
||||
<< "Tord Romstad, Marco Costalba and Joona Kiiski";
|
||||
|
||||
return ss.str();
|
||||
|
||||
Reference in New Issue
Block a user