X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftt.cpp;h=a2ad42d0e54f7af87e53b75fca03eb6a300da340;hb=f967f1a25ecddcaaf0317f25fd50f6dc5e983d24;hp=935336dac3c7354e23c878fd1ba62d1a22adf72a;hpb=9fc602bae74b8e09bd45ace3b42a8ce84d56b23c;p=stockfish diff --git a/src/tt.cpp b/src/tt.cpp index 935336da..a2ad42d0 100644 --- a/src/tt.cpp +++ b/src/tt.cpp @@ -25,7 +25,7 @@ #include #include #include -#if !defined(__hpux) +#if !(defined(__hpux) || defined(__ppc__) || defined(__ppc64__) || defined(__arm__)) # include #endif @@ -125,6 +125,7 @@ void TranspositionTable::store(const Key posKey, Value v, ValueType t, Depth d, if (tte->key() && t == VALUE_TYPE_EV_LO) return; + // Preserve any exsisting ttMove if (m == MOVE_NONE) m = tte->move(); @@ -169,7 +170,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(__hpux) +#if defined(__hpux) || defined(__ppc__) || defined(__ppc64__) || defined(__arm__) void TranspositionTable::prefetch(const Key) const {} // Not supported on HP UX #else