]> git.sesse.net Git - stockfish/blobdiff - src/tt.h
Enable prefetch also for gcc
[stockfish] / src / tt.h
index 4a8699fb2dfce4468d70b6e2a73889586d61e26d..0b7ccbe8f948ecacc603b3d189c387c16d6b2008 100644 (file)
--- a/src/tt.h
+++ b/src/tt.h
@@ -85,6 +85,7 @@ public:
   void clear();
   void store(const Key posKey, Value v, ValueType type, Depth d, Move m);
   TTEntry* retrieve(const Key posKey) const;
+  void prefetch(const Key posKey) const;
   void new_search();
   void insert_pv(const Position& pos, Move pv[]);
   void extract_pv(const Position& pos, Move pv[]);
@@ -104,4 +105,6 @@ private:
   uint8_t generation;
 };
 
+extern TranspositionTable TT;
+
 #endif // !defined(TT_H_INCLUDED)