X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=285d314ec302d34e9d200bce53fa5c42ad243fdf;hp=2d6042e20226acd4cbf5bbef9a008e080c6957f3;hb=fa1a2a0667ff81f04e94cab078c50c2d51f4cb5e;hpb=ca51d1ee63f376e0eb6efb6f3d5d901e4b2a5bb0 diff --git a/src/Makefile b/src/Makefile index 2d6042e2..285d314e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -136,6 +136,8 @@ endif ifeq ($(ARCH),ppc-64) arch = ppc64 bits = 64 + popcnt = yes + prefetch = yes endif @@ -313,7 +315,9 @@ endif ### 3.6 popcnt ifeq ($(popcnt),yes) - ifeq ($(comp),icc) + ifeq ($(arch),ppc64) + CXXFLAGS += -DUSE_POPCNT + else ifeq ($(comp),icc) CXXFLAGS += -msse3 -DUSE_POPCNT else CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT