mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 11:39:15 +00:00
Enable BMI1 too when using BMI2 ARCH
Adding BMI1 allows the compiler to use _blsr_u64 automatically (the advertised 0.3% speed gain). I verified that the compiler does not use this instruction with the -mbmi2 flag only. Also, all processors supporting BMI2 is also supporting BMI1. No functional change
This commit is contained in:
parent
7bce8831d3
commit
9073866491
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ endif
|
||||||
ifeq ($(pext),yes)
|
ifeq ($(pext),yes)
|
||||||
CXXFLAGS += -DUSE_PEXT
|
CXXFLAGS += -DUSE_PEXT
|
||||||
ifeq ($(comp),$(filter $(comp),gcc clang mingw))
|
ifeq ($(comp),$(filter $(comp),gcc clang mingw))
|
||||||
CXXFLAGS += -mbmi2
|
CXXFLAGS += -mbmi -mbmi2
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue