Improve RGBA422 edge allocation using official fuzzy scores #1118

Merged
coah80 merged 1 commits from agent/bittle/rgba422edge-official-fuzzy into main 2026-10-03 16:20:03 +00:00
coah80 commented 2026-10-03 16:19:00 +00:00 (Migrated from github.com)

Scope and result

43U only. Swap adjacent existing lumaSkip/tileRow declarations in TMCJPEGDEC_converterYUV422toRGBA8edge. No type, initializer, expression, scope, call, compiler or linking changes; all other source bytes remain fixed.

  • Function91.9469% →92.0354%; unit90.68405% →90.69012%
  • 113 instructions unchanged; proxy remains(6,51)
  • Twelve sibling bodies and two exact functions preserved; code660/6596 and all data/link measures unchanged
  • Current-base aggregate fuzzy99.73176% →99.73178%; partial fuzzy improvement only

Independent parent verification

Parent rebuilt default43U/ok, then rebased and rebuilt on bb662f37e6. All1027 current-main objects/reports checked: only owned object/unit changes, zero function/exact/code/data/link regression. Current object and raw report equal immutable snapshot0046. Tested treec5f18d1c6bd9c99d7706d1a5da59f1004f1f6f67.

Independently regenerated all783 official snapshot reports and verified the complete fixed order set. Six improving neighbors,158tied neighbors,618losses; first maximum0046 selected. All snapshots preserve outside-target whole-object bytes, section headers, relocation vectors and siblings. This audit repeats historical proxy-scored source orders to fill missing official-score evidence; older snapshots were lost, and no novel-order claim is made. Only49/782winner neighbors observed; no fixed-point claim or adaptive continuation.

Independent sequential pixel oracle passes11895vectors, including4518contained overlaps, full113instruction coverage across baseline/candidate/original and preserved ABI. JPEG suite9456paired cases passes. Even-x contract, bounded allocation and sequential memory order are respected. These are bounded interpreter diagnostics, not formal equivalence or Wii hardware execution.

Pool identical/empty; literal audit12functions, no candidates/errors; unchanged size-mismatched setter skipped. Correct DOL SHA1:26116613f624061ba99c8d1a299aaa6efa85670d. Clean worktree/diff checks pass. Detailed log committed; original executable artifacts stay local. No merge performed or requested.

Note

Reorder local declarations in TMCJPEGDEC_converterYUV422toRGBA8edge for RGBA422 edge

Reorders two adjacent local declarations in Texture_MCUtoRGBA8.c so the tile-row variable comes before the luma-skip variable. No executable statements, types, or values change. Adds an evidence report in allhands-jpeg-rgba422edge-fuzzy-neighbors.attempts.md covering baseline and retained hashes, official fuzzy scores, object comparison, and reproduction commands.

Macroscope summarized 77caf9b.

## Scope and result 43U only. Swap adjacent existing lumaSkip/tileRow declarations in TMCJPEGDEC_converterYUV422toRGBA8edge. No type, initializer, expression, scope, call, compiler or linking changes; all other source bytes remain fixed. - Function91.9469% →92.0354%; unit90.68405% →90.69012% - 113 instructions unchanged; proxy remains(6,51) - Twelve sibling bodies and two exact functions preserved; code660/6596 and all data/link measures unchanged - Current-base aggregate fuzzy99.73176% →99.73178%; partial fuzzy improvement only ## Independent parent verification Parent rebuilt default43U/ok, then rebased and rebuilt on bb662f37e6a1b504ce9fa94709b9e2651312104c. All1027 current-main objects/reports checked: only owned object/unit changes, zero function/exact/code/data/link regression. Current object and raw report equal immutable snapshot0046. Tested treec5f18d1c6bd9c99d7706d1a5da59f1004f1f6f67. Independently regenerated all783 official snapshot reports and verified the complete fixed order set. Six improving neighbors,158tied neighbors,618losses; first maximum0046 selected. All snapshots preserve outside-target whole-object bytes, section headers, relocation vectors and siblings. This audit repeats historical proxy-scored source orders to fill missing official-score evidence; older snapshots were lost, and no novel-order claim is made. Only49/782winner neighbors observed; no fixed-point claim or adaptive continuation. Independent sequential pixel oracle passes11895vectors, including4518contained overlaps, full113instruction coverage across baseline/candidate/original and preserved ABI. JPEG suite9456paired cases passes. Even-x contract, bounded allocation and sequential memory order are respected. These are bounded interpreter diagnostics, not formal equivalence or Wii hardware execution. Pool identical/empty; literal audit12functions, no candidates/errors; unchanged size-mismatched setter skipped. Correct DOL SHA1:26116613f624061ba99c8d1a299aaa6efa85670d. Clean worktree/diff checks pass. Detailed log committed; original executable artifacts stay local. No merge performed or requested. <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Reorder local declarations in `TMCJPEGDEC_converterYUV422toRGBA8edge` for RGBA422 edge > Reorders two adjacent local declarations in [Texture_MCUtoRGBA8.c](https://github.com/coah80/wii-ipl/pull/1118/files#diff-43f833baadaffaadab5e93ae34189875e88de77afa5d1f996fdd17d91497cf70) so the tile-row variable comes before the luma-skip variable. No executable statements, types, or values change. Adds an evidence report in [allhands-jpeg-rgba422edge-fuzzy-neighbors.attempts.md](https://github.com/coah80/wii-ipl/pull/1118/files#diff-a731f0f72e583c5b9cf40260381fede630fe2e9e821b78155db385da5c99b663) covering baseline and retained hashes, official fuzzy scores, object comparison, and reproduction commands. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 77caf9b.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
coah80 commented 2026-10-03 16:20:01 +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.