]> git.sesse.net Git - stockfish/blobdiff - src/bitcount.h
Revert "Use compiler intrinsic instead of assembly for popcnt"
[stockfish] / src / bitcount.h
index a92ad75feb2a60f9aba890a161443f5339c97319..f84c51cb8596caf76e658d126330c898dafde7f8 100644 (file)
@@ -1,7 +1,7 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
   Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
-  Copyright (C) 2008-2013 Marco Costalba, Joona Kiiski, Tord Romstad
+  Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -33,7 +33,7 @@ enum BitCountType {
 };
 
 /// Determine at compile time the best popcount<> specialization according to
-/// whether the platform is 32 or 64 bits, to the maximum number of non-zero
+/// whether the platform is 32 or 64 bit, the maximum number of non-zero
 /// bits to count and if the hardware popcnt instruction is available.
 const BitCountType Full  = HasPopCnt ? CNT_HW_POPCNT : Is64Bit ? CNT_64 : CNT_32;
 const BitCountType Max15 = HasPopCnt ? CNT_HW_POPCNT : Is64Bit ? CNT_64_MAX15 : CNT_32_MAX15;