X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftt.cpp;h=555f3c6d0e501fc262036eb5c412083ab642fcf2;hb=de0c9e84ca6e41d5cb7c9691edc5918d417c265d;hp=e8a316c96b7ae5831cb32737ec0df38eb72300b8;hpb=b89733b46c9267f61ac41c48204557483658435b;p=stockfish diff --git a/src/tt.cpp b/src/tt.cpp index e8a316c9..555f3c6d 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -25,7 +25,7 @@ #include #include #include -#if defined(__i386__) || defined(_M_IX86) || defined(_X86_) +#if !defined(NO_PREFETCH) # include #endif @@ -166,7 +166,7 @@ TTEntry* TranspositionTable::retrieve(const Key posKey) const { /// to be loaded from RAM, that can be very slow. When we will /// subsequently call retrieve() the TT data will be already /// quickly accessible in L1/L2 CPU cache. -#if !(defined(__i386__) || defined(_M_IX86) || defined(_X86_)) +#if defined(NO_PREFETCH) void TranspositionTable::prefetch(const Key) const {} #else