Convert iplChannelSelect asm to C++ and drop hand-placed labels #234

Merged
coah80 merged 1 commits from agent/w0929/fix-chansel into main 2026-09-28 20:04:53 +00:00
coah80 commented 2026-09-28 20:04:44 +00:00 (Migrated from github.com)

cleans up iplChannelSelect, done by a gpt-6-luna xhigh worker, verified by me from a clean build

  • 5 of the 7 inline asm functions converted to real c++ (still instruction exact), asm 7 -> 2
  • hand placed lbl_ refs 174 -> 34, pane name tables and literals are real arrays/strings now
  • .sdata2 86% -> 100%, data 104 -> 192 bytes
  • still NonMatching: setChannelScissor at 93.5% (fp register allocation) and .data at 95.6%, so no link yet

gates (fresh orchestrator build on top of #233)

  • pool identical, 101/102 functions exact, 0 regressions vs main
  • 0 forbidden patterns, 0 readability problems
  • clean ninja build/43U/ok passes, main.dol sha1 26116613f624061ba99c8d1a299aaa6efa85670d
cleans up iplChannelSelect, done by a gpt-6-luna xhigh worker, verified by me from a clean build - 5 of the 7 inline asm functions converted to real c++ (still instruction exact), asm 7 -> 2 - hand placed `lbl_` refs 174 -> 34, pane name tables and literals are real arrays/strings now - .sdata2 86% -> 100%, data 104 -> 192 bytes - still NonMatching: `setChannelScissor` at 93.5% (fp register allocation) and .data at 95.6%, so no link yet gates (fresh orchestrator build on top of #233) - pool identical, 101/102 functions exact, 0 regressions vs main - 0 forbidden patterns, 0 readability problems - clean `ninja build/43U/ok` passes, main.dol sha1 `26116613f624061ba99c8d1a299aaa6efa85670d`
Sign in to join this conversation.