1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00

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
This commit is contained in:
disservin 2022-10-16 14:37:01 +02:00 committed by Joost VandeVondele
parent 234d2156fd
commit 804394b939

View file

@ -593,7 +593,7 @@ endif
ifeq ($(avx2),yes)
CXXFLAGS += -DUSE_AVX2
ifeq ($(comp),$(filter $(comp),gcc clang mingw))
CXXFLAGS += -mavx2
CXXFLAGS += -mavx2 -mbmi
endif
endif