projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
596677a
)
enable bit manipulation instruction set 1
author
disservin
<disservin.social@gmail.com>
Sun, 16 Oct 2022 12:37:01 +0000 (14:37 +0200)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Sat, 5 Nov 2022 13:22:20 +0000 (14:22 +0100)
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
src/Makefile
patch
|
blob
|
history
diff --git
a/src/Makefile
b/src/Makefile
index
f764596
..
3584386
100644
(file)
--- 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