Skip to content

Commit

Permalink
Merge tag 'sf_dd'
Browse files Browse the repository at this point in the history
Conflicts:
	src/uci.cpp
  • Loading branch information
exoticorn committed Dec 8, 2013
2 parents e30be22 + c5bb9b9 commit b28757e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion polyglot.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,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
Expand Down Expand Up @@ -431,6 +441,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"
Expand Down
2 changes: 1 addition & 1 deletion src/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "position.h"
#include "search.h"
#include "thread.h"
#include "tt.h"
#include "ucioption.h"

using namespace std;
Expand Down Expand Up @@ -75,6 +74,7 @@ void UCI::command(const string& cmd) {
if (token != "ponderhit" || Search::Signals.stopOnPonderhit)
{
Search::Signals.stop = true;
Threads.main()->notify_one(); // Could be sleeping
}
else
Search::Limits.ponder = false;
Expand Down Expand Up @@ -105,7 +105,7 @@ void UCI::command(const string& cmd) {
Search::RootColor = currentPos.side_to_move(); // Ensure it is set
sync_cout << Eval::trace(currentPos) << sync_endl;
}
else if (token == "ucinewgame") TT.clear();
else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ }
else if (token == "go") go(currentPos, is);
else if (token == "position") position(currentPos, is);
else if (token == "setoption") setoption(is);
Expand Down
2 changes: 1 addition & 1 deletion src/ucioption.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b28757e

Please sign in to comment.