feat(v4): Phase 7 Task 3b -- compudynamics on the 32 F18 opcodes as on the words, behind OPCODE_PHYSICS (#189)
Captain Bob, 2026-11-14: "we're supposed to be working on f18 opcode as well as our composed f18 dictionary"; ruled every loop on both, "and an easy revert if opcodes are too granular". - The engine: a hook at retire (exec.h on_retire), as Part A's at call; NULL unless set. test_exec.c. - The mesh: 32 opcode records per node, an opcode window, opcode transitions under L4; at every retired instruction decay at the opcodes' own slope, heat, temperature, the window, the transition; in each cycle all 32 cooled, the opcode window's service, inference on its heat. L8 scores from the words and its gates govern both; the tick stays paced by word calls. The window is now one type for words and opcodes. - The revert: OPCODE_PHYSICS (Kconfig.physics, default y; the kernel's flags) -- 0 and the opcodes are counted and charged to the Stadium as in Phase 1. make -C v4 mesh-boot-noop builds and tests it. - Tests first: test_mesh_boot.c 77 checks as built, 86 with pipelining on, 74 with the revert. - Measured on amd64, back to back: 219 s on, 196 s off (+12% under TCG). Both boots' logs labelled. Not pushed (held to the end of Phase 7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
+2
-1
@@ -471,6 +471,7 @@ ifeq ($(KCONFIG_ACTIVE),1)
|
||||
$(eval $(call kconfig_bool,STRICT_PTR,1))
|
||||
$(eval $(call kconfig_bool,ENABLE_HOTWORDS_CACHE,0))
|
||||
$(eval $(call kconfig_bool,ENABLE_PIPELINING,0))
|
||||
$(eval $(call kconfig_bool,OPCODE_PHYSICS,1))
|
||||
$(eval $(call kconfig_int,ROLLING_WINDOW_SIZE,4096))
|
||||
$(eval $(call kconfig_int,TRANSITION_WINDOW_SIZE,8))
|
||||
$(eval $(call kconfig_int,ADAPTIVE_SHRINK_RATE,50))
|
||||
@@ -524,7 +525,7 @@ $(eval $(call kconfig_bool,SK_PARITY_DEBUG,0))
|
||||
endif
|
||||
|
||||
VM_FEATURE_FLAG_VARS := \
|
||||
STRICT_PTR ENABLE_HOTWORDS_CACHE ENABLE_PIPELINING \
|
||||
STRICT_PTR ENABLE_HOTWORDS_CACHE ENABLE_PIPELINING OPCODE_PHYSICS \
|
||||
ROLLING_WINDOW_SIZE TRANSITION_WINDOW_SIZE \
|
||||
ADAPTIVE_SHRINK_RATE ADAPTIVE_MIN_WINDOW_SIZE \
|
||||
ADAPTIVE_CHECK_FREQUENCY ADAPTIVE_GROWTH_THRESHOLD \
|
||||
|
||||
Reference in New Issue
Block a user