mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Find magics on the fly
Good result for 32 bit case where computation is very fast, still not satisfying on 64 bit case where the magics seem a bit harder to get. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -60,12 +60,12 @@ extern Bitboard SquaresInFrontMask[2][64];
|
||||
extern Bitboard PassedPawnMask[2][64];
|
||||
extern Bitboard AttackSpanMask[2][64];
|
||||
|
||||
extern const uint64_t RMult[64];
|
||||
extern uint64_t RMult[64];
|
||||
extern int RShift[64];
|
||||
extern Bitboard RMask[64];
|
||||
extern Bitboard* RAttacks[64];
|
||||
|
||||
extern const uint64_t BMult[64];
|
||||
extern uint64_t BMult[64];
|
||||
extern int BShift[64];
|
||||
extern Bitboard BMask[64];
|
||||
extern Bitboard* BAttacks[64];
|
||||
|
||||
Reference in New Issue
Block a user