]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Use compiler intrinsic instead of assembly for popcnt
[stockfish] / src / Makefile
index 562192ca6150690e1216257cb668ab1d634939da..1e5a16580b188df89614665027b8681453082d51 100644 (file)
@@ -285,7 +285,7 @@ endif
 
 ### 3.9 popcnt
 ifeq ($(popcnt),yes)
-       CXXFLAGS += -msse4.2 -DUSE_POPCNT
+       CXXFLAGS += -msse3 -mpopcnt -DUSE_POPCNT
 endif
 
 ### 3.10 pext