uint32_t data;
int16_t value_;
int16_t depth_;
+ uint32_t pad_to_16_bytes;
};
/// The transposition table class. This is basically just a huge array
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[]);
uint8_t generation;
};
+extern TranspositionTable TT;
+
#endif // !defined(TT_H_INCLUDED)