mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
Add SSE41 switch.
This allows building modern compiles with SSE41 enabled, which gives a nice speedup on my Bulldozer CPU. For example: make nnue ARCH=x86-64-modern sse41=yes -j
This commit is contained in:
@@ -386,6 +386,13 @@ ifeq ($(avx2),yes)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(sse41),yes)
|
||||||
|
CXXFLAGS += -DUSE_SSE41
|
||||||
|
ifeq ($(comp),$(filter $(comp),gcc clang mingw msys2))
|
||||||
|
CXXFLAGS += -msse4
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
### 3.7 pext
|
### 3.7 pext
|
||||||
ifeq ($(pext),yes)
|
ifeq ($(pext),yes)
|
||||||
CXXFLAGS += -DUSE_PEXT
|
CXXFLAGS += -DUSE_PEXT
|
||||||
|
|||||||
Reference in New Issue
Block a user