decomp(channel): getTitleName in C #1268
@@ -1,7 +1,7 @@
|
||||
# Assembly inventory
|
||||
|
||||
4.3U, 2026-10-05. 167 functions contain 169 assembly
|
||||
bodies/blocks: 162 ORIGINAL functions and 5 PLACEHOLDER functions.
|
||||
4.3U, 2026-10-08. 166 functions contain 168 assembly
|
||||
bodies/blocks: 162 ORIGINAL functions and 4 PLACEHOLDER functions.
|
||||
|
||||
Run `python3 tools/check_asm_inventory.py`. Completion requires exit 0, complete
|
||||
coverage and zero placeholders. The checker also rejects stale/duplicate rows,
|
||||
@@ -186,8 +186,7 @@ found. Historical logs absent from this branch have commit IDs and excerpts in
|
||||
| `src/BS2/BS2Start.c` | `__start` | ORIGINAL | Runs before the C stack and ABI registers exist; constructs the initial stack. |
|
||||
| `src/BS2/BS2Start.c` | `__init_registers` | ORIGINAL | Initializes GPRs, r1, r2, and r13 for the C runtime. |
|
||||
| `src/scene/nakamuraTest/gamespy/common/gsPlatformUtil.c` | `GetTicks` | ORIGINAL | Inactive PS2 branch reads the CP0 Count register with mfc0 $9. |
|
||||
| `src/system/iplChannelManager.cpp` | `getTitleName__Q33ipl7channel7ManagerCFiii` | PLACEHOLDER | Channel-name copying; best C 99.57746%, 71/71 instructions, four address-order differences, [rx17][rx17]. |
|
||||
| `src/system/iplSaveDataManager.cpp` | `Manager::hasChannel` | PLACEHOLDER | Title-slot search; best C 98.87324%, 71/71 instructions, 14 mask/base register differences, [rx30][rx30]. |
|
||||
| `src/system/iplSaveDataManager.cpp` | `Manager::hasChannel` | PLACEHOLDER | Title-slot search; best C 71/71 instructions, 12 mask/base register differences, [sol-ph1](../tools/decomp-assist/sol-ph1.attempts.md). |
|
||||
| `src/system/iplSystem.cpp` | `System::warning_run` | PLACEHOLDER | Scene/render calls; best C 98.66477%, 176/176 instructions, 47 saved-register differences, [rx17][rx17]. |
|
||||
| `src/system/rvl_dec.c` | `Rvl_decode` | ORIGINAL | Direct beq decoder entries preserve r3/r4 and LR; lis/ori builds the format signatures. |
|
||||
| `src/system/rvl_dec.c` | `Rvl_decode_szs` | ORIGINAL | Original SZS decoder convention: nofralloc, r0 retains output length, fixed r3..r10/CTR byte-copy pipeline. |
|
||||
|
||||
@@ -16,11 +16,6 @@
|
||||
#include <cstring>
|
||||
#include <cwchar>
|
||||
|
||||
extern "C" void _savegpr_27();
|
||||
extern "C" void _restgpr_27();
|
||||
extern "C" void getLanguage__Q23ipl6SystemFv();
|
||||
extern "C" void getRegion__Q23ipl6SystemFv();
|
||||
|
||||
namespace ipl {
|
||||
namespace channel {
|
||||
u32 Manager::mNumFinished;
|
||||
@@ -469,85 +464,34 @@ namespace ipl {
|
||||
System::getSaveData()->setChanInfo(page1, index1, blankInfo);
|
||||
}
|
||||
|
||||
extern "C" asm void getTitleName__Q33ipl7channel7ManagerCFiii() {
|
||||
nofralloc
|
||||
stwu r1, -0x20(r1)
|
||||
mflr r0
|
||||
stw r0, 0x24(r1)
|
||||
addi r11, r1, 0x20
|
||||
bl _savegpr_27
|
||||
mulli r28, r4, 0x540
|
||||
mr r27, r3
|
||||
mulli r29, r5, 0x70
|
||||
add r0, r3, r28
|
||||
add r31, r0, r29
|
||||
lbz r0, 0x24(r31)
|
||||
cmpwi r0, 0
|
||||
bne getTitleName_L1
|
||||
li r3, 0
|
||||
b getTitleName_L8
|
||||
getTitleName_L1:
|
||||
mulli r30, r6, 0x2a
|
||||
bl getLanguage__Q23ipl6SystemFv
|
||||
mulli r0, r3, 0x54
|
||||
lwz r3, 0x10(r31)
|
||||
add r0, r30, r0
|
||||
add r3, r3, r0
|
||||
lhz r0, 0x5c(r3)
|
||||
cmpwi r0, 0
|
||||
beq getTitleName_L3
|
||||
bl getLanguage__Q23ipl6SystemFv
|
||||
mulli r3, r3, 0x54
|
||||
lwz r0, 0x10(r31)
|
||||
add r0, r0, r3
|
||||
add r3, r0, r30
|
||||
addi r3, r3, 0x5c
|
||||
b getTitleName_L8
|
||||
getTitleName_L3:
|
||||
bl getRegion__Q23ipl6SystemFv
|
||||
lis r5, scLangLookup__Q23ipl7channel@ha
|
||||
add r4, r27, r28
|
||||
slwi r3, r3, 6
|
||||
li r0, 0x10
|
||||
addi r5, r5, scLangLookup__Q23ipl7channel@l
|
||||
add r6, r29, r4
|
||||
add r8, r5, r3
|
||||
li r3, 0
|
||||
mtctr r0
|
||||
getTitleName_L4:
|
||||
lwzx r7, r8, r3
|
||||
lwz r0, 0x10(r6)
|
||||
mulli r5, r7, 0x54
|
||||
add r0, r0, r30
|
||||
add r4, r5, r0
|
||||
lhz r0, 0x5c(r4)
|
||||
cmpwi r0, 0
|
||||
beq getTitleName_L6
|
||||
lwz r0, 0x10(r31)
|
||||
add r0, r0, r5
|
||||
add r3, r0, r30
|
||||
addi r3, r3, 0x5c
|
||||
b getTitleName_L8
|
||||
getTitleName_L6:
|
||||
addis r0, r7, 1
|
||||
cmplwi r0, 0xffff
|
||||
beq getTitleName_L7
|
||||
addi r3, r3, 4
|
||||
bdnz getTitleName_L4
|
||||
getTitleName_L7:
|
||||
lwz r0, 0(r8)
|
||||
lwz r3, 0x10(r31)
|
||||
mulli r0, r0, 0x54
|
||||
add r0, r3, r0
|
||||
add r3, r0, r30
|
||||
addi r3, r3, 0x5c
|
||||
getTitleName_L8:
|
||||
addi r11, r1, 0x20
|
||||
bl _restgpr_27
|
||||
lwz r0, 0x24(r1)
|
||||
mtlr r0
|
||||
addi r1, r1, 0x20
|
||||
blr
|
||||
wchar_t* Manager::getTitleName(int page, int index, int nameIndex) const {
|
||||
u32 language;
|
||||
const u32* languages;
|
||||
|
||||
if (!mChannels[page][index].loadedBnr) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const wchar_t* preferredName = (const wchar_t*)(
|
||||
(const u8*)mChannels[page][index].metaHdr +
|
||||
(nameIndex * (s32)sizeof(mChannels[page][index].metaHdr->names[0][0]) +
|
||||
System::getLanguage() * sizeof(mChannels[page][index].metaHdr->names[0])) +
|
||||
offsetof(SChanMgrMetaHeader, names));
|
||||
if (preferredName[0]) {
|
||||
return mChannels[page][index].metaHdr->names[System::getLanguage()][nameIndex];
|
||||
}
|
||||
|
||||
languages = scLangLookup[System::getRegion()];
|
||||
for (int i = 0; i < 16; i++) {
|
||||
language = languages[i];
|
||||
if (mChannels[page][index].metaHdr->names[(int)language][nameIndex][0]) {
|
||||
return mChannels[page][index].metaHdr->names[language][nameIndex];
|
||||
}
|
||||
if (language == -1) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return mChannels[page][index].metaHdr->names[languages[0]][nameIndex];
|
||||
}
|
||||
|
||||
BOOL Manager::checkNeedUpdate(int page, int index) const {
|
||||
|
||||
264
tools/decomp-assist/sol-ph1.attempts.md
Normal file
264
tools/decomp-assist/sol-ph1.attempts.md
Normal file
@@ -0,0 +1,264 @@
|
||||
# sol-ph1 attempts
|
||||
|
||||
Worktree data-d6; branch agent/w1008/data-d6-h; initial HEAD f49f337c.
|
||||
Initial requested object build passed. Existing untracked rx63 evidence left untouched.
|
||||
Only zero differing instructions with equal size qualify. No pushes, PRs, rebases or other-worktree edits.
|
||||
Read prior opus-sdm, opus-iro, rx2b, rx36 and rx63 notes; target Ghidra exports and levers 25-29.
|
||||
|
||||
- has-00-seed: {"tag": "has-00-seed", "diffs": 54, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Reproduce h52 with titleCode declared in primary-type block.
|
||||
- title-00-seed: {"tag": "title-00-seed", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Reproduce signed predicate best C.
|
||||
- has-01-h52: {"tag": "has-01-h52", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Use target-proven 64-bit region comparison, avoids byte extraction hoist.
|
||||
- title-01-helper-0: {"tag": "title-01-helper-0", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-01-helper-1: {"tag": "title-01-helper-1", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-01-helper-2: {"tag": "title-01-helper-2", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-01-helper-3: {"tag": "title-01-helper-3", "diffs": 67, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-01-helper-4: {"tag": "title-01-helper-4", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-01-helper-5: {"tag": "title-01-helper-5", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-01-helper-6: {"tag": "title-01-helper-6", "diffs": 67, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-01-helper-7: {"tag": "title-01-helper-7", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-name lookup inside real inline helper; metadata pointer/ref, argument ordering, const and language call boundaries.
|
||||
- title-02-index-0: {"tag": "title-02-index-0", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Equivalent multidimensional-array addressing grouped by selected name/language.
|
||||
- title-02-index-1: {"tag": "title-02-index-1", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Equivalent multidimensional-array addressing grouped by selected name/language.
|
||||
- title-02-index-2: {"tag": "title-02-index-2", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Equivalent multidimensional-array addressing grouped by selected name/language.
|
||||
- title-02-index-3: {"tag": "title-02-index-3", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Equivalent multidimensional-array addressing grouped by selected name/language.
|
||||
- title-02-index-4: {"tag": "title-02-index-4", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Equivalent multidimensional-array addressing grouped by selected name/language.
|
||||
- title-02-index-5: {"tag": "title-02-index-5", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Equivalent multidimensional-array addressing grouped by selected name/language.
|
||||
- title-03-entry-helper-0: {"tag": "title-03-entry-helper-0", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-03-entry-helper-1: {"tag": "title-03-entry-helper-1", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-03-entry-helper-2: {"tag": "title-03-entry-helper-2", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-03-entry-helper-3: {"tag": "title-03-entry-helper-3", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-03-entry-helper-4: {"tag": "title-03-entry-helper-4", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-03-entry-helper-5: {"tag": "title-03-entry-helper-5", "diffs": 69, "insns": [77, 71], "sizes": [308, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-03-entry-helper-6: {"tag": "title-03-entry-helper-6", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-03-entry-helper-7: {"tag": "title-03-entry-helper-7", "diffs": 69, "insns": [77, 71], "sizes": [308, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Entry-based preferred-name helper delays metadata pointer read until after language call.
|
||||
- title-04-c89-0: {"tag": "title-04-c89-0", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-1: {"tag": "title-04-c89-1", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-2: {"tag": "title-04-c89-2", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-3: {"tag": "title-04-c89-3", "diffs": 69, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-4: {"tag": "title-04-c89-4", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-5: {"tag": "title-04-c89-5", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-6: {"tag": "title-04-c89-6", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-7: {"tag": "title-04-c89-7", "diffs": 65, "insns": [77, 71], "sizes": [308, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-8: {"tag": "title-04-c89-8", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-04-c89-9: {"tag": "title-04-c89-9", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Initial-language/name/entry locals declared at top; separate initialization.
|
||||
- title-05-byte-group-0: {"tag": "title-05-byte-group-0", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- title-05-byte-group-1: {"tag": "title-05-byte-group-1", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- title-05-byte-group-2: {"tag": "title-05-byte-group-2", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- title-05-byte-group-3: {"tag": "title-05-byte-group-3", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- title-05-byte-group-4: {"tag": "title-05-byte-group-4", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- title-05-byte-group-5: {"tag": "title-05-byte-group-5", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- title-05-byte-group-6: {"tag": "title-05-byte-group-6", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- title-05-byte-group-7: {"tag": "title-05-byte-group-7", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Flatten named name array with explicit element/byte stride grouping; no fixed metadata offset.
|
||||
- has-02-c89-0: {"tag": "has-02-c89-0", "diffs": 22, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-02-c89-1: {"tag": "has-02-c89-1", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-02-c89-2: {"tag": "has-02-c89-2", "diffs": 19, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-02-c89-3: {"tag": "has-02-c89-3", "diffs": 19, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-02-c89-4: {"tag": "has-02-c89-4", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-02-c89-5: {"tag": "has-02-c89-5", "diffs": 18, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-02-c89-6: {"tag": "has-02-c89-6", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-02-c89-7: {"tag": "has-02-c89-7", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; All real locals at function top with separate initialization; order follows mask/loop/title roles.
|
||||
- has-03-mask-helper-0: {"tag": "has-03-mask-helper-0", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Construct full 64-bit title matching mask in real inline helper.
|
||||
- has-03-mask-helper-1: {"tag": "has-03-mask-helper-1", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Construct full 64-bit title matching mask in real inline helper.
|
||||
- has-03-mask-helper-2: {"tag": "has-03-mask-helper-2", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Construct full 64-bit title matching mask in real inline helper.
|
||||
- has-03-mask-helper-3: {"tag": "has-03-mask-helper-3", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Construct full 64-bit title matching mask in real inline helper.
|
||||
- has-03-mask-helper-4: {"tag": "has-03-mask-helper-4", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Construct full 64-bit title matching mask in real inline helper.
|
||||
- has-03-mask-helper-5: {"tag": "has-03-mask-helper-5", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Construct full 64-bit title matching mask in real inline helper.
|
||||
- has-04-slot-helper-0: {"tag": "has-04-slot-helper-0", "diffs": 25, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real title construction, region stripping or region predicate helper.
|
||||
- has-04-slot-helper-1: {"tag": "has-04-slot-helper-1", "diffs": 25, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real title construction, region stripping or region predicate helper.
|
||||
- has-04-slot-helper-2: {"tag": "has-04-slot-helper-2", "diffs": 25, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real title construction, region stripping or region predicate helper.
|
||||
- has-04-slot-helper-3: {"tag": "has-04-slot-helper-3", "diffs": 22, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real title construction, region stripping or region predicate helper.
|
||||
- has-04-slot-helper-4: {"tag": "has-04-slot-helper-4", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real title construction, region stripping or region predicate helper.
|
||||
- has-04-slot-helper-5: {"tag": "has-04-slot-helper-5", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real title construction, region stripping or region predicate helper.
|
||||
- has-05-access-0: {"tag": "has-05-access-0", "diffs": 59, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Row/slot pointers, parameter copy, or page-scoped index with separate initialization.
|
||||
- has-05-access-1: {"tag": "has-05-access-1", "diffs": 59, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Row/slot pointers, parameter copy, or page-scoped index with separate initialization.
|
||||
- has-05-access-2: {"tag": "has-05-access-2", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Row/slot pointers, parameter copy, or page-scoped index with separate initialization.
|
||||
- has-05-access-3: {"tag": "has-05-access-3", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Row/slot pointers, parameter copy, or page-scoped index with separate initialization.
|
||||
- title-06-member-0: {"tag": "title-06-member-0", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-06-member-1: {"tag": "title-06-member-1", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-06-member-2: {"tag": "title-06-member-2", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-06-member-3: {"tag": "title-06-member-3", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-06-member-4: {"tag": "title-06-member-4", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-06-member-5: {"tag": "title-06-member-5", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-06-member-6: {"tag": "title-06-member-6", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-06-member-7: {"tag": "title-06-member-7", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata/channel-entry inline name accessor; pointer dereference stays inside member.
|
||||
- title-07-language-cast-0: {"tag": "title-07-language-cast-0", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-language index signedness changes address association without a named local.
|
||||
- title-07-language-cast-1: {"tag": "title-07-language-cast-1", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-language index signedness changes address association without a named local.
|
||||
- title-07-language-cast-2: {"tag": "title-07-language-cast-2", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-language index signedness changes address association without a named local.
|
||||
- title-07-language-cast-3: {"tag": "title-07-language-cast-3", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-language index signedness changes address association without a named local.
|
||||
- title-07-language-cast-4: {"tag": "title-07-language-cast-4", "diffs": 56, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-language index signedness changes address association without a named local.
|
||||
- title-07-language-cast-5: {"tag": "title-07-language-cast-5", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preferred-language index signedness changes address association without a named local.
|
||||
- has-06-accessor-0: {"tag": "has-06-accessor-0", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real const manager accessor or slot title-ID accessor, rather than temporary view types.
|
||||
- has-06-accessor-1: {"tag": "has-06-accessor-1", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real const manager accessor or slot title-ID accessor, rather than temporary view types.
|
||||
- has-06-accessor-2: {"tag": "has-06-accessor-2", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real const manager accessor or slot title-ID accessor, rather than temporary view types.
|
||||
- has-06-accessor-3: {"tag": "has-06-accessor-3", "diffs": 25, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real const manager accessor or slot title-ID accessor, rather than temporary view types.
|
||||
- has-06-accessor-4: {"tag": "has-06-accessor-4", "diffs": 22, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real const manager accessor or slot title-ID accessor, rather than temporary view types.
|
||||
- has-06-accessor-5: {"tag": "has-06-accessor-5", "diffs": 25, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real const manager accessor or slot title-ID accessor, rather than temporary view types.
|
||||
- has-07-match-shape-0: {"tag": "has-07-match-shape-0", "diffs": 63, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-1: {"tag": "has-07-match-shape-1", "diffs": 63, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-2: {"tag": "has-07-match-shape-2", "diffs": 63, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-3: {"tag": "has-07-match-shape-3", "diffs": 69, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-4: {"tag": "has-07-match-shape-4", "diffs": 54, "insns": [77, 71], "sizes": [308, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-5: {"tag": "has-07-match-shape-5", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-6: {"tag": "has-07-match-shape-6", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-7: {"tag": "has-07-match-shape-7", "diffs": 66, "insns": [69, 71], "sizes": [276, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-8: {"tag": "has-07-match-shape-8", "diffs": 67, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-07-match-shape-9: {"tag": "has-07-match-shape-9", "diffs": 65, "insns": [69, 71], "sizes": [276, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Real inline masked-title comparator, or separate high/low mask construction.
|
||||
- has-08-loop-0: {"tag": "has-08-loop-0", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- has-08-loop-1: {"tag": "has-08-loop-1", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- has-08-loop-2: {"tag": "has-08-loop-2", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- has-08-loop-3: {"tag": "has-08-loop-3", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- has-08-loop-4: {"tag": "has-08-loop-4", "diffs": 13, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- has-08-loop-5: {"tag": "has-08-loop-5", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- has-08-loop-6: {"tag": "has-08-loop-6", "diffs": 12, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- has-08-loop-7: {"tag": "has-08-loop-7", "diffs": 61, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 3 (mine=3 base=3)"}; Equivalent counted-loop spelling/bounds local or 64-bit title construction.
|
||||
- title-08-signed-byte-0: {"tag": "title-08-signed-byte-0", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-1: {"tag": "title-08-signed-byte-1", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-2: {"tag": "title-08-signed-byte-2", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-3: {"tag": "title-08-signed-byte-3", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-4: {"tag": "title-08-signed-byte-4", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-5: {"tag": "title-08-signed-byte-5", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-6: {"tag": "title-08-signed-byte-6", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-7: {"tag": "title-08-signed-byte-7", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-8: {"tag": "title-08-signed-byte-8", "diffs": 47, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
- title-08-signed-byte-9: {"tag": "title-08-signed-byte-9", "diffs": 47, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Signed byte-stride arithmetic retains CSE with the original signed name-index multiplication; explicit offset local variants.
|
||||
|
||||
## Allocator evidence
|
||||
|
||||
hasChannel capture: `/mnt/drive2/projects/wii-ipl-workers/_mwdbg/runs/hasChannel__Q33ipl8savedata7ManagerCFUxPiPi-20261008-204333`. Simulator reproduces 53/53 virtual registers. Baseline full-mask low/high are r46/r47 -> r9/r0; target r10/r9. Row-base r45 -> r10; target r0. Region-mask constants r58/r59 -> r10/r4; target r4/r0. All other target assignments agree.
|
||||
|
||||
The shared vmap2 helper emitted numeric --want entries, but installed regsim only accepted names. A temporary copy `/tmp/sol-ph1-regsim.py` added numeric identifiers. With all 29 mapped operands wanted, it found 29/29 after reordering named nodes including compiler-generated temporaries. That is a diagnostic possible coloring, not an implementable local-declaration recipe: @17329/@17332 are generated full-mask/row-base temporaries. Inline accessors, C89 declarations, parameter copies and comparison helpers did not realize that numbering. Tool source was untouched.
|
||||
|
||||
getTitleName debugger attempt was queued behind the shared debugger lock for more than 100 seconds. Only this worker own queued process was terminated before it started compiling; no other process was touched. Target Ghidra and odiff evidence were available locally. The four baseline differences at instructions 17-20 come from C forming metadata + language stride before adding name stride; target combines name + language strides before metadata. The signed-byte-4 trial reduced this to one difference and is under further investigation. The fallback loop and all returns match.
|
||||
- title-09-one-add-0: {"tag": "title-09-one-add-0", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-1: {"tag": "title-09-one-add-1", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-2: {"tag": "title-09-one-add-2", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-3: {"tag": "title-09-one-add-3", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-4: {"tag": "title-09-one-add-4", "diffs": 5, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-5: {"tag": "title-09-one-add-5", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-6: {"tag": "title-09-one-add-6", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-7: {"tag": "title-09-one-add-7", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-8: {"tag": "title-09-one-add-8", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-09-one-add-9: {"tag": "title-09-one-add-9", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Preserve signed name byte stride and unsigned language byte stride; reverse pointer-add operands or use conventional casts.
|
||||
- title-10-one-local-0: {"tag": "title-10-one-local-0", "diffs": 9, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-1: {"tag": "title-10-one-local-1", "diffs": 59, "insns": [73, 71], "sizes": [292, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-2: {"tag": "title-10-one-local-2", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-3: {"tag": "title-10-one-local-3", "diffs": 7, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-4: {"tag": "title-10-one-local-4", "diffs": 59, "insns": [73, 71], "sizes": [292, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-5: {"tag": "title-10-one-local-5", "diffs": 59, "insns": [73, 71], "sizes": [292, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-6: {"tag": "title-10-one-local-6", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-7: {"tag": "title-10-one-local-7", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-8: {"tag": "title-10-one-local-8", "diffs": 56, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-9: {"tag": "title-10-one-local-9", "diffs": 56, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-10: {"tag": "title-10-one-local-10", "diffs": 56, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-11: {"tag": "title-10-one-local-11", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-12: {"tag": "title-10-one-local-12", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-10-one-local-13: {"tag": "title-10-one-local-13", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named pointer/combined stride local or byte-array indexing preserves the single grouped address expression.
|
||||
- title-11-one-helper-0: {"tag": "title-11-one-helper-0", "diffs": 53, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-1: {"tag": "title-11-one-helper-1", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-2: {"tag": "title-11-one-helper-2", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-3: {"tag": "title-11-one-helper-3", "diffs": 63, "insns": [73, 71], "sizes": [292, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-4: {"tag": "title-11-one-helper-4", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-5: {"tag": "title-11-one-helper-5", "diffs": 53, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-6: {"tag": "title-11-one-helper-6", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-7: {"tag": "title-11-one-helper-7", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-8: {"tag": "title-11-one-helper-8", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-9: {"tag": "title-11-one-helper-9", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-10: {"tag": "title-11-one-helper-10", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-11-one-helper-11: {"tag": "title-11-one-helper-11", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Real metadata-name predicate or serialized-name byte-stride helper using mixed signed name/unsigned language arithmetic.
|
||||
- title-12-layout-0: {"tag": "title-12-layout-0", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Diagnostic explicit serialized field layout or integer-address addition; retain only if readable source review passes.
|
||||
- title-12-layout-1: {"tag": "title-12-layout-1", "diffs": 3, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Diagnostic explicit serialized field layout or integer-address addition; retain only if readable source review passes.
|
||||
- title-12-layout-2: {"tag": "title-12-layout-2", "diffs": 1, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Diagnostic explicit serialized field layout or integer-address addition; retain only if readable source review passes.
|
||||
- title-12-layout-3: {"tag": "title-12-layout-3", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Diagnostic explicit serialized field layout or integer-address addition; retain only if readable source review passes.
|
||||
- title-13-cast-0: {"tag": "title-13-cast-0", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Pointer element/cast spelling, constness or signed-name-to-unsigned-offset conversion on the one-difference expression.
|
||||
- title-14-clean-0: {"tag": "title-14-clean-0", "diffs": 2, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-1: {"tag": "title-14-clean-1", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-2: {"tag": "title-14-clean-2", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-3: {"tag": "title-14-clean-3", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-4: {"tag": "title-14-clean-4", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-5: {"tag": "title-14-clean-5", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-6: {"tag": "title-14-clean-6", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-7: {"tag": "title-14-clean-7", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-8: {"tag": "title-14-clean-8", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-14-clean-9: {"tag": "title-14-clean-9", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Readable preferred-name pointer or named array dimension constants; preserve byte-identical grouped offsets.
|
||||
- title-15-final-readable: {"tag": "title-15-final-readable", "diffs": 0, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; Named preferred-name pointer with sizeof/offsetof of actual metadata fields, no numeric byte offsets or casts in the condition.
|
||||
|
||||
## Candidate retained
|
||||
|
||||
getTitleName: baseline C 4/71 -> 1/71 with signed name byte stride and unsigned language byte stride. Addressing the metadata header plus combined strides, then adding offsetof(SChanMgrMetaHeader, names), removed the final operand-order difference. Exact 0/71, 284/284 bytes. A real preferredName pointer local allowed conventional readable C casts while keeping exact output. Array extents and field offset come directly from the existing metadata declaration; no numeric layout constants, extra storage, dummy values, assembly or pragmas added. The lookup uses the same first character and returns the same original language/name pointer.
|
||||
|
||||
hasChannel: 50 compiled trials; best remains 12/71, 284/284 bytes. Saved `/mnt/drive2/projects/wii-ipl-workers/_luna-runs/best/sol-ph1.iplSaveDataManager.diff`; original asm restored byte-for-byte. No non-exact C retained. All temporary header accessors restored. Existing rx63 untracked files were left untouched.
|
||||
|
||||
Removed the getTitleName placeholder inventory row and decremented function/block/placeholder counts by one; refreshed the retained hasChannel evidence to the measured 12-difference C. Removed four asm-only external declarations from iplChannelManager.cpp.
|
||||
|
||||
## Final verification
|
||||
|
||||
Second getTitleName debugger run completed from an immutable `/tmp/sol-ph1-title-capture.cpp` at the one-difference candidate. Capture: `/mnt/drive2/projects/wii-ipl-workers/_mwdbg/runs/getTitleName__Q33ipl7channel7ManagerCFiii-20261008-205431`; sizes 284/284; only instruction 20 differs, `add r3,r0,r3` versus target `add r3,r3,r0`. The subsequent offsetof-after-strides form fixed the emitted operand order.
|
||||
|
||||
Inventory checker: expected FAIL solely for four remaining placeholders; coverage/counts are 166 functions, 168 bodies/blocks, 162 ORIGINAL, 4 PLACEHOLDER. No stale/duplicate/missing rows. getTitleName row is gone; hasChannel asm remains inventoried.
|
||||
|
||||
Final quick gate: PASS, full 43U build passed, DOL SHA1 `26116613f624061ba99c8d1a299aaa6efa85670d`. Zero regressions, zero net forbidden additions, zero readability warnings.
|
||||
|
||||
- iplChannelManager: 74/74 exact functions before and after; code 12552/12552, data 1080/1080, linked code 12552. Every owned section is 100%. getTitleName C++ replaces one retail-asm placeholder, 0/71 instructions differing, size 284/284.
|
||||
- iplSaveDataManager: 35/35 exact functions before and after; code 7172/7172, data 968/968, linked code 7172. Every owned section is 100%. Original asm hasChannel remains unchanged.
|
||||
- Gate output: `/tmp/sol-ph1-gate.txt`; inventory output: `/tmp/sol-ph1-inventory.txt`. Live gate report: `build/43U/report.json`.
|
||||
|
||||
After final formatting and removal of asm-only declarations: rebuilt `build/43U/ok` passed. Fresh odiff 0/71, size 284/284; ctxdiff diffs 0 with 71/71 instructions. Pools identical 9/9 and 3/3. DOL SHA1 remains correct. Fresh full objdiff report `/tmp/sol-ph1-finalreport.json` gives exact-name getTitleName fuzzy_match_percent 100.0, size 284.
|
||||
|
||||
GATE PASS
|
||||
|
||||
## Readability revision, HEAD 11bde428
|
||||
|
||||
Replace the rejected byte-offset lookup with ordinary typed indexing or a real accessor. Keep the asm inventory removal and all other functions exact. Each entry records a fresh object build, pool check, instruction diff, and sizes.
|
||||
|
||||
- readable-direct: {"tag": "direct", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->names[System::getLanguage()][nameIndex];
|
||||
- readable-row: {"tag": "row", "diffs": 64, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t (*row)[META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names[System::getLanguage()]; const wchar_t* preferredName = row[nameIndex];
|
||||
- readable-row-language: {"tag": "row-language", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; int preferredLanguage = System::getLanguage(); const wchar_t (*row)[META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names[preferredLanguage]; const wchar_t* preferredName = row[nameIndex];
|
||||
- readable-table: {"tag": "table", "diffs": 9, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; typedef wchar_t NameTable[SC_LANG_MAX][NAME_INDEX_MAX][META_CHANNEL_NAME_LENGTH + 1]; const NameTable* names = &mChannels[page][index].metaHdr->names; const wchar_t* preferredName = (*names)[System::getLanguage()][nameIndex];
|
||||
- readable-table-after-language: {"tag": "table-after-language", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; typedef wchar_t NameTable[SC_LANG_MAX][NAME_INDEX_MAX][META_CHANNEL_NAME_LENGTH + 1]; int preferredLanguage = System::getLanguage(); const NameTable* names = &mChannels[page][index].metaHdr->names; const wchar_t* preferredName = (*names)[preferredLanguage][nameIndex];
|
||||
- readable-table-ref: {"tag": "table-ref", "diffs": 9, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t (&names)[SC_LANG_MAX][NAME_INDEX_MAX][META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names; const wchar_t* preferredName = names[System::getLanguage()][nameIndex];
|
||||
- readable-table-language-ref: {"tag": "table-language-ref", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; int preferredLanguage = System::getLanguage(); const wchar_t (&names)[SC_LANG_MAX][NAME_INDEX_MAX][META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names; const wchar_t* preferredName = names[preferredLanguage][nameIndex];
|
||||
- readable-meta: {"tag": "meta", "diffs": 8, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const SChanMgrMetaHeader* meta = mChannels[page][index].metaHdr; const wchar_t* preferredName = meta->names[System::getLanguage()][nameIndex];
|
||||
- readable-meta-after-language: {"tag": "meta-after-language", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; int preferredLanguage = System::getLanguage(); const SChanMgrMetaHeader* meta = mChannels[page][index].metaHdr; const wchar_t* preferredName = meta->names[preferredLanguage][nameIndex];
|
||||
- readable-unsigned-language: {"tag": "unsigned-language", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; u32 preferredLanguage = System::getLanguage(); const wchar_t* preferredName = mChannels[page][index].metaHdr->names[preferredLanguage][nameIndex];
|
||||
- readable-row-add: {"tag": "row-add", "diffs": 64, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t (*row)[META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names[System::getLanguage()]; const wchar_t* preferredName = *(nameIndex + row);
|
||||
- readable-table-add: {"tag": "table-add", "diffs": 9, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t (*names)[NAME_INDEX_MAX][META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names; const wchar_t* preferredName = (*(System::getLanguage() + names))[nameIndex];
|
||||
|
||||
- readable-member-const-name-first: {"tag": "member-const-name-first", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->getName(nameIndex, System::getLanguage());
|
||||
- readable-member-const-lang-first: {"tag": "member-const-lang-first", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->getName(System::getLanguage(), nameIndex);
|
||||
- readable-member-name-ref: {"tag": "member-name-ref", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->getName(nameIndex, System::getLanguage());
|
||||
- readable-member-preferred: {"tag": "member-preferred", "compile": "FAIL"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->getName(nameIndex);
|
||||
- readable-member-unsigned-name: {"tag": "member-unsigned-name", "diffs": 68, "insns": [76, 71], "sizes": [304, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->getName(nameIndex, System::getLanguage());
|
||||
- readable-member-row: {"tag": "member-row", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->getNames(System::getLanguage())[nameIndex];
|
||||
- readable-entry-preferred: {"tag": "entry-preferred", "compile": "FAIL"}; const wchar_t* preferredName = mChannels[page][index].getName(nameIndex);
|
||||
- readable-entry-ref-name-first: {"tag": "entry-ref-name-first", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].getName(nameIndex, System::getLanguage());
|
||||
- readable-entry-ref-lang-first: {"tag": "entry-ref-lang-first", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].getName(System::getLanguage(), nameIndex);
|
||||
- readable-reuse-language: {"tag": "reuse-language", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; language = System::getLanguage(); const wchar_t* preferredName = mChannels[page][index].metaHdr->names[language][nameIndex];
|
||||
- readable-reuse-signed-language: {"tag": "reuse-signed-language", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; language = System::getLanguage(); const wchar_t* preferredName = mChannels[page][index].metaHdr->names[(int)language][nameIndex];
|
||||
- readable-row-ref: {"tag": "row-ref", "diffs": 64, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t (&row)[NAME_INDEX_MAX][META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names[System::getLanguage()]; const wchar_t* preferredName = row[nameIndex];
|
||||
- readable-meta-reference: {"tag": "meta-reference", "diffs": 7, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const SChanMgrMetaHeader& meta = *mChannels[page][index].metaHdr; const wchar_t* preferredName = meta.names[System::getLanguage()][nameIndex];
|
||||
- readable-all-entry: {"tag": "all-entry", "compile": "FAIL"}; const wchar_t* preferredName = channel.metaHdr->names[System::getLanguage()][nameIndex];
|
||||
- readable-predicate-direct: {"tag": "predicate-direct", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"};
|
||||
- readable-reuse-predicate-direct: {"tag": "reuse-predicate-direct", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; language = System::getLanguage();
|
||||
- readable-array-name-ref: {"tag": "array-name-ref", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t (&preferredName)[META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names[System::getLanguage()][nameIndex];
|
||||
- readable-unsigned-name: {"tag": "unsigned-name", "diffs": 65, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->names[System::getLanguage()][(u32)nameIndex];
|
||||
|
||||
- readable-member-preferred-cpp: {"tag": "member-preferred-cpp", "diffs": 13, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->getName(nameIndex);
|
||||
- readable-entry-preferred-cpp: {"tag": "entry-preferred-cpp", "diffs": 4, "insns": [71, 71], "sizes": [284, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].getName(nameIndex);
|
||||
- readable-entry-scoped: {"tag": "entry-scoped", "diffs": 70, "insns": [67, 71], "sizes": [268, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = channel.metaHdr->names[System::getLanguage()][nameIndex];
|
||||
- readable-all-accessor-int-wchar_tptr: {"tag": "all-accessor-int-wchar_tptr", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->names[System::getLanguage()][nameIndex];
|
||||
- readable-all-accessor-u32-wchar_tptr: {"tag": "all-accessor-u32-wchar_tptr", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = mChannels[page][index].metaHdr->names[System::getLanguage()][nameIndex];
|
||||
- readable-typed-flat-group: {"tag": "typed-flat-group", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = &mChannels[page][index].metaHdr->names[0][0][0] + (nameIndex * (META_CHANNEL_NAME_LENGTH + 1) + System::getLanguage() * NAME_INDEX_MAX * (META_CHANNEL_NAME_LENGTH + 1));
|
||||
- readable-typed-flat-reversed: {"tag": "typed-flat-reversed", "diffs": 67, "insns": [75, 71], "sizes": [300, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t* preferredName = (nameIndex * (META_CHANNEL_NAME_LENGTH + 1) + System::getLanguage() * NAME_INDEX_MAX * (META_CHANNEL_NAME_LENGTH + 1)) + &mChannels[page][index].metaHdr->names[0][0][0];
|
||||
- readable-row-signed-language: {"tag": "row-signed-language", "diffs": 64, "insns": [72, 71], "sizes": [288, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; const wchar_t (*row)[META_CHANNEL_NAME_LENGTH + 1] = mChannels[page][index].metaHdr->names[(int)System::getLanguage()]; const wchar_t* preferredName = row[nameIndex];
|
||||
- readable-meta-reuse-language: {"tag": "meta-reuse-language", "diffs": 66, "insns": [74, 71], "sizes": [296, 284], "pool": "POOL IDENTICAL up to 9 (mine=9 base=9)"}; language = System::getLanguage(); const SChanMgrMetaHeader* meta = mChannels[page][index].metaHdr; const wchar_t* preferredName = meta->names[language][nameIndex];
|
||||
|
||||
### Readability revision outcome
|
||||
|
||||
39 trials; 36 compiled candidates; none exact. All successful builds retained identical pools, 9/9. Best normal array lookup remains 4/71 differing instructions, equal 284-byte size. Pointer-to-table, row, metadata, language local, shared language local, name reference, metadata accessor and entry accessor forms were tested. Inline accessor parameter ordering, signedness, reference returns, current-language accessors defined in the C++ file, and accessor use in all returns did not fix the association.
|
||||
|
||||
Best normal lookup: `const wchar_t* preferredName = mChannels[page][index].metaHdr->names[System::getLanguage()][nameIndex];`. Differences are instructions 17-20: language multiply destination r3 instead of r0, metadata load destination r0 instead of r3, base-plus-language before name offset, and resulting final add operands. Best source diff: `/tmp/sol-ph1-getTitleName-readable-best.diff`. Each full instruction diff is `/tmp/sol-ph1-readable-<tag>.txt`.
|
||||
|
||||
Restored the HEAD 11bde428 source and header exactly. The existing 0/71 byte-offset candidate and its asm inventory removal remain pending the orchestrator decision; this round found no accepted readable replacement. Header accessor experiments leave no changes in other units. Pre-existing untracked rx63 evidence remains untouched.
|
||||
|
||||
### Gate on restored exact candidate
|
||||
|
||||
Requested `gate.py src/system/iplChannelManager --quick`: GATE PASS. Full 43U build passed; DOL SHA1 `26116613f624061ba99c8d1a299aaa6efa85670d`. Unit unchanged at 74/74 instruction-exact functions, 12552/12552 code bytes, 1080/1080 data bytes, and all owned sections 100%. Zero regressions, net forbidden additions, and automatic readability warnings. The automated scan does not overturn the orchestrator rejection of the retained byte-offset expression. Fresh odiff 0/71, size 284/284; ctxdiff diffs 0, instructions 71/71; pool identical 9/9. Gate output `/tmp/sol-ph1-readable-gate.txt`. Commit only this log; no readable source candidate was accepted.
|
||||
Reference in New Issue
Block a user