]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Use compiler intrinsic instead of assembly for popcnt
[stockfish] / src / Makefile
index c70bd782ba04dc4d3eebd7f94911984319afdf92..562192ca6150690e1216257cb668ab1d634939da 100644 (file)
@@ -30,7 +30,7 @@ EXE = stockfish
 PREFIX = /usr/local
 # Haiku has a non-standard filesystem layout
 ifeq ($(UNAME),Haiku)
-       PREFIX=/boot/common
+       PREFIX=/boot/system/non-packaged
 endif
 BINDIR = $(PREFIX)/bin
 
@@ -285,7 +285,7 @@ endif
 
 ### 3.9 popcnt
 ifeq ($(popcnt),yes)
-       CXXFLAGS += -msse3 -DUSE_POPCNT
+       CXXFLAGS += -msse4.2 -DUSE_POPCNT
 endif
 
 ### 3.10 pext