mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Prefetch also material tables
Prefetch both pawn and material tables in do_move() and prefetch always, not only after a pawn move or a capture. Speed up of 0,7% No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -29,7 +29,7 @@ extern int get_system_time();
|
||||
extern int cpu_count();
|
||||
extern int input_available();
|
||||
extern void prefetch(char* addr);
|
||||
extern void prefetchPawn(Key, int);
|
||||
extern void prefetchTables(Key pKey, Key mKey, int threadID);
|
||||
|
||||
// Debug functions
|
||||
extern bool dbg_show_mean;
|
||||
|
||||
Reference in New Issue
Block a user