decomp(jpeg): refine Lumi butterfly declaration order #1091
Reference in New Issue
Block a user
Delete Branch "agent/bittle/lumi-inner-order"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope
One adjacent swap of existing uninitialized s32 declarations inside Lumi's first-pass butterfly. All assignments, arithmetic, scopes, initializers, accesses and Col source remain unchanged. No compiler/configuration changes, artificial branches or padding.
Measured gain
Exactly120 permutations of the five existing inner declarations were really compiled and officially scored. Parent independently regenerated all120 saved-object official scores;20 tie for best. Retained first best is the minimal adjacent swap. This exhausts only the fixed five-local block, not broader source possibilities.
Independent verification
Fresh parent worktree and full default43U build on f46483afafa066cf1dfaa6e7603241b9c7beeff4; tested tree7a6eeb833c91981aa052f97033129bca92ebc053.
-8 workflow tests and main/leaf checks pass
Tests are bounded interpreter diagnostics, not formal proof or hardware execution. No original binaries/disassembly are included. Detailed source scope, prior coverage, hashes and evidence are in tools/decomp-assist/allhands-jpeg-lumi-inner-orders.attempts.md.
Opened for human review; no merge or auto-merge requested.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.