mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 02:57:11 +08:00
Cleanup code after dropping ICC support in favor of ICX
The commit removes all uses of ICC's __INTEL_COMPILER macro and other references to ICC. It also adds ICX info to the compiler command and fixes two typos in Makefile's help output. closes https://github.com/official-stockfish/Stockfish/pull/4769 No functional change
This commit is contained in:
committed by
Disservin
parent
3d1b067d85
commit
b9319c4fa4
@@ -262,7 +262,7 @@ inline int popcount(Bitboard b) {
|
||||
union { Bitboard bb; uint16_t u[4]; } v = { b };
|
||||
return PopCnt16[v.u[0]] + PopCnt16[v.u[1]] + PopCnt16[v.u[2]] + PopCnt16[v.u[3]];
|
||||
|
||||
#elif defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
#elif defined(_MSC_VER)
|
||||
|
||||
return (int)_mm_popcnt_u64(b);
|
||||
|
||||
@@ -276,7 +276,7 @@ inline int popcount(Bitboard b) {
|
||||
|
||||
/// lsb() and msb() return the least/most significant bit in a non-zero bitboard
|
||||
|
||||
#if defined(__GNUC__) // GCC, Clang, ICC
|
||||
#if defined(__GNUC__) // GCC, Clang, ICX
|
||||
|
||||
inline Square lsb(Bitboard b) {
|
||||
assert(b);
|
||||
|
||||
Reference in New Issue
Block a user