decomp(jpeg): improve RGBA411 edge declaration order to 94.11% #1082

Merged
coah80 merged 1 commits from agent/bittle/rgba411edge-final into main 2026-10-03 08:42:27 +00:00
coah80 commented 2026-10-03 08:41:36 +00:00 (Migrated from github.com)

Scope

Reorders only 23 existing uninitialized leading declarations in TMCJPEGDEC_converterYUV411toRGBA8edge. Preserves s8 crValue, all expressions/initializers/types/scopes/helpers and linking flags. Honest partial improvement, not exact.

Independent parent verification on dc3eede8

  • Function fuzzy 93.88393% → 94.10714%; unit 90.43238% → 90.44754%
  • 112/112 instructions, raw differences 56 → 51
  • All 12 sibling instruction streams unchanged; 2/13 exact and 660 matched code bytes preserved
  • Complete report has no regressions; only this function improves
  • All 1027 allocated objects compared: only this unit's text changes; 24 relocations and nontext data unchanged
  • Parent freshly rebuilt and reran independent 4:1:1 edge pixel model against original/current-main/candidate: 11,828 vectors / 35,484 executions, including 1,257 edge-size cases, 256 dimension-branch cases, 6,400 saturation vectors and 3,915 contained aligned input/output overlaps. All 112 instructions covered in each object; output/guard checks pass. Aligned x origins respected. Bounded machine-level checks, not a formal proof or Wii runtime test
  • Worker additionally passed the 9,456-case repository differential audit
  • Pool empty/identical; literal audit 12 functions / 0 arguments, no candidates/errors; pre-existing unequal-size setter skipped
  • Full default progress build plus all_source/report/ok, worktree and diff gates pass; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d

The final expression context postdates the historical 250-evaluation search by one retained OR-expression change; no expression is changed here. One unchanged official declsearch run, lines288–310 with max1600, naturally stopped after1227 evaluations: (4,56) → (4,53) → (4,52) → (4,51). All715 immediate swap/move neighbors of the final order were checked. This is a local fixed point for the tool comparator, not all permutations or plateau paths. No restart or continuation.

Candidate object SHA256 2f76cc3bfb3044b01df8949df97dd34722ef4c7cc37eb73f871ad6a969fad413. Uploaded tree f293e94c87 equals independently tested tree. Evidence and limitations in attempts log. No merge or auto-merge requested.

## Scope Reorders only 23 existing uninitialized leading declarations in TMCJPEGDEC_converterYUV411toRGBA8edge. Preserves s8 crValue, all expressions/initializers/types/scopes/helpers and linking flags. Honest partial improvement, not exact. ## Independent parent verification on dc3eede8 - Function fuzzy 93.88393% → 94.10714%; unit 90.43238% → 90.44754% - 112/112 instructions, raw differences 56 → 51 - All 12 sibling instruction streams unchanged; 2/13 exact and 660 matched code bytes preserved - Complete report has no regressions; only this function improves - All 1027 allocated objects compared: only this unit's text changes; 24 relocations and nontext data unchanged - Parent freshly rebuilt and reran independent 4:1:1 edge pixel model against original/current-main/candidate: 11,828 vectors / 35,484 executions, including 1,257 edge-size cases, 256 dimension-branch cases, 6,400 saturation vectors and 3,915 contained aligned input/output overlaps. All 112 instructions covered in each object; output/guard checks pass. Aligned x origins respected. Bounded machine-level checks, not a formal proof or Wii runtime test - Worker additionally passed the 9,456-case repository differential audit - Pool empty/identical; literal audit 12 functions / 0 arguments, no candidates/errors; pre-existing unequal-size setter skipped - Full default progress build plus all_source/report/ok, worktree and diff gates pass; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d ## Finite current-context search The final expression context postdates the historical 250-evaluation search by one retained OR-expression change; no expression is changed here. One unchanged official declsearch run, lines288–310 with max1600, naturally stopped after1227 evaluations: (4,56) → (4,53) → (4,52) → (4,51). All715 immediate swap/move neighbors of the final order were checked. This is a local fixed point for the tool comparator, not all permutations or plateau paths. No restart or continuation. Candidate object SHA256 2f76cc3bfb3044b01df8949df97dd34722ef4c7cc37eb73f871ad6a969fad413. Uploaded tree f293e94c87032dff1512f77b276493e272d90365 equals independently tested tree. Evidence and limitations in attempts log. No merge or auto-merge requested.
coah80 commented 2026-10-03 08:42:25 +00:00 (Migrated from github.com)

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.

Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.
Sign in to join this conversation.