We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c94c7 commit e4ceb9bCopy full SHA for e4ceb9b
src/fire.h
@@ -234,7 +234,11 @@ uint64 NodeCheck;
234
#define CheckHalt() { if (Position->stop) { return(0); } }
235
#define Height(x)((x)->height)
236
#define Is_Exact(x) (x)
237
+#if defined(__GNUC__)
238
+#define prefetch(x) __builtin_prefetch((char*)(x))
239
+#elif defined(__INTEL_COMPILER) || defined(_MSC_VER)
240
#define prefetch(x) _mm_prefetch((char*)(x), _MM_HINT_T2) // Added 4/15/2013
241
+#endif
242
#include "move.h"
243
bool BoardIsOk, isNewGame;
244
0 commit comments