mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-17 15:46:24 +08:00
Fix makefile option x86-64-modern
This commit is contained in:
11
src/Makefile
11
src/Makefile
@@ -434,11 +434,12 @@ endif
|
|||||||
|
|
||||||
### 3.6 popcnt
|
### 3.6 popcnt
|
||||||
ifeq ($(popcnt),yes)
|
ifeq ($(popcnt),yes)
|
||||||
|
ifeq ($(arch),$(filter $(arch),ppc64 armv8-a))
|
||||||
CXXFLAGS += -DUSE_POPCNT
|
CXXFLAGS += -DUSE_POPCNT
|
||||||
ifneq ($(arch),$(filter $(arch),ppc64 armv8-a))
|
else ifeq ($(comp),icc)
|
||||||
ifeq ($(comp),$(filter $(comp),gcc clang mingw msys2))
|
CXXFLAGS += -msse3 -DUSE_POPCNT
|
||||||
CXXFLAGS += -mpopcnt
|
else
|
||||||
endif
|
CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -553,7 +554,7 @@ help:
|
|||||||
@echo "x86-64-ssse3 > x86 64-bit with ssse3 support"
|
@echo "x86-64-ssse3 > x86 64-bit with ssse3 support"
|
||||||
@echo "x86-64-sse3-popcnt > x86 64-bit with sse3 and popcnt support"
|
@echo "x86-64-sse3-popcnt > x86 64-bit with sse3 and popcnt support"
|
||||||
@echo "x86-64-sse3 > x86 64-bit with sse3 support"
|
@echo "x86-64-sse3 > x86 64-bit with sse3 support"
|
||||||
@echo "x86-64-modern > x86 64-bit with popcnt support"
|
@echo "x86-64-modern > x86 64-bit with popcnt support (also enables SSE3)"
|
||||||
@echo "x86-64 > x86 64-bit generic"
|
@echo "x86-64 > x86 64-bit generic"
|
||||||
@echo "x86-32 > x86 32-bit (also enables SSE)"
|
@echo "x86-32 > x86 32-bit (also enables SSE)"
|
||||||
@echo "x86-32-old > x86 32-bit fall back for old hardware"
|
@echo "x86-32-old > x86 32-bit fall back for old hardware"
|
||||||
|
|||||||
Reference in New Issue
Block a user