mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Enable New Pass Manager for Clang.
It's about 1% speedup for Stockfish. Result of 100 runs ================== base (...fish_clang12) = 1946851 +/- 3717 test (./stockfish ) = 1967276 +/- 3408 diff = +20425 +/- 2438 speedup = +0.0105 P(speedup > 0) = 1.0000 Thanks to David Major for making me aware of this part of LLVM development. closes https://github.com/official-stockfish/Stockfish/pull/3346 No functional change
This commit is contained in:
parent
b15e3b3fa9
commit
550fed3343
1 changed files with 4 additions and 0 deletions
|
@ -481,6 +481,10 @@ ifeq ($(optimize),yes)
|
|||
CXXFLAGS += -mdynamic-no-pic
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(comp),clang)
|
||||
CXXFLAGS += -fexperimental-new-pass-manager
|
||||
endif
|
||||
endif
|
||||
|
||||
### 3.4 Bits
|
||||
|
|
Loading…
Add table
Reference in a new issue