Refine RGBA411 edge chroma-skip allocation #1127

Merged
coah80 merged 1 commits from agent/bittle/rgba411edge-chroma-green into main 2026-10-03 17:34:37 +00:00
coah80 commented 2026-10-03 17:33:14 +00:00 (Migrated from github.com)

Scope and result

43U only. Swap existing chromaSkip/greenOffset declarations in TMCJPEGDEC_converterYUV411toRGBA8edge. All types, expressions, assignments, scopes, chroma caching and stores remain fixed.

  • Function94.24107% →94.28571%; unit90.69921% →90.70224%
  • 112 instructions unchanged; twelve sibling bodies and two exact functions preserved
  • Code660/6596, data and linking unchanged
  • Global fuzzy remains99.73349% at current report precision; this is a small local fuzzy gain, not a new exact match

Independent parent verification

Parent rebuilt default43U/ok, then rebased/rebuilt on f170531aa3, preserving external #1125/#1126. All1027 current-main objects/reports compared: only owned object/unit changes, no function/exact/code/data/link regression. Candidate object/raw report equal immutable snapshot0240. Tested tree93c94873e958902d98a1eabf88a0fe5643eccd2d.

Independently regenerated all716 official scores and enumerated the fixed baseline+715neighbors set. Unique maximum0240 retained. All snapshots preserve outside-target file bytes, section headers, relocation vectors and siblings. Six orders overlap the prior official manifest; older overlap unknown. Winner coverage5/715, no fixed-point or adaptive-continuation claim.

Independent sequential edge oracle11451vectors, including3474contained aliases and full112instruction coverage, passes for baseline/candidate/original with preserved ABI. JPEG suite9456paired cases passes. Four-pixel x alignment, signed chroma, unsigned luma and live input/alias ordering remain fixed. Bounded interpreter diagnostics, not formal equivalence or Wii hardware testing.

Pool identical/empty. Literal audit12functions, no candidates/errors; unchanged unequal-sized setter skipped. DOL SHA1:26116613f624061ba99c8d1a299aaa6efa85670d. Clean source/worktree/diff gates pass. Detailed evidence log committed; original executable artifacts stay local. No merge performed or requested.

Note

Reorder greenOffset, blueOffset, chromaSkip locals in TMCJPEGDEC_converterYUV411toRGBA8edge

Reorders three local scalar declarations in the YUV411-to-RGBA8 edge converter: greenOffset before blueOffset, and chromaSkip after blueOffset. No logic changes.

Macroscope summarized 0791b0c.

## Scope and result 43U only. Swap existing chromaSkip/greenOffset declarations in TMCJPEGDEC_converterYUV411toRGBA8edge. All types, expressions, assignments, scopes, chroma caching and stores remain fixed. - Function94.24107% →94.28571%; unit90.69921% →90.70224% - 112 instructions unchanged; twelve sibling bodies and two exact functions preserved - Code660/6596, data and linking unchanged - Global fuzzy remains99.73349% at current report precision; this is a small local fuzzy gain, not a new exact match ## Independent parent verification Parent rebuilt default43U/ok, then rebased/rebuilt on f170531aa3b5f180ef2fd68d79ad168a5d9695e1, preserving external #1125/#1126. All1027 current-main objects/reports compared: only owned object/unit changes, no function/exact/code/data/link regression. Candidate object/raw report equal immutable snapshot0240. Tested tree93c94873e958902d98a1eabf88a0fe5643eccd2d. Independently regenerated all716 official scores and enumerated the fixed baseline+715neighbors set. Unique maximum0240 retained. All snapshots preserve outside-target file bytes, section headers, relocation vectors and siblings. Six orders overlap the prior official manifest; older overlap unknown. Winner coverage5/715, no fixed-point or adaptive-continuation claim. Independent sequential edge oracle11451vectors, including3474contained aliases and full112instruction coverage, passes for baseline/candidate/original with preserved ABI. JPEG suite9456paired cases passes. Four-pixel x alignment, signed chroma, unsigned luma and live input/alias ordering remain fixed. Bounded interpreter diagnostics, not formal equivalence or Wii hardware testing. Pool identical/empty. Literal audit12functions, no candidates/errors; unchanged unequal-sized setter skipped. DOL SHA1:26116613f624061ba99c8d1a299aaa6efa85670d. Clean source/worktree/diff gates pass. Detailed evidence 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 `greenOffset`, `blueOffset`, `chromaSkip` locals in `TMCJPEGDEC_converterYUV411toRGBA8edge` > Reorders three local scalar declarations in the YUV411-to-RGBA8 edge converter: `greenOffset` before `blueOffset`, and `chromaSkip` after `blueOffset`. No logic changes. > > - Adds [allhands-jpeg-rgba411edge-next-neighbors.attempts.md](https://github.com/coah80/wii-ipl/pull/1127/files#diff-4da7aa52b7f91cf7b0b896ccb97575e68ce9f4dd15b3873713bdcdeb6c447ec7), which documents the declaration-order candidate, its baseline, objdiff results, validation gates, and reproduction commands. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized 0791b0c.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
coah80 commented 2026-10-03 17:34:34 +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.