X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=d436ee92d8559f290facf2ba13f764ae98f31dfb;hp=2fb5e816f0320f8a504afe8d8e961d10b2d6b5b2;hb=b96db269a87549ceefaf8b812c050292f81b6c5c;hpb=808a312e1ce8cf20bd2ee668a05a246bf0e0f3b2 diff --git a/src/misc.cpp b/src/misc.cpp index 2fb5e816..d436ee92 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -40,13 +40,10 @@ #endif #include -#include -#include #include #include #include -#include "bitcount.h" #include "misc.h" #include "thread.h" @@ -56,7 +53,7 @@ using namespace std; /// date (in the format YYMMDD) is used as a version number. static const string Version = ""; -static const string Tag = ""; +static const string Tag = ""; /// engine_info() returns the full name of the current Stockfish version. @@ -191,11 +188,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