X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=d0d2fcc018c9865099eff3db7fa0b7d21a94880b;hp=2fb5e816f0320f8a504afe8d8e961d10b2d6b5b2;hb=007613cb5e665c19368ab0cc2ad8bc45e3c16ad4;hpb=808a312e1ce8cf20bd2ee668a05a246bf0e0f3b2 diff --git a/src/misc.cpp b/src/misc.cpp index 2fb5e816..d0d2fcc0 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -56,7 +56,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 +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