X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Ftt.cpp;h=555f3c6d0e501fc262036eb5c412083ab642fcf2;hb=ac4c971e06568b583292a76853e09f990b9b23ef;hp=c10f2e447f724ff3ccff4a6aabfc3e79b0738e9b;hpb=67f611f3eb68a9714d41d62777913bb2a4075314;p=stockfish diff --git a/src/tt.cpp b/src/tt.cpp index c10f2e44..555f3c6d 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -25,7 +25,7 @@ #include #include #include -#if !(defined(__hpux) || defined(__ppc__) || defined(__ppc64__) || defined(__arm__)) +#if !defined(NO_PREFETCH) # include #endif @@ -166,8 +166,8 @@ 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(__hpux) || defined(__ppc__) || defined(__ppc64__) || defined(__arm__) -void TranspositionTable::prefetch(const Key) const {} // Not supported on HP UX +#if defined(NO_PREFETCH) +void TranspositionTable::prefetch(const Key) const {} #else void TranspositionTable::prefetch(const Key posKey) const {