Files
LithosAnanke/capsules/v4/sys/map-32.f18
T
Claude 3a70e824a2 feat(v4): Phase 7 Task 2b -- pipelining and the hot-words cache, built, off as v3 (#189)
Rulings, Captain Bob 2026-11-13: "Build a hot-words cache"; then, v3 being found to have both off
(ENABLE_PIPELINING, ENABLE_HOTWORDS_CACHE: n in Kconfig.physics and kernel/Makefile), "Built, off as v3".

- The kernel, at every call (mesh.c): v3's hit check, the transition, the likeliest next word (kept as each
  count rises; v3 scans 1024 a call -- the same word but in a tie v3's Q48.16 rounding makes), speculation
  at v3's thresholds into the node's cache; a word past heat 50 promoted at its call (v3 promotes at a
  lookup; v4's heat is the kernel's). Counters from the owner's heap, given back when a word goes.
- The node (dict.f18): (LOOKUP) tries (HOT)'s xts first, in F18, calling only C@; the kernel keeps it true
  (entries that go, or whose name is defined again, taken out). Empty unless the build has the cache.
- Tests: test_mesh_boot.c as built (57 checks) and with both on (mesh-boot-on, 65). v4 test: all pass.
- Reported, v3's own: when full, its promote takes the next slot without looking for the word there (a few
  hot words churn all 32 slots); its prefetch misses are never counted. Both reproduced.
- amd64 boots, RESULT: PASS, but 174 s and 181 s against 2a's 146 s, while on the host the mesh boot is no
  slower: being measured. Not pushed (held to the Phase 7 boundary).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-13 21:52:01 +00:00

132 lines
3.0 KiB
Plaintext

\ map-32.f18 -- the memory map the system's source is assembled with, 32-bit cells.
\ Generated by v4/tools/mkmap.c (mkmap sys) from v4/tests/host_map.h -- do not edit.
constant N-1 31
constant NODE-ERROR 16382
constant CONSOLE-TX 16380
constant CONSOLE-RX 16378
constant CONSOLE-STATUS 16377
constant BASE 16376
constant TIB 63776
constant >IN 16375
constant SPAN 16374
constant WBUF 64856
constant (P) 16360
constant DP 16373
constant (LATEST) 16372
constant DBASE 32768
constant DLIMIT 55296
constant PAD 63656
constant (D) 16352
constant (CG) 16336
constant CG-BSLOTS 3
constant STATE 16371
constant (C) 16322
constant (CFP) 16370
constant (Q) 14673
constant (F) 16279
constant (S) 15812
constant (W) 16285
constant (X) 15792
constant (HOT) 15757
constant (BOOT) 15715
constant (NEXT-ID) 15711
constant (BOOT-ID) 15712
constant (LOG-LEVEL) 14672
constant (ACL-HOOK) 14671
constant SCR 15707
constant BLK 15708
constant (SRC) 15709
constant (SRC-HOOK) 15710
constant (LINE-STATUS) 14668
constant (PORT) 14537
constant (ME) 14664
constant (CONSOLE) 14661
constant (ROUTE#) 14660
constant (ROUTE-DEFAULT) 14659
constant (LOST) 14658
constant (PRINT-TO) 14657
constant (PRINT-PORT) 14644
constant (DONE-PORT) 14643
constant (ROUTES) 14581
constant -PORTS -8
constant (NEAR) 14613
constant (AWAIT-FROM) 14638
constant (WIRE) 14549
constant (WIRE-A) 14550
constant (WIRE-B) 14551
constant (WIRE-DO) 14552
constant (WIRE-HOW) 14553
constant (WIRE-HAVE) 14554
constant (S-HAVE) 14642
constant (S-MASK) 14641
constant (S-WIRE) 14640
constant (S-ON) 14639
constant (KEEP) 14637
constant (DEFER) 14636
constant (D-MASK) 14669
constant (IN) 14621
constant (ONE) 14628
constant (OUT-HDR) 14565
constant (W-NEED) 14572
constant (W-PORT) 14573
constant (P-WAY) 14574
constant (P-NEED) 14577
constant (H-PORT) 14578
constant (H-NEED) 14579
constant (H-MASK) 14580
constant (A-SELF) 14575
constant (SEND^) 14576
constant (OUT-TEXT) 14213
constant (SEND-TEXT) 13877
constant (QUIET) 14667
constant (REFUSED) 14670
constant (OUT^) 14663
constant (REPLY) 14662
constant (MSG) 14629
constant (OUT) 14277
constant (WORD-DEFINED) 14666
constant (WORD-FORGOTTEN) 14665
constant BLOCK# -1
constant BUFFER# -2
constant UPDATE# -3
constant SAVE-BUFFERS# -4
constant EMPTY-BUFFERS# -5
constant (Q/) 15717
constant (QE) 15722
constant (QR) 15730
constant (QL) 15735
constant (QT) 15742
constant (QP) 15748
constant (DP) 15752
constant ADDR-DIGITS 8
constant MSB -2147483648
constant MAXHI 2147483647
constant HIMASK 65535
constant 2N+15 79
constant N-18 14
constant N-17 15
constant MAX-INT 2147483647
constant HLD 16359
constant FENCE 16358
constant CONTEXT 16320
constant CURRENT 16321
constant VOC-LINK 16334
constant HEND 63248
constant -HFLOOR -63186
constant DSTACK-DEPTH 16369
constant RSTACK-DEPTH 16368
constant HEAT-OP 13824
constant (EXEC) 14655
constant (RUNX) 14562
constant ANTICLOCK 13856
constant CFBASE 16288
constant CFEND 16320
constant ROM-UM* 16384
constant ROM-UM/MOD 16385
constant ROM-D+ 16386
constant ROM-DNEGATE 16387
constant ROM-Q.* 16388
constant ROM-Q./ 16389
constant DICT-W 8192
constant (IMG) 14558