From: disservin Date: Sun, 16 Oct 2022 12:37:01 +0000 (+0200) Subject: enable bit manipulation instruction set 1 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f34d635ac85f51f095faa104198a7c309fa9a603;p=fairystockfish.git enable bit manipulation instruction set 1 bmi1 enables the use of _blsr_u64 for pop_lsb, and is availabe when avx2 is. verified a small speedup (0.2 - 0.6%) closes https://github.com/official-stockfish/Stockfish/pull/4202 No functional change --- diff --git a/src/Makefile b/src/Makefile index f764596..3584386 100644 --- a/src/Makefile +++ b/src/Makefile @@ -571,7 +571,7 @@ endif ifeq ($(avx2),yes) CXXFLAGS += -DUSE_AVX2 ifeq ($(comp),$(filter $(comp),gcc clang mingw)) - CXXFLAGS += -mavx2 + CXXFLAGS += -mavx2 -mbmi endif endif