mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 11:39:15 +00:00
Fix some warnings with Intel C++ compiler
No functional change.
This commit is contained in:
parent
91de6b0f37
commit
c97b702f4d
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue