diff --git a/src/hash.h b/src/hash.h index 6615710..ef4e3d8 100644 --- a/src/hash.h +++ b/src/hash.h @@ -14,7 +14,7 @@ #ifndef HASH_H #define HASH_H -#include +//#include #include "chessdefs.h" @@ -121,7 +121,7 @@ bool zobrist_verify(pos_t *pos); */ static inline void tt_prefetch(hkey_t key) { - bug_on(!hash_tt.keys); +// bug_on(!hash_tt.keys); __builtin_prefetch(hash_tt.keys + (key & hash_tt.mask)); } diff --git a/src/position.h b/src/position.h index a3eeb67..5676430 100644 --- a/src/position.h +++ b/src/position.h @@ -19,7 +19,7 @@ #include #include #include -#include +// #include #include "chessdefs.h" #include "hash.h" diff --git a/src/util.h b/src/util.h index 94a1e02..d3d6d5e 100644 --- a/src/util.h +++ b/src/util.h @@ -17,8 +17,6 @@ #include #include -#include - #include "chessdefs.h" #undef safe_malloc @@ -29,6 +27,7 @@ #pragma push_macro("BUG_ON") #undef BUG_ON #define BUG_ON +#include #define safe_malloc(size) ({ \ void *_ret = malloc(size); \