Five Updates for the M1

Five updates for the m1: berserk-4.2.0, Ethereal-13.0.0, honey-13.2.1, mayhem-5.0, shashchess-17.1

Binary: berserk-4.2.0
Source: https://github.com/jhonnold/berserk/releases/tag/4.2.0

% diff Makefile Makefile_old
8,9c8,9
< CFLAGS = -O3 $(WFLAGS) -flto -DNDEBUG
< TFLAGS = -O3 $(WFLAGS) -flto -fopenmp -DTUNE -DNDEBUG 
---
> CFLAGS = -O3 $(WFLAGS) -flto -march=native -DNDEBUG
> TFLAGS = -O3 $(WFLAGS) -flto -fopenmp -march=native -DTUNE -DNDEBUG 
% make

 

Binary: Ethereal-13.0.0
Source: https://github.com/AndyGrant/Ethereal/releases/tag/v13.00

% diff Makefile Makefile_old
31,33c31,33
< CFLAGS   = -O3 $(WFLAGS) $(NN) -DNDEBUG -flto 
< TFLAGS   = -O3 $(WFLAGS) $(NN) -DNDEBUG -flto -fopenmp -DTUNE
< PGOFLAGS = -O3 $(WFLAGS) $(NN) -DNDEBUG -flto -fno-asynchronous-unwind-tables
---
> CFLAGS   = -O3 $(WFLAGS) $(NN) -DNDEBUG -flto -march=native
> TFLAGS   = -O3 $(WFLAGS) $(NN) -DNDEBUG -flto -march=native -fopenmp -DTUNE
> PGOFLAGS = -O3 $(WFLAGS) $(NN) -DNDEBUG -flto -march=native -fno-asynchronous-unwind-tables
% make

 

Binary: honey-v13.2.1-slim
Net: nn-7756374aaed3.nnue (default)
Source: https://github.com/MichaelB7/Stockfish/releases/tag/13.2.1

% diff Makefile Makefile_old
26c26
< EXE = honey-v13.2.1-slim
---
> EXE = honey-v13.2
320d319
< CXXFLAGS += -DNNUE_EMBEDDING_OFF
% make profile-build COMP=clang ARCH=apple-silicon

 

Binary: mayhem-5.0
Net: nn-cb80fb9393af.nnue
Book: performance.bin
Source: https://github.com/SamuraiDangyo/mayhem/releases/tag/v5.0

% diff Makefile Makefile_old
16c16
< BFLAGS   = -std=c++17 -O3 -target arm64-apple-macos11 -flto
---
> BFLAGS   = -std=c++17 -O3 -flto -march=native -mpopcnt
18c18
< NFLAGS   = -DUSE_NEON
---
> NFLAGS   = -DUSE_AVX2 -mavx2
% make

 

Binary: shashchess-17.1-slim
Net: nn-8a08400ed089.nnue (default)
Source: https://github.com/amchess/ShashChess/releases/tag/17.1

% diff Makefile Makefile_old
313d312
< CXXFLAGS += -DNNUE_EMBEDDING_OFF
315c314
< LDFLAGS += -lcurl  $(EXTRALDFLAGS)
---
> LDFLAGS += -lcurl -lws2_32 $(EXTRALDFLAGS)
% make profile-build COMP=clang ARCH=apple-silicon