mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-23 13:17:12 +00:00
port get_changed_pieces to ARM NEON
passed STC: LLR: 2.94 (-2.94,2.94) <0.00,2.00> Total: 71968 W: 18833 L: 18489 D: 34646 Ptnml(0-2): 192, 7310, 20643, 7640, 199 https://tests.stockfishchess.org/tests/view/69509e5c572093c1986d7a0a closes https://github.com/official-stockfish/Stockfish/pull/6512 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
ced9f69834
commit
aeb3bf33a9
+4
-3
@@ -65,7 +65,7 @@ using namespace Search;
|
||||
namespace {
|
||||
|
||||
constexpr int SEARCHEDLIST_CAPACITY = 32;
|
||||
constexpr int mainHistoryDefault = 68;
|
||||
constexpr int mainHistoryDefault = 68;
|
||||
using SearchedList = ValueList<Move, SEARCHEDLIST_CAPACITY>;
|
||||
|
||||
// (*Scalers):
|
||||
@@ -313,9 +313,10 @@ void Search::Worker::iterative_deepening() {
|
||||
|
||||
lowPlyHistory.fill(97);
|
||||
|
||||
for (Color c: {WHITE, BLACK})
|
||||
for (Color c : {WHITE, BLACK})
|
||||
for (int i = 0; i < UINT_16_HISTORY_SIZE; i++)
|
||||
mainHistory[c][i] = (mainHistory[c][i] - mainHistoryDefault) * 3 / 4 + mainHistoryDefault;
|
||||
mainHistory[c][i] =
|
||||
(mainHistory[c][i] - mainHistoryDefault) * 3 / 4 + mainHistoryDefault;
|
||||
|
||||
// Iterative deepening loop until requested to stop or the target depth is reached
|
||||
while (++rootDepth < MAX_PLY && !threads.stop
|
||||
|
||||
Reference in New Issue
Block a user