]> git.sesse.net Git - stockfish/blobdiff - src/types.h
Move game phase constants to enum Value
[stockfish] / src / types.h
index eea7d26460e6ac7b88101713ae97081129d13337..02b651dd9b124df4fc66d4e8c15dddd36afa2d76 100644 (file)
@@ -55,7 +55,7 @@
 #endif
 
 #if defined(USE_PEXT)
-#  include <x86intrin.h> // Gcc header for _pext_u64() intrinsic
+#  include <immintrin.h> // Header for _pext_u64() intrinsic
 #else
 #  define _pext_u64(b, m) (0)
 #endif
@@ -191,7 +191,9 @@ enum Value {
   KnightValueMg = 817,   KnightValueEg = 846,
   BishopValueMg = 836,   BishopValueEg = 857,
   RookValueMg   = 1270,  RookValueEg   = 1278,
-  QueenValueMg  = 2521,  QueenValueEg  = 2558
+  QueenValueMg  = 2521,  QueenValueEg  = 2558,
+
+  MidgameLimit  = 15581, EndgameLimit  = 3998
 };
 
 enum PieceType {