From 3ede7daab3ae9c3cc8c408c8e2cfe821f6f79e43 Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Wed, 20 Nov 2013 20:39:57 +0000 Subject: [PATCH 1/3] Generate Qsearch checks only at depth 0 An old idea retested at SPRT(0, 3) with 60+0.05 TC: LLR: 2.95 (-2.94,2.94) [0.00,3.00] Total: 98872 W: 15549 L: 15123 D: 68200 This is a very small elo increase patch so it really stresses the limits of fishtest. bench: 8596156 --- src/types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.h b/src/types.h index bcf3da5ccb0..ff376386cac 100644 --- a/src/types.h +++ b/src/types.h @@ -194,8 +194,8 @@ enum Depth { ONE_PLY = 2, DEPTH_ZERO = 0 * ONE_PLY, - DEPTH_QS_CHECKS = -1 * ONE_PLY, - DEPTH_QS_NO_CHECKS = -2 * ONE_PLY, + DEPTH_QS_CHECKS = 0 * ONE_PLY, + DEPTH_QS_NO_CHECKS = -1 * ONE_PLY, DEPTH_QS_RECAPTURES = -5 * ONE_PLY, DEPTH_NONE = -127 * ONE_PLY From 67e5581e37df2c7481be6261dcefa9fb41439c81 Mon Sep 17 00:00:00 2001 From: Kelly Wilson Date: Fri, 29 Nov 2013 09:59:16 +0100 Subject: [PATCH 2/3] Add support for PPC 64bit on Linux In particular Debian Linux-3.9.8-1- PPC64 No functional change. --- src/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Makefile b/src/Makefile index 1f9f27dae57..0a49ac5e179 100644 --- a/src/Makefile +++ b/src/Makefile @@ -165,6 +165,16 @@ ifeq ($(ARCH),osx-ppc-32) sse = no endif +ifeq ($(ARCH),linux-ppc-64) + arch = ppc64 + os = any + bits = 64 + prefetch = no + bsfq = no + popcnt = no + sse = no +endif + ifeq ($(ARCH),osx-x86-64) arch = x86_64 os = osx @@ -397,6 +407,7 @@ help: @echo "x86-64-modern > x86 64-bit with popcnt support" @echo "x86-32 > x86 32-bit with SSE support" @echo "x86-32-old > x86 32-bit fall back for old hardware" + @echo "linux-ppc-64 > PPC-Linux 64 bit" @echo "osx-ppc-64 > PPC-Mac OS X 64 bit" @echo "osx-ppc-32 > PPC-Mac OS X 32 bit" @echo "osx-x86-64 > x86-Mac OS X 64 bit" From c5bb9b9da943c49fbead1507ba7213bd7fb5e415 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Fri, 29 Nov 2013 10:23:14 +0100 Subject: [PATCH 3/3] Stockfish DD Stockfish bench signature is: 8596156 --- polyglot.ini | 2 +- src/misc.cpp | 2 +- src/uci.cpp | 3 +-- src/ucioption.cpp | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/polyglot.ini b/polyglot.ini index 739ed8765d4..26320f4d9ea 100644 --- a/polyglot.ini +++ b/polyglot.ini @@ -32,7 +32,7 @@ Cowardice = 100 Min Split Depth = 0 Max Threads per Split Point = 5 Threads = 1 -Idle Threads Sleep = true +Idle Threads Sleep = false Hash = 128 Ponder = true OwnBook = false diff --git a/src/misc.cpp b/src/misc.cpp index b9a802ad3c3..d11ab8d7856 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -28,7 +28,7 @@ using namespace std; /// Version number. If Version is left empty, then compile date, in the /// format DD-MM-YY, is shown in engine_info. -static const string Version = ""; +static const string Version = "DD"; /// engine_info() returns the full name of the current Stockfish version. This diff --git a/src/uci.cpp b/src/uci.cpp index 395b78a813b..caf1b5c2fed 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -27,7 +27,6 @@ #include "position.h" #include "search.h" #include "thread.h" -#include "tt.h" #include "ucioption.h" using namespace std; @@ -108,7 +107,7 @@ void UCI::loop(const string& args) { Search::RootColor = pos.side_to_move(); // Ensure it is set sync_cout << Eval::trace(pos) << sync_endl; } - else if (token == "ucinewgame") TT.clear(); + else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ } else if (token == "go") go(pos, is); else if (token == "position") position(pos, is); else if (token == "setoption") setoption(is); diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 08afa04cdb3..c8dc7f466ec 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -72,7 +72,7 @@ void init(OptionsMap& o) { o["Min Split Depth"] = Option(0, 0, 12, on_threads); o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads); o["Threads"] = Option(1, 1, MAX_THREADS, on_threads); - o["Idle Threads Sleep"] = Option(true); + o["Idle Threads Sleep"] = Option(false); o["Hash"] = Option(32, 1, 8192, on_hash_size); o["Clear Hash"] = Option(on_clear_hash); o["Ponder"] = Option(true);