X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2FMakefile;h=f183e4e3d2e3902ac52e4ed5b0b8ade7daab6a44;hp=187e7b313404fb5df608a62eba6d38cd81b546fc;hb=c6d45c60b516e799526f1163733b74b23fc1b63c;hpb=e4e423bb05fb870ad25a2beaa30324d079f7f60a diff --git a/src/Makefile b/src/Makefile index 187e7b31..f183e4e3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -35,12 +35,12 @@ endif BINDIR = $(PREFIX)/bin ### Built-in benchmark for pgo-builds -PGOBENCH = ./$(EXE) bench 32 1 1 default time +PGOBENCH = ./$(EXE) bench 16 1 1 default time ### Object files OBJS = benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o \ - material.o misc.o movegen.o movepick.o notation.o pawns.o \ - position.o search.o thread.o timeman.o tt.o uci.o ucioption.o + material.o misc.o movegen.o movepick.o pawns.o position.o \ + search.o thread.o timeman.o tt.o uci.o ucioption.o ### ========================================================================== ### Section 2. High-level Configuration @@ -285,7 +285,11 @@ endif ### 3.9 popcnt ifeq ($(popcnt),yes) - CXXFLAGS += -msse3 -DUSE_POPCNT + ifeq ($(comp),icc) + CXXFLAGS += -msse3 -DUSE_POPCNT + else + CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT + endif endif ### 3.10 pext