X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=492403d3ce875b60e4027710c951b9b94a5e3f64;hp=81731e6675c0134d21a994da1c5c048adbd4db8b;hb=aecfca2dc2d760df257e18cd6b29d266a3c3e68a;hpb=a84e3ac287fa2c2db5ee58faabdb31943acc78d0 diff --git a/src/Makefile b/src/Makefile index 81731e66..492403d3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -134,8 +134,8 @@ endif ifeq ($(ARCH),armv8) arch = armv8-a - bits = 64 prefetch = yes + popcnt = yes endif ifeq ($(ARCH),ppc-32) @@ -322,7 +322,7 @@ endif ### 3.6 popcnt ifeq ($(popcnt),yes) - ifeq ($(arch),ppc64) + ifeq ($(arch),$(filter $(arch),ppc64 armv8-a)) CXXFLAGS += -DUSE_POPCNT else ifeq ($(comp),icc) CXXFLAGS += -msse3 -DUSE_POPCNT