]> git.sesse.net Git - stockfish/blobdiff - src/misc.cpp
Stockfish 2.2.1
[stockfish] / src / misc.cpp
index 2fb5e816f0320f8a504afe8d8e961d10b2d6b5b2..2a0c95b798473d350e951dc29e4b49c2600f8e3d 100644 (file)
@@ -55,8 +55,8 @@ using namespace std;
 /// Version number. If Version is left empty, then Tag plus current
 /// date (in the format YYMMDD) is used as a version number.
 
-static const string Version = "";
-static const string Tag  = "";
+static const string Version = "2.2.1";
+static const string Tag = "";
 
 
 /// engine_info() returns the full name of the current Stockfish version.
@@ -191,11 +191,11 @@ void prefetch(char*) {}
 
 void prefetch(char* addr) {
 
-#if defined(__INTEL_COMPILER) || defined(__ICL)
+#  if defined(__INTEL_COMPILER) || defined(__ICL)
    // This hack prevents prefetches to be optimized away by
    // Intel compiler. Both MSVC and gcc seems not affected.
    __asm__ ("");
-#endif
+#  endif
 
   _mm_prefetch(addr, _MM_HINT_T2);
   _mm_prefetch(addr+64, _MM_HINT_T2); // 64 bytes ahead