]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Allow for VNNI256 compilation with g++-8
[stockfish] / src / Makefile
index 228ea851f208154001cd3dcab5926d298ff240cb..2e85a144733981c7e6c1939024940086a7b8b176 100644 (file)
@@ -516,7 +516,7 @@ endif
 ifeq ($(vnni256),yes)
        CXXFLAGS += -DUSE_VNNI
        ifeq ($(comp),$(filter $(comp),gcc clang mingw))
-               CXXFLAGS += -mavx512vnni -mavx512dq -mavx512vl -mprefer-vector-width=256
+               CXXFLAGS += -mavx512f -mavx512bw -mavx512vnni -mavx512dq -mavx512vl -mprefer-vector-width=256
        endif
 endif