X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=fea597e76cb941eb8d79bc9135a497fecc82e60e;hb=f21a66f70dce4e9d72031a13d25ac530bbafc830;hp=d92854bca193e71f83c1d457a832391f7addfcd5;hpb=54a989930ebed200c3278c725151e26a2c0da37a;p=stockfish diff --git a/src/Makefile b/src/Makefile index d92854bc..fea597e7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -88,7 +88,7 @@ endif # at the end of the line for flag values. # # Example of use for these flags: -# make build ARCH=x86-64-avx512 debug=on sanitize="address undefined" +# make build ARCH=x86-64-avx512 debug=yes sanitize="address undefined" ### 2.1. General and architecture defaults @@ -517,7 +517,7 @@ ifeq ($(bits),64) CXXFLAGS += -DIS_64BIT endif -### 3.5 prefetch +### 3.5 prefetch and popcount ifeq ($(prefetch),yes) ifeq ($(sse),yes) CXXFLAGS += -msse @@ -526,7 +526,6 @@ else CXXFLAGS += -DNO_PREFETCH endif -### 3.6 popcnt ifeq ($(popcnt),yes) ifeq ($(arch),$(filter $(arch),ppc64 armv7 armv8 arm64)) CXXFLAGS += -DUSE_POPCNT @@ -537,6 +536,7 @@ ifeq ($(popcnt),yes) endif endif +### 3.6 SIMD architectures ifeq ($(avx2),yes) CXXFLAGS += -DUSE_AVX2 ifeq ($(comp),$(filter $(comp),gcc clang mingw))