mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +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:
parent
c8262f8aec
commit
145e4c2a10
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue