1
0
Fork 0

Fix some warnings with Intel C++ compiler

No functional change.
pull/71/merge
Marco Costalba 2014-10-05 10:53:31 +02:00 committed by Joona Kiiski
parent 91de6b0f37
commit c97b702f4d
2 changed files with 6 additions and 2 deletions

View File

@ -285,7 +285,11 @@ endif
### 3.9 popcnt
ifeq ($(popcnt),yes)
CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
ifeq ($(comp),icc)
CXXFLAGS += -msse3 -DUSE_POPCNT
else
CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
endif
endif
### 3.10 pext

View File

@ -75,7 +75,7 @@ const TTEntry* TranspositionTable::probe(const Key key) const {
for (unsigned i = 0; i < TTClusterSize; ++i, ++tte)
if (tte->key16 == key16)
{
tte->genBound8 = generation | tte->bound(); // Refresh
tte->genBound8 = uint8_t(generation | tte->bound()); // Refresh
return tte;
}