Move prefetch() out of TT
authorMarco Costalba <mcostalba@gmail.com>
Sat, 19 Jun 2010 10:10:54 +0000 (11:10 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 19 Jun 2010 10:10:54 +0000 (11:10 +0100)
commit47ee6d9fa4091aa05f6fedb62a2bb652b0422f08
treeaf527e1230aa2f1efe9bf4e1844d599622dad122
parent221f41c2dffd100e8069bde7785022f4366f1e70
Move prefetch() out of TT

This code is platform specific and has nothing to
do with TT class, so move to misc.cpp

This patch is a prerequisite to use extend prefetch use
also to other hash tables apart from Transposition Table.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/misc.cpp
src/misc.h
src/position.cpp
src/tt.cpp
src/tt.h