mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Fix some warnings with Intel C++ compiler
No functional change.
This commit is contained in:
committed by
Joona Kiiski
parent
91de6b0f37
commit
c97b702f4d
@@ -285,7 +285,11 @@ endif
|
|||||||
|
|
||||||
### 3.9 popcnt
|
### 3.9 popcnt
|
||||||
ifeq ($(popcnt),yes)
|
ifeq ($(popcnt),yes)
|
||||||
CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
|
ifeq ($(comp),icc)
|
||||||
|
CXXFLAGS += -msse3 -DUSE_POPCNT
|
||||||
|
else
|
||||||
|
CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### 3.10 pext
|
### 3.10 pext
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ const TTEntry* TranspositionTable::probe(const Key key) const {
|
|||||||
for (unsigned i = 0; i < TTClusterSize; ++i, ++tte)
|
for (unsigned i = 0; i < TTClusterSize; ++i, ++tte)
|
||||||
if (tte->key16 == key16)
|
if (tte->key16 == key16)
|
||||||
{
|
{
|
||||||
tte->genBound8 = generation | tte->bound(); // Refresh
|
tte->genBound8 = uint8_t(generation | tte->bound()); // Refresh
|
||||||
return tte;
|
return tte;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user