summaryrefslogtreecommitdiff
path: root/src/GNUmakefile
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-10-07 08:17:51 -0700
committerScott Gasch <[email protected]>2026-10-07 08:17:51 -0700
commitd14dbe2a50c220b2adac758c3d4f1a1fa67ece0b (patch)
treecbf6d9928bcc41ef833b62b70479113f7d419925 /src/GNUmakefile
parent447130db3df87b40d080dc26429d45e9213c19f7 (diff)
Speed up eval/move-gen/SEE; remove EvalLookForDanger, overhaul _EvalKing
SPRT-confirmed improvement (1814 games, st 4.0): candidate nps=1498118 vs head=1378448, avg depth 14.30 vs 13.87, ELO=+24.2+/-16.0, LOWER95=0.5118, LLR=+3.126 crossing the H1 bound. Most of the diff is non-semantic speed work across eval.c, generate.c, movesup.c, see.c, probe.c and friends. Two real semantic changes: removed EvalLookForDanger and overhauled _EvalKing's king-safety scoring. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Diffstat (limited to 'src/GNUmakefile')
-rw-r--r--src/GNUmakefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index 14fa65a..8a4904b 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -9,7 +9,6 @@
# BOUNDS_CHECKING=1: make version with bounds checking enabled
# MP=1: make version for multi-processor machine
# DUMP_TREE=1: internal tree dumping version
-# SEE_HEAPS=1: use minheaps in the SEE code
# OSX=1: build for an Intel-based Apple Mac (omit this for FreeBSD/Linux)
# USE_READLINE=1: link against the GNU readline library
# SIXTYFOUR=1: make an X64 binary
@@ -26,12 +25,12 @@
# match_play.py). The mailbox code is still fully present and
# compiled either way -- this flag only flips which side of each
# macro-swap wins, it doesn't remove anything.
-# EVERYTHING=1: everything everything everything everything
# GPROF=1: instrument with -pg for gprof(1)-based profiling (see
# PROFILE.md) -- root-free on both FreeBSD and Linux, unlike
# hardware-counter-based profiling (pmcstat/perf). Requires a
# `gmake clean` first/after, since -pg changes codegen for every
# translation unit.
+# EVERYTHING=1: everything everything everything everything
#
# $Id$
#
@@ -132,7 +131,8 @@ ifndef DISABLE_BITBOARD_MOVEGEN
-DGENERATE_ROOK_BITBOARD -DGENERATE_BISHOP_BITBOARD \
-DGENERATE_QUEEN_BITBOARD -DGENERATE_PAWN_BITBOARD \
-DGENERATE_ESCAPES_KING_BITBOARD -DGENERATE_ESCAPES_BLOCK_BITBOARD \
- -DEXPOSESCHECK_BITBOARD -DISATTACKED_BITBOARD
+ -DEXPOSESCHECK_BITBOARD -DISATTACKED_BITBOARD \
+ -DUNBLOCKED_BITBOARD
endif
ifdef EVERYTHING
@@ -324,7 +324,7 @@ FATHOM_CFLAGS = -std=gnu99 -O2 -Ifathom $(filter -m32 -m64,$(PROFILE))
#
# ---> .o, not .c! <---
-#
+#
OBJS = main.o root.o search.o searchsup.o draw.o dynamic.o \
hash.o eval.o x86.o pawnhash.o bitboard.o \
generate.o see.o move.o movesup.o command.o script.o \
@@ -334,7 +334,7 @@ OBJS = main.o root.o search.o searchsup.o draw.o dynamic.o \
ifdef TEST
# ---> .o, not .c! <---
-#
+#
OBJS += testdraw.o testmove.o testfen.o testgenerate.o \
testsan.o testics.o testeval.o testbitboard.o \
testhash.o testsee.o testsearch.o testsup.o \