Compare commits

...

17 Commits

Author SHA1 Message Date
coah
5e283f768d ci: stop the separate README progress commit
Landings now write the README progress table inside their own commit,
so the progress job only rebuilds and publishes the numbers to the job
summary instead of pushing a second docs commit to main.
2026-10-02 15:51:07 +00:00
github-actions[bot]
ecee6f01e4 docs: update progress [skip ci] 2026-10-02 15:50:37 +00:00
coah
28d3333887 Link matched JPEG resolution-change routines (#823) 2026-10-02 10:49:57 -05:00
github-actions[bot]
2119935c1d docs: update progress [skip ci] 2026-10-02 15:48:02 +00:00
coah
c7896c3802 match(ATERM 15/26) (fz20) (worker 4adbcdd4) (#822) 2026-10-02 10:46:43 -05:00
github-actions[bot]
68c4c9aeac docs: update progress [skip ci] 2026-10-02 15:45:30 +00:00
coah
1b942565f7 match(Texture_MCUtoY8U8V8 11/13) (fz15e) (worker 2e0b96a1) (#821) 2026-10-02 10:44:28 -05:00
github-actions[bot]
a9705fa1a3 docs: update progress [skip ci] 2026-10-02 15:43:50 +00:00
coah
e1f0ef93a5 match(BS2Update 9/10) (fz1f) (worker 8d7decce) (#820) 2026-10-02 10:42:48 -05:00
github-actions[bot]
adcd8ca586 docs: update progress [skip ci] 2026-10-02 15:40:05 +00:00
coah
76d72f06ce match(idct_resolution_change_var 6/6) (fz3h) (worker ac1e42c9) (#819) 2026-10-02 10:39:11 -05:00
github-actions[bot]
b0474b6eac docs: update progress [skip ci] 2026-10-02 15:38:42 +00:00
coah
9ce28d272f match(KPAD 21/29) (fz16c) (worker a1ca8f8d) (#818) 2026-10-02 10:37:46 -05:00
github-actions[bot]
771208ab77 docs: update progress [skip ci] 2026-10-02 15:10:45 +00:00
coah
cee13c5a0b Correct SD notice APIs to accept aligned 64-bit title IDs (#817) 2026-10-02 10:10:09 -05:00
github-actions[bot]
1c974dbd49 docs: update progress [skip ci] 2026-10-02 14:53:28 +00:00
devin-ai-integration[bot]
bac1e5427a Decode iplSDChannelTitle + ut_ArchiveFontBase (source-only, stays NonMatching) (#816)
- SDButton::setEventHandler was genuinely 1-arg in retail (dead second
  param): corrected decl/def/call sites + symbols.txt mangle. Fixes 5
  fns to instruction-identical and lifts iplSDChannelTitle data to
  .data/.rodata/.sdata/.sdata2 100% (was 12.1%).
- ut_ArchiveFontBase: reordered sheetOffsetsScratch decl/assign to
  match orig materialization.

Both units remain NonMatching — flip attempts verified to break the
linked DOL: iplSDChannelTitle's object emits 51 net-extra anonymous
literal objects (pool merge/order differs, fuzzy 99.94) plus two fns
+4B each (updateCopyStart, startCopyProgress); ut_ArchiveFontBase has
a ~0x380B content region differing (fuzzy 98.47). DOL sha1 stays
26116613f624061ba99c8d1a299aaa6efa85670d with them unlinked.

Co-authored-by: devin <devin@cognition.ai>
Co-authored-by: coah80 <usernamecole7@gmail.com>
2026-10-02 09:52:51 -05:00
28 changed files with 4324 additions and 198 deletions

View File

@@ -2,6 +2,8 @@ name: README progress
# runs on the self-hosted runner on cole's server so it doesn't use hosted minutes.
# only push/schedule/manual triggers, never pull_request, so fork PRs can't reach this machine.
# README progress is written inside each landing commit by the orchestrator, so this job never commits;
# it only rebuilds and publishes the current numbers to the job summary.
on:
push:
branches: [main]
@@ -15,7 +17,7 @@ concurrency:
cancel-in-progress: true
permissions:
contents: write
contents: read
jobs:
progress:
@@ -48,15 +50,8 @@ jobs:
- name: Report
run: build/tools/objdiff-cli report generate -p . -o build/43U/report.json -f json
- name: Update README
run: python3 tools/update_readme_progress.py build/43U/report.json README.md "$GITHUB_SHA"
- name: Commit
- name: Summary
run: |
if git diff --quiet README.md; then exit 0; fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add README.md
git commit -m "docs: update progress [skip ci]"
git pull --rebase origin main || { git rebase --abort; echo "main moved, next run will update"; exit 0; }
git push origin HEAD:main
python3 tools/update_readme_progress.py build/43U/report.json README.md "$GITHUB_SHA"
sed -n '/progress:start/,/progress:end/p' README.md >> "$GITHUB_STEP_SUMMARY"
git checkout -- README.md

View File

@@ -53,9 +53,9 @@ Progress
<!-- progress:start -->
| Decompiled | Matched | Linked | Data |
|:---:|:---:|:---:|:---:|
| 99.54% | 89.91% | 69.31% | 99.37% |
| 99.55% | 90.33% | 69.37% | 99.37% |
units 949/1027 complete, functions 12326/12563 matched.
units 950/1027 complete, functions 12343/12563 matched.
decompiled = code with a C/C++ implementation (objdiff fuzzy), matched = byte-exact code, linked = code actually linked into the DOL, data = byte-exact data
<!-- progress:end -->

View File

@@ -44,7 +44,7 @@ UpdateDiskID = .bss:0x810ADF60; // type:object size:0x20 align:32 data:4byte
TicketViewsBuf = .bss:0x810ADF80; // type:object size:0x3600 scope:local align:32
Flags0 = .bss:0x810B1580; // type:object size:0x800 scope:local
Flags1 = .bss:0x810B1D80; // type:object size:0x800 scope:local
Thread = .bss:0x810B2580; // type:object size:0x1318 scope:local
Thread = .bss:0x810B2580; // type:object size:0x318 scope:local
UpdateHeader0 = .bss:0x810B38A0; // type:object size:0x20 scope:local
UpdateHeader1 = .bss:0x810B38C0; // type:object size:0x20 scope:local
viewsBuf = .bss:0x810B38E0; // type:object size:0x3600 scope:local
@@ -4576,9 +4576,9 @@ enqueueNotice__Q33ipl5scene15SDChannelSelectFUlUlUl = .text:0x813DB254; // type:
enqueueLoadNotice__Q33ipl5scene15SDChannelSelectFv = .text:0x813DB308; // type:function size:0x5C
enqueuePageNotice__Q33ipl5scene15SDChannelSelectFv = .text:0x813DB364; // type:function size:0x5C
enqueueResultNotice__Q33ipl5scene15SDChannelSelectFUl = .text:0x813DB3C0; // type:function size:0x5C
enqueueChannelNotice__Q33ipl5scene15SDChannelSelectFUlUlUlUl = .text:0x813DB41C; // type:function size:0x5C
enqueueChannelNotice__Q33ipl5scene15SDChannelSelectFUxUl = .text:0x813DB41C; // type:function size:0x5C
enqueueMoveNotice__Q33ipl5scene15SDChannelSelectFUlUlUl = .text:0x813DB478; // type:function size:0x5C
enqueueStateNotice__Q33ipl5scene15SDChannelSelectFUlUlUlUl = .text:0x813DB4D4; // type:function size:0x5C
enqueueStateNotice__Q33ipl5scene15SDChannelSelectFUxUl = .text:0x813DB4D4; // type:function size:0x5C
enqueueErrorNotice__Q33ipl5scene15SDChannelSelectFUlUl = .text:0x813DB530; // type:function size:0x5C
enqueueCommandNotice__Q33ipl5scene15SDChannelSelectFUlUlUl = .text:0x813DB58C; // type:function size:0x60
enqueueDeleteNotice__Q33ipl5scene15SDChannelSelectFUlUlUl = .text:0x813DB5EC; // type:function size:0x60
@@ -4814,7 +4814,7 @@ reset_gui__Q33ipl5scene8SDButtonFv = .text:0x813E9BC0; // type:function size:0x1
startPointEvent__Q33ipl5scene8SDButtonFPCcPQ33ipl10controller9Interface = .text:0x813E9D08; // type:function size:0x258
startLeftEvent__Q33ipl5scene8SDButtonFPCc = .text:0x813E9F60; // type:function size:0x220
isActive__Q33ipl5scene8SDButtonCFv = .text:0x813EA180; // type:function size:0xC
setEventHandler__Q33ipl5scene8SDButtonFPQ23gui12EventHandlerPQ23gui12EventHandler = .text:0x813EA18C; // type:function size:0x14
setEventHandler__Q33ipl5scene8SDButtonFPQ23gui12EventHandler = .text:0x813EA18C; // type:function size:0x14
setText__Q33ipl5scene8SDButtonFPCcPCw = .text:0x813EA1A0; // type:function size:0xB4
animation__Q33ipl5scene8SDButtonFi = .text:0x813EA254; // type:function size:0x1C4
initArrowAppearance__Q33ipl5scene8SDButtonFib = .text:0x813EA418; // type:function size:0xD0

View File

@@ -1212,7 +1212,7 @@ config.libs = [
Object(NonMatching, "exif/exif_parse.c"),
Object(Matching, "reschange/iqdec_resolution_change_a3.c"),
Object(NonMatching, "reschange/idct_resolution_change_var.c"),
Object(Matching, "reschange/idct_resolution_change_var.c"),
Object(NonMatching, "texturecvtr/Texture_MCUtoY8U8V8.c"),
Object(NonMatching, "texturecvtr/Texture_MCUtoRGB565.c"),

View File

@@ -102,12 +102,7 @@ namespace ipl {
static const char* getButtonName(int button) { return smButtonName[button]; }
#endif
#ifdef IPL_SD_CHANNEL_SELECT_CPP
void setEventHandler(::gui::EventHandler * event,
::gui::EventHandler * optOutEvent = NULL);
#else
void setEventHandler(::gui::EventHandler * event, ::gui::EventHandler * optOutEvent);
#endif
void setEventHandler(::gui::EventHandler * event);
void setText(const char* paneName, u32 msgId);
void setText(const char* paneName, const wchar_t* text);

View File

@@ -203,9 +203,9 @@ namespace ipl {
bool enqueueLoadNotice();
bool enqueuePageNotice();
bool enqueueResultNotice(u32 result);
bool enqueueChannelNotice(u32 controller, u32 page, u32 index, u32 value);
bool enqueueChannelNotice(u64 titleId, u32 value);
bool enqueueMoveNotice(u32 controller, u32 page, u32 index);
bool enqueueStateNotice(u32 controller, u32 page, u32 index, u32 state);
bool enqueueStateNotice(u64 titleId, u32 state);
bool enqueueErrorNotice(u32 page, u32 index);
bool enqueueCommandNotice(u32 page, u32 index, u32 command);
bool enqueueDeleteNotice(u32 controller, u32 page, u32 index);

View File

@@ -368,20 +368,20 @@ namespace nw4r {
u32 sheetOffsetsScratchSize;
dataBlockCount = font->hdr.dataBlocks; // 0x0E
sheetGlyphCount = font->glgr.inner.sheetGlyphCount; // 0x1C
dataBlockCount = font->hdr.dataBlocks; // 0x0E
// countName = font->glgr.inner.nameCount;
countSheet = font->glgr.inner.sheetCount;
// count0A = font->glgr.inner.smthCount_0x0a;
// count0C = font->glgr.inner.smthCount_0x0c;
sheetOffsetsSize = ROUNDUP(countSheet * sizeof(u16), 4);
sheetOffsetsScratch = (u16*)ROUNDDOWN((u32)((u8*)font + ctx->remWorkSpace()) - sheetOffsetsSize, 2);
stepSheetFlags = detail::CalcSizeFlagSet(countSheet);
flagsSheetsOff = detail::CalcOffsetSheetFlags(font->glgr.inner.nameCount, countSheet, font->glgr.inner.smthCount_0x0a,
font->glgr.inner.smthCount_0x0c);
flagsSheets = (const u32*)font + (flagsSheetsOff >> 2);
sheetOffsetsSize = ROUNDUP(countSheet * sizeof(u16), 4);
sheetOffsetsScratch = (u16*)ROUNDDOWN((u32)((u8*)font + ctx->remWorkSpace()) - sheetOffsetsSize, 2);
pGlgr = &font->glgr;
ENSURE_WORK_HAS_SIZE(ctx, glgrEnd - (u8*)font + sheetOffsetsSize);
// if (ctx->pWorkEnd - workCurr < fontSizeToEndOfGlgr + sheetOffsetsSize) {

View File

@@ -57,15 +57,14 @@ void TMCJPEGDEC_IdctBlock4x4(s32* block, u8* conv_row_ptr, u16 pitch, s32 zigzag
{
u32 idx = 3;
s32* column = tmp + 3;
for (i = 0; i < 4; i++) {
u8* bp = conv_row_ptr + idx;
a = column[0] + 0x40000;
b = column[8];
d = column[24];
c = column[16];
a = tmp[idx] + 0x40000;
b = tmp[idx + 8];
d = tmp[idx + 24];
c = tmp[idx + 16];
evsum = a + c;
cd = a - c;
@@ -79,7 +78,6 @@ void TMCJPEGDEC_IdctBlock4x4(s32* block, u8* conv_row_ptr, u16 pitch, s32 zigzag
bp[pitch * 2] = clampU8((cd - rot) >> 11);
bp[pitch * 4 - pitch] = clampU8((evsum - oddrot) >> 11);
column--;
idx -= 1;
}
}

View File

@@ -166,23 +166,23 @@ s32 TMCJPEGDEC_set_converterRGBA8(TMCCJPEGDecWork* work) {
}
static void TMCJPEGDEC_converterYUV411toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
s8 crValue;
s32 red;
u8* luminance;
u8* cb;
u8* cr;
TMCCJPEGDecState* state;
u8* texture;
s32 height;
s32 yEnd;
s32 column;
s32 xEnd;
s32 green;
s32 column;
s32 yEnd;
s32 tileWidth;
s32 blueOffset;
u16* output;
s32 tileRow;
s32 lumaSkip;
s32 red;
s8 crValue;
s32 chromaSkip;
s32 width;
s32 cbValue;
@@ -216,7 +216,7 @@ static void TMCJPEGDEC_converterYUV411toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
cbValue = (s8)*cb++;
crValue = (s8)*cr++;
redOffset = (crValue * 359) >> 8;
greenOffset = -(cbValue * 88 + crValue * 183) >> 8;
greenOffset = -(crValue * 183 + cbValue * 88) >> 8;
blueOffset = (cbValue * 454) >> 8;
}
{
@@ -285,20 +285,20 @@ static void TMCJPEGDEC_converterYUV411toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
}
static void TMCJPEGDEC_converterYUV411toRGBA8edge(TMCCJPEGDecWork* work, s32 x, s32 y) {
s32 column;
u8* luminance;
u8* cb;
u8* cr;
TMCCJPEGDecState* state;
s32 tileWidth;
u8* texture;
s32 width;
s32 height;
s32 xEnd;
s32 yEnd;
s32 lumaSkip;
s32 chromaSkip;
s32 tileRow;
s32 xEnd;
u8* texture;
TMCCJPEGDecState* state;
u8* luminance;
u8* cb;
s32 width;
s32 height;
u8* cr;
s32 column;
s32 lumaSkip;
s32 yEnd;
s32 tileWidth;
u16* output;
s32 cbValue;
s8 crValue;
@@ -366,11 +366,11 @@ static void TMCJPEGDEC_converterYUV411toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
static void TMCJPEGDEC_converterYUV422toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
s32 chromaSkip;
s32 blue;
s32 lumaSkip;
s32 cbValue;
s32 tileWidth;
TMCCJPEGDecState* state;
s32 xEnd;
u16* output;
u8* texture;
s32 width;
s32 height;
@@ -379,7 +379,7 @@ static void TMCJPEGDEC_converterYUV422toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
s32 red;
u8* cr;
s32 column;
u16* output;
s32 xEnd;
s32 yEnd;
s32 redOffset;
s32 tileRow;
@@ -387,7 +387,7 @@ static void TMCJPEGDEC_converterYUV422toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
s32 blueOffset;
s32 value;
s32 green;
s32 lumaSkip;
s32 blue;
s32 crValue;
luminance = work->convBuf + 4;
@@ -415,7 +415,7 @@ static void TMCJPEGDEC_converterYUV422toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
green = value + greenOffset;
red = value + redOffset;
blue = value + blueOffset;
if ((blue | red | green) >> 8) {
if ((blue | green | red) >> 8) {
blue = blue > 255 ? 255 : blue < 0 ? 0 : blue;
green = green > 255 ? 255 : green < 0 ? 0 : green;
red = red > 255 ? 255 : red < 0 ? 0 : red;
@@ -426,7 +426,7 @@ static void TMCJPEGDEC_converterYUV422toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
green = value + greenOffset;
red = value + redOffset;
blue = value + blueOffset;
if ((blue | red | green) >> 8) {
if ((blue | green | red) >> 8) {
blue = blue > 255 ? 255 : blue < 0 ? 0 : blue;
green = green > 255 ? 255 : green < 0 ? 0 : green;
red = red > 255 ? 255 : red < 0 ? 0 : red;
@@ -441,21 +441,21 @@ static void TMCJPEGDEC_converterYUV422toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
}
static void TMCJPEGDEC_converterYUV422toRGBA8edge(TMCCJPEGDecWork* work, s32 x, s32 y) {
s32 column;
u8* luminance;
u8* cb;
s32 blue;
u16* output;
s32 xEnd;
u8* cr;
TMCCJPEGDecState* state;
s32 tileWidth;
u8* texture;
u8* luminance;
s32 width;
s32 height;
s32 xEnd;
s32 yEnd;
s32 lumaSkip;
u8* cb;
u8* texture;
s32 column;
s32 chromaSkip;
s32 yEnd;
s32 tileRow;
u16* output;
s32 cbValue;
s32 crValue;
s32 redOffset;
@@ -463,7 +463,7 @@ static void TMCJPEGDEC_converterYUV422toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
s32 blueOffset;
s32 value;
s32 red;
s32 blue;
s32 lumaSkip;
s32 green;
luminance = work->convBuf + 4;
@@ -502,7 +502,7 @@ static void TMCJPEGDEC_converterYUV422toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
red = value + redOffset;
blue = value + blueOffset;
green = value + greenOffset;
if ((blue | red | green) >> 8) {
if ((blue | green | red) >> 8) {
blue = blue > 255 ? 255 : blue < 0 ? 0 : blue;
green = green > 255 ? 255 : green < 0 ? 0 : green;
red = red > 255 ? 255 : red < 0 ? 0 : red;
@@ -517,19 +517,19 @@ static void TMCJPEGDEC_converterYUV422toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
}
static void TMCJPEGDEC_converterYUV420toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
s32 blue;
s32 tileRow;
s8 crValue;
s32 chromaSkip;
u8* luminance;
TMCCJPEGDecState* state;
s32 xEnd;
u8* texture;
s32 width;
s32 height;
s32 blueOffset;
u8* texture;
s32 green;
s32 blue;
s32 lumaSkip;
s32 yEnd;
s32 tileRow;
s32 xEnd;
s32 value;
s32 column;
u8* cr;
@@ -538,7 +538,7 @@ static void TMCJPEGDEC_converterYUV420toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
s32 redOffset;
u8* cb;
u16* output;
s32 green;
s32 blueOffset;
s32 red;
s32 cbValue;
@@ -620,11 +620,11 @@ static void TMCJPEGDEC_converterYUV420toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
static void TMCJPEGDEC_converterYUV420toRGBA8edge(TMCCJPEGDecWork* work, s32 x, s32 y) {
u8* luminance = work->convBuf + 4;
u8* cb = work->convBuf + 260;
u8* cr = work->convBuf + 324;
s32 width;
TMCCJPEGDecState* state = work->pState;
s32 tileWidth = (state->convWidth >> 2) << 1;
u8* texture = state->pTexBuffer;
s32 width;
u8* cr = work->convBuf + 324;
s32 height;
if (state->dataSizeX == (u32)x) {
width = state->stepXExt;
@@ -686,7 +686,7 @@ static void TMCJPEGDEC_converterYUV420toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
static void TMCJPEGDEC_converterYUV211toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
u16* output;
s32 column;
s32 tileRow;
s32 redOffset;
TMCCJPEGDecState* state;
s32 lumaSkip;
@@ -695,7 +695,7 @@ static void TMCJPEGDEC_converterYUV211toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
u8* cb;
u8* cr;
s32 height;
s32 tileRow;
s32 column;
s32 chromaSkip;
s32 width;
s32 xEnd;
@@ -742,7 +742,7 @@ static void TMCJPEGDEC_converterYUV211toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
green = value + greenOffset;
red = value + redOffset;
blue = value + blueOffset;
if ((blue | red | green) >> 8) {
if ((blue | green | red) >> 8) {
blue = blue > 255 ? 255 : blue < 0 ? 0 : blue;
green = green > 255 ? 255 : green < 0 ? 0 : green;
red = red > 255 ? 255 : red < 0 ? 0 : red;
@@ -770,7 +770,7 @@ static void TMCJPEGDEC_converterYUV211toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
u16* output;
s32 lumaSkip;
s32 blue;
s32 tileRow;
u8* texture;
u8* luminance;
u8* cb;
u8* cr;
@@ -783,7 +783,7 @@ static void TMCJPEGDEC_converterYUV211toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
s32 greenOffset;
s32 yEnd;
s32 cbValue;
u8* texture;
s32 tileRow;
s32 blueOffset;
s32 red;
s8 crValue;
@@ -831,7 +831,7 @@ static void TMCJPEGDEC_converterYUV211toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
green = value + greenOffset;
red = value + redOffset;
blue = value + blueOffset;
if ((blue | red | green) >> 8) {
if ((blue | green | red) >> 8) {
blue = blue > 255 ? 255 : blue < 0 ? 0 : blue;
green = green > 255 ? 255 : green < 0 ? 0 : green;
red = red > 255 ? 255 : red < 0 ? 0 : red;
@@ -856,9 +856,9 @@ static void TMCJPEGDEC_converterYUV211toRGBA8edge(TMCCJPEGDecWork* work, s32 x,
static void TMCJPEGDEC_converterYUV444toRGBA8(TMCCJPEGDecWork* work, s32 x, s32 y) {
u16* output;
s32 tileWidth;
s32 tileRow;
s32 xEnd;
s32 rowSkip;
u8* texture;
u8* luminance;
u8* cb;
u8* cr;
@@ -867,9 +867,9 @@ static void TMCJPEGDEC_converterYUV444toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
s32 height;
s32 width;
s32 column;
s32 rowSkip;
s32 xEnd;
s32 yEnd;
u8* texture;
s32 tileWidth;
s32 row;
s32 red;
s32 cbValue;
@@ -896,10 +896,10 @@ static void TMCJPEGDEC_converterYUV444toRGBA8(TMCCJPEGDecWork* work, s32 x, s32
cbValue = (s8)*cb++;
crValue = (s8)*cr++;
value = *luminance++;
green = value + (-(cbValue * 88 + crValue * 183) >> 8);
green = value + (-(crValue * 183 + cbValue * 88) >> 8);
red = value + ((crValue * 359) >> 8);
blue = value + ((cbValue * 454) >> 8);
if ((blue | red | green) >> 8) {
if ((blue | green | red) >> 8) {
blue = blue > 255 ? 255 : blue < 0 ? 0 : blue;
green = green > 255 ? 255 : green < 0 ? 0 : green;
red = red > 255 ? 255 : red < 0 ? 0 : red;

View File

@@ -171,9 +171,7 @@ s32 TMCJPEGDEC_set_converterY8U8V8(TMCCJPEGDecWork* work) {
static void TMCJPEG_814EFEAC(TMCCJPEGDecWork* work, s32 x, s32 y) {
s32 rowSkip;
u8* output;
s32 chromaXEnd;
u32 tileRow;
u32 chromaTileWidth;
s32 chromaYEnd;
u8* lumaTexture;
TMCCJPEGDecState* state;
@@ -216,17 +214,17 @@ static void TMCJPEG_814EFEAC(TMCCJPEGDecWork* work, s32 x, s32 y) {
}
luminance += rowSkip;
}
chromaTileWidth = state->chromaWidth >> 3;
tileWidth = state->chromaWidth >> 3;
x = (u32)x >> 2;
width = 8 / state->scaleFactor;
height = 8 / state->scaleFactor;
chromaXEnd = x + width;
xEnd = x + width;
chromaYEnd = y + height;
for (; y < chromaYEnd; y++) {
for (column = x; column < chromaXEnd; column += 1) {
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cb + 128;
for (column = x; column < xEnd; column += 1) {
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cb + 128;
cb++;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cr + 128;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cr + 128;
cr++;
}
cb += 8 - width;
@@ -235,7 +233,6 @@ static void TMCJPEG_814EFEAC(TMCCJPEGDecWork* work, s32 x, s32 y) {
}
static void TMCJPEG_814F043C(TMCCJPEGDecWork* work, s32 x, s32 y) {
u32 chromaTileWidth;
TMCCJPEGDecState* state;
u8* lumaTexture;
u8* luminance;
@@ -250,9 +247,9 @@ static void TMCJPEG_814F043C(TMCCJPEGDecWork* work, s32 x, s32 y) {
u8* output;
u8* cb;
u8* cr;
s32 xEnd;
s32 tileOffset;
s32 width;
s32 tileOffset;
s32 xEnd;
u32 tileWidth;
luminance = work->convBuf + 4;
@@ -287,13 +284,13 @@ static void TMCJPEG_814F043C(TMCCJPEGDecWork* work, s32 x, s32 y) {
x = (u32)x >> 2;
width = (width + 3) >> 2;
xEnd = x + width;
chromaTileWidth = state->chromaWidth >> 3;
tileWidth = state->chromaWidth >> 3;
chromaEnd = y + height;
for (; y < chromaEnd; y++) {
for (column = x; column < xEnd; column += 1) {
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cb + 128;
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cb + 128;
cb++;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cr + 128;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cr + 128;
cr++;
}
cb += 8 - width;
@@ -361,7 +358,6 @@ static void TMCJPEG_814F0A58(TMCCJPEGDecWork* work, s32 x, s32 y) {
}
static void TMCJPEG_814F11C4(TMCCJPEGDecWork* work, s32 x, s32 y) {
u32 chromaTileWidth;
TMCCJPEGDecState* state;
u8* lumaTexture;
u8* luminance;
@@ -376,9 +372,9 @@ static void TMCJPEG_814F11C4(TMCCJPEGDecWork* work, s32 x, s32 y) {
u8* output;
u8* cb;
u8* cr;
s32 xEnd;
s32 tileOffset;
s32 width;
s32 tileOffset;
s32 xEnd;
u32 tileWidth;
luminance = work->convBuf + 4;
@@ -413,13 +409,13 @@ static void TMCJPEG_814F11C4(TMCCJPEGDecWork* work, s32 x, s32 y) {
x = (u32)x >> 1;
width = (width + 1) >> 1;
xEnd = x + width;
chromaTileWidth = state->chromaWidth >> 3;
tileWidth = state->chromaWidth >> 3;
chromaEnd = y + height;
for (; y < chromaEnd; y++) {
for (column = x; column < xEnd; column += 1) {
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cb + 128;
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cb + 128;
cb++;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cr + 128;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cr + 128;
cr++;
}
cb += 8 - width;
@@ -428,23 +424,21 @@ static void TMCJPEG_814F11C4(TMCCJPEGDecWork* work, s32 x, s32 y) {
}
static void TMCJPEG_814F17E0(TMCCJPEGDecWork* work, s32 x, s32 y) {
s32 chromaXEnd;
s32 chromaYEnd;
u8* lumaTexture;
s32 height;
u32 chromaTileWidth;
u8* luminance;
s32 column;
u8* cbTexture;
s32 xEnd;
s32 row;
u8* crTexture;
u32 tileWidth;
s32 xEnd;
u8* cb;
TMCCJPEGDecState* state;
s32 yEnd;
s32 width;
u8* cr;
s32 row;
u32 tileWidth;
row = y;
luminance = work->convBuf + 4;
@@ -470,14 +464,14 @@ static void TMCJPEG_814F17E0(TMCCJPEGDecWork* work, s32 x, s32 y) {
y = (u32)y >> 1;
width = 8 / state->scaleFactor;
height = 8 / state->scaleFactor;
chromaXEnd = x + width;
xEnd = x + width;
chromaYEnd = y + height;
chromaTileWidth = state->chromaWidth >> 3;
tileWidth = state->chromaWidth >> 3;
for (; y < chromaYEnd; y++) {
for (column = x; column < chromaXEnd; column += 1) {
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cb + 128;
for (column = x; column < xEnd; column += 1) {
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cb + 128;
cb++;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cr + 128;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cr + 128;
cr++;
}
cb += 8 - width;
@@ -486,7 +480,6 @@ static void TMCJPEG_814F17E0(TMCCJPEGDecWork* work, s32 x, s32 y) {
}
static void TMCJPEG_814F1F48(TMCCJPEGDecWork* work, s32 x, s32 y) {
u32 chromaTileWidth;
TMCCJPEGDecState* state;
u8* lumaTexture;
u8* luminance;
@@ -497,13 +490,13 @@ static void TMCJPEG_814F1F48(TMCCJPEGDecWork* work, s32 x, s32 y) {
u8* crTexture;
u32 tileRow;
s32 height;
s32 yEnd;
s32 width;
u8* output;
u8* cb;
u8* cr;
s32 xEnd;
s32 tileOffset;
s32 width;
s32 yEnd;
u32 tileWidth;
luminance = work->convBuf + 4;
@@ -539,13 +532,13 @@ static void TMCJPEG_814F1F48(TMCCJPEGDecWork* work, s32 x, s32 y) {
x = (u32)x >> 1;
width = (width + 1) >> 1;
xEnd = x + width;
chromaTileWidth = state->chromaWidth >> 3;
tileWidth = state->chromaWidth >> 3;
chromaEnd = y + ((height + 1) >> 1);
for (; y < chromaEnd; y++) {
for (column = x; column < xEnd; column += 1) {
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cb + 128;
(cbTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cb + 128;
cb++;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * chromaTileWidth) << 5)] = *cr + 128;
(crTexture + ((y & 3) << 3) + (column & 7))[(s32)(((column >> 3) + (y >> 2) * tileWidth) << 5)] = *cr + 128;
cr++;
}
cb += 8 - width;

View File

@@ -796,11 +796,11 @@ Zi8UInt Zi8Get1KeyPressSpelling(Zi8OneKeyParam *params,Zi8OneKeyOptions *options
if (remaining != 0) {
remaining--;
} else {
totalCandidates++;
totalCandidates = totalCandidates + 1;
if (options->countOnly == '\0') {
*output++ = spellingBuffer[spellingIndex];
*output++ = 0;
candidateCount++;
candidateCount = candidateCount + 1;
}
else if ((int)totalCandidates >= options->maxCount) goto finishSpelling;
if (candidateCount >= params->maxCandidates) goto finishSpelling;
@@ -1001,10 +1001,10 @@ Zi8UInt Zi8Get1KeyPressSpelling(Zi8OneKeyParam *params,Zi8OneKeyOptions *options
}
if (Zi8IsDupWordW(output,(ziU8)phoneticIndex,work) == 0) {
if (remaining == 0) {
totalCandidates++;
totalCandidates = totalCandidates + 1;
if (options->countOnly == 0) {
output += phoneticIndex + 1;
candidateCount++;
candidateCount = candidateCount + 1;
} else if ((int)totalCandidates >= options->maxCount) goto finishSpelling;
if (candidateCount >= params->maxCandidates) goto finishSpelling;
} else {

View File

@@ -72,7 +72,11 @@ struct DVDCommandBlock {
DVDCommandBlock* prev; // 0x04
u32 command; // 0x08
#ifdef BS2_MACH_VOLATILE_DVD_STATE
volatile s32 state;
#else
s32 state; // 0x0C
#endif
u32 offset; // 0x10
u32 length; // 0x14

View File

@@ -276,14 +276,15 @@ static inline f32 object_interval_distance(f32 interval) {
const f32 sensorIntervalConversion = 0.383864f;
static void reset_kpad(KPADInside* kpad) {
f32 upperY;
f32 sensorDistance;
f32 distanceValue;
f32 zero;
f32 sensorDistance;
f32 upperY;
f32 lowerY;
f32 one;
f32 negativeOne;
KPADDPDObject* object;
f32 calibratedDistance;
negativeOne = -1.0f;
one = 1.0f;
zero = 0.0f;
@@ -299,8 +300,9 @@ static void reset_kpad(KPADInside* kpad) {
kpad->value508 = negativeOne / kp_err_dist_speed;
kpad->value50C = kp_ah_circle_radius * kp_ah_circle_radius;
kpad->value514 = kp_err_dist_min;
distanceValue = kp_dist_vv1 / sensorDistance;
kpad->value510 = kp_dist_vv1;
calibratedDistance = kp_dist_vv1;
distanceValue = calibratedDistance / sensorDistance;
kpad->value510 = calibratedDistance;
kpad->status.release = 0;
kpad->status.trig = 0;
kpad->status.hold = 0;
@@ -854,26 +856,33 @@ static s8 select_1obj_continue(KPADInside* kpad) {
}
*matchedCandidate = *source;
{
f32 axisX = kpad->horizonTangent.x;
f32 normX = kpad->horizonAxis.x;
f32 axisY = kpad->horizonTangent.y;
f32 normY = kpad->horizonAxis.y;
f32 distance = kpad->dpdObjectDistance;
f32 horizontal = axisX * normX;
f32 vertical = axisY * normX;
f32 offsetX;
f32 directionX;
f32 distance;
f32 normY;
f32 vertical;
f32 directionY;
f32 offsetX;
f32 axisY;
f32 horizontal;
f32 axisX;
f32 directionX;
f32 normX;
f32 offsetY;
f32 tangentY;
f32 tangentX;
axisX = kpad->horizonTangent.x;
normX = kpad->horizonAxis.x;
axisY = kpad->horizonTangent.y;
normY = kpad->horizonAxis.y;
distance = kpad->dpdObjectDistance;
horizontal = axisX * normX;
vertical = axisY * normX;
tangentY = axisY * normY;
tangentX = axisX * normY;
directionX = horizontal + tangentY;
directionY = vertical - tangentX;
offsetX = directionX * distance;
offsetX = distance * directionX;
kpad->dpdObjectDirection.x = directionX;
offsetY = directionY * distance;
offsetY = distance * directionY;
kpad->dpdObjectDirection.y = directionY;
if (matchedCandidate == kpad->dpdState.candidates) {
kpad->dpdState.candidates[1].x = matchedCandidate->x + offsetX;

View File

@@ -1,3 +1,4 @@
#define BS2_MACH_VOLATILE_DVD_STATE
#define BS2_MACH_FIVE_ARG_READ
#include "BS2/BS2.h"
#include "BS2/BS2BringUp.h"
@@ -64,7 +65,7 @@ volatile int CacheFailed = 0;
volatile int RegionValid = 0;
volatile int NandPending = 0;
vu32 CancelNand = 0;
u32 LowReadResult = 0;
vu32 LowReadResult = 0;
u32 CacheCommandComplete = 0;
u32 AudioBufferUnconfigured = 0;
u64 ResetTime = 0;
@@ -577,7 +578,7 @@ void BS2StartGame() {
u32 (*entry)(void);
StartingGame = TRUE;
while (DVDGetCommandBlockStatus(&CoverBlock) != DVD_STATE_IDLE) {
while (CoverBlock.state != DVD_STATE_IDLE) {
}
BS2Report("BS2StartGame(1)\n");
@@ -677,8 +678,6 @@ void BS2StartGame() {
LowReadResult = 0;
DVDLowReadDiskID(&DiskID, (DVDLowCallback)callback);
while (LowReadResult == 0) {
BOOL enabled = OSDisableInterrupts();
OSRestoreInterrupts(enabled);
}
status = LowReadResult;
@@ -693,8 +692,6 @@ void BS2StartGame() {
LowReadResult = 0;
DVDLowRequestError((DVDLowCallback)callback);
while (LowReadResult == 0) {
BOOL enabled = OSDisableInterrupts();
OSRestoreInterrupts(enabled);
}
driveError = DVDLowGetImmBufferReg() & 0xFF000000;
if (driveError == 0x01000000 || (driveError = DVDLowGetImmBufferReg() & 0xFF000000) == 0x03000000) {
@@ -729,8 +726,6 @@ disk_done:
(DVDLowCallback)callback);
}
while (LowReadResult == 0) {
BOOL enabled = OSDisableInterrupts();
OSRestoreInterrupts(enabled);
}
status = LowReadResult;
@@ -748,8 +743,6 @@ disk_done:
LowReadResult = 0;
DVDLowRequestError((DVDLowCallback)callback);
while (LowReadResult == 0) {
BOOL enabled = OSDisableInterrupts();
OSRestoreInterrupts(enabled);
}
driveError = DVDLowGetImmBufferReg() & 0xFF000000;
if (driveError == 0x01000000 || (driveError = DVDLowGetImmBufferReg() & 0xFF000000) == 0x03000000) {

View File

@@ -9,14 +9,10 @@
#include <string.h>
typedef struct UpdateThreadData {
OSThread thread;
u8 stack[4096];
} UpdateThreadData;
static u32 Flags0[BS2_UPDATE_ENTRY_COUNT] = {0};
static u32 Flags1[BS2_UPDATE_ENTRY_COUNT] = {0};
static UpdateThreadData Thread = {0};
static OSThread Thread = {0};
static u8 ThreadStack[4096] = {0};
static BS2UpdateHeader UpdateHeader0 ALIGN32 = {0};
static BS2UpdateHeader UpdateHeader1 ALIGN32 = {0};
@@ -39,7 +35,7 @@ static u32 UpdateImportResult = 0;
u32 StartUpdate = 0;
u32 CancelUpdate = 0;
static u32 UpdateProgress = 0;
static s32 rc = 0;
static volatile s32 rc = 0;
static u64 VersionIOS = 0;
static u32 VersionMEM2 = 0;
static u32 VersionES = 0;
@@ -76,9 +72,9 @@ void BS2UpdateInit(void* allocator) {
memset(EntriesToImport, 0, 0x40000);
memset(Flags1, 0, sizeof(Flags1));
BS2Report("Create update thread\n");
OSCreateThread(&Thread.thread, UpdateThread, NULL, Thread.stack + sizeof(Thread.stack),
sizeof(Thread.stack), 31, 1);
OSResumeThread(&Thread.thread);
OSCreateThread(&Thread, UpdateThread, NULL, ThreadStack + sizeof(ThreadStack),
sizeof(ThreadStack), 31, 1);
OSResumeThread(&Thread);
}
static void* UpdateThread(void* argument) {

View File

@@ -220,13 +220,12 @@ void LayoutByNW4R::create(MEMAllocator* allocator) {
mpPaneManager->setAllComponentTriggerTarget(false);
mpPaneManager->setAllBoundingBoxComponentTriggerTarget(true);
const PaneAnimation* paneTable = csPaneToAnimationInSign;
const char* forceName;
u32 animationCount;
u32 paneIndex = 0;
do {
AnmPane* pane = NULL;
const PaneAnimation& paneInfo = paneTable[paneIndex & 0xFFFF];
const PaneAnimation& paneInfo = csPaneToAnimationInSign[paneIndex & 0xFFFF];
switch (paneInfo.type) {
case 2: {
void* paneBuffer = MEMAllocFromAllocator(allocator, sizeof(CellPhoneSignButtonPane));
@@ -250,13 +249,14 @@ void LayoutByNW4R::create(MEMAllocator* allocator) {
animationCount = paneInfo.animationCount;
u16 animationIndex = 0;
while (animationIndex < animationCount) {
void* resource = mpMultiArcResourceAccessor->GetResource(0, paneInfo.animations[animationIndex]->name);
const AnimationFile* const& animation = paneInfo.animations[animationIndex];
void* resource = mpMultiArcResourceAccessor->GetResource(0, animation->name);
AnimTransformPane* transform = static_cast<AnimTransformPane*>(
getLayout()->CreateAnimTransform(resource, mpMultiArcResourceAccessor));
if (forceName != NULL) {
pane->forceAddAnimation(allocator, paneInfo.animations[animationIndex]->id, transform, forceName, false, true);
pane->forceAddAnimation(allocator, animation->id, transform, forceName, false, true);
} else {
pane->addAnimation(allocator, paneInfo.animations[animationIndex]->id, transform, false, true);
pane->addAnimation(allocator, animation->id, transform, false, true);
}
++animationIndex;
}

View File

@@ -328,7 +328,7 @@ namespace ipl {
return isSceneCreated();
}
void SDButton::setEventHandler(::gui::EventHandler* event, ::gui::EventHandler* optOutEvent) {
void SDButton::setEventHandler(::gui::EventHandler* event) {
mpGui->setEventHandler(event);
}

View File

@@ -335,7 +335,7 @@ namespace ipl {
return true;
}
bool SDChannelSelect::enqueueChannelNotice(u32 controller, u32 page, u32 index, u32 value) {
bool SDChannelSelect::enqueueChannelNotice(u64 titleId, u32 value) {
if (mCurrentSDState != 6) {
return false;
}
@@ -344,7 +344,7 @@ namespace ipl {
command.type = 10;
command.arguments.values[0] = value;
command.arguments.values[1] = (u32)&mFirstTitleCount;
command.titleId = ((u64)page << 32) | index;
command.titleId = titleId;
mCommandQueue.push(command);
return true;
}
@@ -363,7 +363,7 @@ namespace ipl {
return true;
}
bool SDChannelSelect::enqueueStateNotice(u32 controller, u32 page, u32 index, u32 state) {
bool SDChannelSelect::enqueueStateNotice(u64 titleId, u32 state) {
if (mCurrentSDState != 6) {
return false;
}
@@ -372,7 +372,7 @@ namespace ipl {
command.type = 7;
command.arguments.values[0] = state;
command.arguments.values[1] = 0;
command.titleId = ((u64)page << 32) | index;
command.titleId = titleId;
mCommandQueue.push(command);
return true;
}

View File

@@ -282,7 +282,7 @@ FaderSceneCommand SDChannelTitle::calcFadein() {
if (!mpFade->isPlaying()) {
iplSDChannelTitle_playBannerIntro(this);
SDButton* button = static_cast<SDButton*>(System::getScene(0x24));
button->setEventHandler(mpButtonEventHandler, NULL);
button->setEventHandler(mpButtonEventHandler);
button->animation(13);
button->animation(14);
mState = 1;
@@ -344,7 +344,7 @@ void SDChannelTitle::initCalcFadeout() {
button->animation(15);
button->animation(16);
}
button->setEventHandler(NULL, NULL);
button->setEventHandler(NULL);
}
FaderSceneCommand SDChannelTitle::calcFadeout() {
@@ -736,8 +736,7 @@ extern "C" void iplSDChannelTitle_startCopyProgress(SDChannelTitle* scene) {
if (channel->mStateFlags == 3) {
scene->mState = 26;
scene->mErrorMessage = 0xaf;
} else if (scene->mpChannelSelect->enqueueChannelNotice(0, static_cast<u32>(scene->mTitleId >> 32),
static_cast<u32>(scene->mTitleId), reinterpret_cast<u32>(&scene->mTitleRange))) {
} else if (scene->mpChannelSelect->enqueueChannelNotice(scene->mTitleId, reinterpret_cast<u32>(&scene->mTitleRange))) {
scene->mState = 20;
} else {
scene->mState = 26;
@@ -826,8 +825,7 @@ extern "C" void iplSDChannelTitle_updateCopyStart(SDChannelTitle* scene) {
ESTitleId temporaryTitle = SCGetTmpTitleID();
if (temporaryTitle && scene->mTitleId != temporaryTitle) {
if (System::isReceiveScheduleStopped()) {
if (scene->mpChannelSelect->enqueueStateNotice(0, static_cast<u32>(temporaryTitle >> 32),
static_cast<u32>(temporaryTitle), 1)) {
if (scene->mpChannelSelect->enqueueStateNotice(temporaryTitle, 1)) {
scene->mState = 16;
} else {
scene->mState = 26;

View File

@@ -763,7 +763,7 @@ unlock_driver:
int ATERMFindChangedApRecord(AtermApRecordSet* currentRecords, AtermApRecordSet* previousRecords,
u32* changedIndex) {
u32 previousIndex;
u32 currentIndex = 0;
u32 currentIndex;
int found = 0;
int result = 0;
u32 ssidLength;
@@ -774,6 +774,7 @@ int ATERMFindChangedApRecord(AtermApRecordSet* currentRecords, AtermApRecordSet*
AtermApRecord* previousRecord = previousRecords->entries;
currentIndex = 0;
for (; currentIndex < currentRecords->count; currentIndex++) {
AtermSsidBuffer ssidName;
ssidName.clear.word0 = 0;
@@ -816,8 +817,6 @@ int ATERMFindChangedApRecord(AtermApRecordSet* currentRecords, AtermApRecordSet*
int currentHasAoss;
int previousHasAoss;
previousHasAoss = 0;
currentHasAoss = 0;
aossSsidName.clear.word0 = 0;
aossSsidName.clear.word1 = 0;
aossSsidName.clear.word2 = 0;
@@ -827,6 +826,8 @@ int ATERMFindChangedApRecord(AtermApRecordSet* currentRecords, AtermApRecordSet*
aossSsidName.clear.word6 = 0;
aossSsidName.clear.word7 = 0;
aossSsidName.clear.finalWord = 0;
currentHasAoss = 0;
previousHasAoss = 0;
currentRecord = currentRecords->entries;
previousRecord = previousRecords->entries;
@@ -1870,13 +1871,13 @@ int ATERMAesKeyWrap(u16* destination, u16* source, u32 length, void* key, u32 ke
union { u64 value; u8 bytes[8]; } counter;
u32 initialValue[2];
u8* outputBlock;
s32 blockOffset;
s32 blockIndex;
u8* destinationBytes;
const u8* sourceBytes;
u32 rounds;
s32 blockCount;
s32 pass;
s32 blockIndex;
s32 blockCount;
u32 rounds;
s32 blockOffset;
int result = 1;
initialValue[1] = 0xA6A6A6A6;
@@ -1895,7 +1896,7 @@ int ATERMAesKeyWrap(u16* destination, u16* source, u32 length, void* key, u32 ke
memcpy(destinationBytes + 8, sourceBytes, length);
memcpy(block.bytes, initialValue, sizeof(initialValue));
for (pass = 0; pass < 6; pass++) {
for (blockOffset = 8, blockIndex = 1; blockIndex <= blockCount; blockIndex++, blockOffset += 8) {
for (blockIndex = 1, blockOffset = 8; blockIndex <= blockCount; blockIndex++, blockOffset += 8) {
u64 passBase = (u64)(s64)blockCount * (u64)(s64)pass;
u8* stateBytes = block.bytes;

View File

@@ -3498,3 +3498,446 @@ Continuation final data recheck: exact ELF names are extab/extabindex without le
Continuation final validation starting: clean non-quick all-six gate, owned source diff only PF directory implementation and focus vector specialization; four exact commits d4976af8,0035e899,d5de7189,9170cd3e. Full open list audited8 functions, each>=3 logged distinct successful forms. No speculative FA/zko/keyboard source/header/config changes retained; preexisting untracked reports untouched.
Continuation final Ax count discrepancy independently proven after clean build: checkFile__19AxAdpcmSimplePlayerFPvUl has identical372 raw function bytes, but gate odiff emits different CR1 branch display targets. Objdiff13/13/code3088/data6476/DOL linked100%; raw instruction count12/13 is the existing disassembly-normalization false negative, not an open function or a new match. [(31, "('beq', -951)", "('beq', -747)"), (69, "('ble', -1103)", "('ble', -899)")]
Continuation final full non-quick all-six GATE PASS: build/DOL exact26116613f624061ba99c8d1a299aaa6efa85670d, pools identical, regressions0,forbidden0,readability0. PF35/38→38/38,code11704→18976,data40/40; focus88/89→89/89,code19772→20332,data2576/2576. Eight remaining names re-listed from fresh report and all have>=3 successful distinct logged forms. Detailed exact before/after, all remaining names/scores/structural reasons, data relocation proof and verbatim unit lines in fz1.next.report.md; full transcript fz1.next.final-gate.txt.
## Round2 continuation 2026-10-02, new leaves after #808
Round2 initial all-seven quick GATE PASS, clean tracked tree, HEAD d6997b0cb9e97fbd2befc07a85c87c74d625f068, origin dce9e0732de42eec307e3af3fef64b6c57b20fc2. DOL hash exact; regressions0, forbidden0, readability0. Current report corrects CHANSVm starting count to221/233. AOSS raw gate15/21 vs objdiff16/21 will be audited independently. Prior untracked artifacts preserved.
Round2 baseline libs/RVL_SDK/src/fa/api/FAAttach {'fuzzy_match_percent': 99.36, 'total_code': '500', 'total_data': '240', 'matched_data': '240', 'matched_data_percent': 100.0, 'total_functions': 1, 'total_units': 1}
Round2 first pool libs/RVL_SDK/src/fa/api/FAAttach: POOL IDENTICAL up to 0 (mine=0 base=0)
Round2 baseline libs/RVLMiddleware/eZiText/src/clib/zkokeyp {'fuzzy_match_percent': 98.65385, 'total_code': '5200', 'matched_code': '332', 'matched_code_percent': 6.3846154, 'total_data': '180', 'matched_data': '96', 'matched_data_percent': 53.333336, 'total_functions': 7, 'matched_functions': 1, 'matched_functions_percent': 14.285715, 'total_units': 1}
Round2 first pool libs/RVLMiddleware/eZiText/src/clib/zkokeyp: POOL IDENTICAL up to 0 (mine=0 base=0)
Round2 baseline src/system/iplKeyboard {'fuzzy_match_percent': 98.73506, 'total_code': '6024', 'matched_code': '4752', 'matched_code_percent': 78.88447, 'total_data': '1184', 'matched_data': '1184', 'matched_data_percent': 100.0, 'total_functions': 32, 'matched_functions': 31, 'matched_functions_percent': 96.875, 'total_units': 1}
Round2 first pool src/system/iplKeyboard: POOL IDENTICAL up to 28 (mine=28 base=28)
Round2 baseline src/BS2/BS2Update {'fuzzy_match_percent': 91.660416, 'total_code': '4052', 'matched_code': '112', 'matched_code_percent': 2.7640672, 'total_data': '10488', 'matched_data': '10488', 'matched_data_percent': 100.0, 'total_functions': 10, 'matched_functions': 8, 'matched_functions_percent': 80.0, 'total_units': 1}
Round2 first pool src/BS2/BS2Update: POOL IDENTICAL up to 55 (mine=55 base=55)
Round2 baseline src/channelScript/CHANSVm {'fuzzy_match_percent': 99.364426, 'total_code': '53564', 'matched_code': '37608', 'matched_code_percent': 70.211334, 'total_data': '6904', 'matched_data': '6904', 'matched_data_percent': 100.0, 'total_functions': 233, 'matched_functions': 221, 'matched_functions_percent': 94.849785, 'total_units': 1}
Round2 first pool src/channelScript/CHANSVm: POOL IDENTICAL up to 125 (mine=125 base=125)
Round2 baseline src/BS2/BS2Mach {'fuzzy_match_percent': 97.82756, 'total_code': '16980', 'matched_code': '4940', 'matched_code_percent': 29.093052, 'total_data': '158528', 'matched_data': '155504', 'matched_data_percent': 98.092445, 'total_functions': 29, 'matched_functions': 24, 'matched_functions_percent': 82.75862, 'total_units': 1}
Round2 first pool src/BS2/BS2Mach: POOL IDENTICAL up to 91 (mine=91 base=91)
Round2 baseline src/scene/setting/AOSS {'fuzzy_match_percent': 96.777916, 'total_code': '16192', 'matched_code': '6436', 'matched_code_percent': 39.748024, 'total_data': '3928', 'matched_data': '3928', 'matched_data_percent': 100.0, 'total_functions': 21, 'matched_functions': 16, 'matched_functions_percent': 76.190475, 'total_units': 1}
Round2 first pool src/scene/setting/AOSS: POOL IDENTICAL up to 1 (mine=1 base=1)
Round2 FAAttach origin fetched; source identical to origin/main and not exact. Pool identical/data240/240; symbol0x815e7c84 size0x1f4 ends before nextfunction. Target/source frame0x80 and125/125, branches/helpers/storage aligned; only10 operands at drive-index conversion/table-base allocation. Actual pdm_api callee uses u16 partition index, source declaration u32. No proven volatile local: request reload occurs after external media call, not immediate store. Test const input/read-only table helper boundaries and true prototype before declaration search.
Round2 FAAttach | const NAND path view | sha256=608271445100 | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach | correct partition index prototype | sha256=2e04e890e6f6 | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach | byte-sized device ABI | sha256=d215744d9a3c | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach | attached table const view | sha256=51ab8bbe6cfd | structural/exact=(9, 58); instructions=126/125; 14: ('b', '416') -> ('b', '412'); 18: ('b', '400') -> ('b', '396'); 24: ('b', '376') -> ('b', '372'); 31: ('b', '348') -> ('b', '344'); 42: ('b', '304') -> ('b', '300'); 50: ('b', '272') -> ('b', '268'); 73: ('b', '180') -> ('b', '176'); 74: ('lwz', 'r6, 0x10(r1)') -> ('lbz', 'r0, 8(r31)'); 76: ('lbz', 'r0, 8(r6)') -> ('extsb', 'r3, r0'); 77: ('extsb', 'r3, r0') -> ('addi', 'r0, r3, -0x41'); 78: ('addi', 'r5, r3, -0x41') -> ('bgt', '120'); 79: ('bgt', '120') -> ('lis', 'r5, 0')
Round2 FAAttach | attached table const reference view | sha256=0025e29eeeab | BUILD FAILED & "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/fa/api/FAAttach.d build/43U/src/libs/RVL_SDK/src/fa/api/FAAttach.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\fa\api\FAAttach.c # ------------------------------------------- # 83: attached = request.table; # Error: ^ # (10179) illegal assignment to constant # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 FAAttach | const input view for drive only | sha256=481ef68be8c4 | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach | disk loaded as independent genuine value before table writes | sha256=7842e28e8f52 | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach | same-index stores owned by read-only inline table helper | sha256=e0d2e4da684f | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach | explicit native unsigned character displacement | sha256=9855b6dd0768 | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach | drive character local and delayed index | sha256=994248c3fc80 | structural/exact=(0, 10); instructions=125/125; 77: ('addi', 'r5, r3, -0x41') -> ('addi', 'r0, r3, -0x41'); 79: ('lis', 'r4, 0') -> ('lis', 'r5, 0'); 80: ('lwz', 'r0, 8(r1)') -> ('lwz', 'r3, 8(r1)'); 81: ('slwi', 'r5, r5, 2') -> ('slwi', 'r6, r0, 2'); 82: ('lis', 'r3, 0') -> ('lis', 'r4, 0'); 83: ('addi', 'r4, r4, 0') -> ('addi', 'r5, r5, 0'); 85: ('stwx', 'r0, r4, r5') -> ('stwx', 'r3, r5, r6'); 86: ('addi', 'r3, r3, 0') -> ('addi', 'r4, r4, 0'); 88: ('stwx', 'r0, r3, r5') -> ('stwx', 'r0, r4, r6'); 110: ('slwi', 'r5, r5, 2') -> ('slwi', 'r5, r0, 2')
Round2 FAAttach: batch 9 successful distinct builds/10 forms, best=(0, 10).
Round2 FAAttach ten compiled context/prototype/type forms no improvement, index allocation only. Declsearch last60 cap (actual23 evaluations), no improvement; original readable source restored.
Round2 Zi8_8148302C origin fetched and source unchanged; pool first already identical. Frame0x30/count59 aligned; six operands exchange work parameter r29/r27 with loaded table value. Actual key char bytes7/8 of9-byte entry, no layout overlap or forced reload. Test const table/typed record/narrow value/helper ownership, then declsearch.
Round2 Zi8_8148302C | read-only Korean table input | sha256=2891a6c41b97 | structural/exact=(0, 6); instructions=59/59; 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 12: ('mr', 'r5, r27') -> ('mr', 'r5, r29'); 32: ('clrlwi', 'r29, r0, 0x10') -> ('clrlwi', 'r27, r0, 0x10'); 34: ('cmplw', 'r29, r0') -> ('cmplw', 'r27, r0'); 38: ('mr', 'r4, r27') -> ('mr', 'r4, r29'); 49: ('mr', 'r4, r27') -> ('mr', 'r4, r29')
Round2 Zi8_8148302C | read-only typed Korean table pointer | sha256=db32ca9de5b0 | structural/exact=(6, 50); instructions=58/59; 6: ('stw', 'r4, 0xc(r1)') -> ('mr', 'r30, r4'); 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 8: ('lwz', 'r30, 0xc(r1)') -> ('li', 'r3, 0x12'); 9: ('li', 'r3, 0x12') -> ('clrlwi', 'r3, r3, 0x18'); 10: ('clrlwi', 'r3, r3, 0x18') -> ('li', 'r4, 9'); 11: ('li', 'r4, 9') -> ('clrlwi', 'r4, r4, 0x18'); 12: ('clrlwi', 'r4, r4, 0x18') -> ('mr', 'r5, r29'); 13: ('mr', 'r5, r27') -> ('bl', '0'); 14: ('bl', '0') -> ('mr', 'r28, r3'); 15: ('mr', 'r28, r3') -> ('li', 'r31, 0'); 16: ('li', 'r31, 0') -> ('b', '108'); 17: ('b', '100') -> ('clrlwi', 'r0, r31, 0x10')
Round2 Zi8_8148302C | narrow native table value with native loop counter | sha256=0bc0a90aa49b | structural/exact=(0, 6); instructions=59/59; 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 12: ('mr', 'r5, r27') -> ('mr', 'r5, r29'); 32: ('clrlwi', 'r29, r0, 0x10') -> ('clrlwi', 'r27, r0, 0x10'); 34: ('cmplw', 'r29, r0') -> ('cmplw', 'r27, r0'); 38: ('mr', 'r4, r27') -> ('mr', 'r4, r29'); 49: ('mr', 'r4, r27') -> ('mr', 'r4, r29')
Round2 Zi8_8148302C | lexical value local owned by scan body | sha256=25088f4ee783 | structural/exact=(6, 57); instructions=62/59; 5: ('mr', 'r31, r1') -> ('sth', 'r3, 8(r1)'); 6: ('sth', 'r3, 8(r31)') -> ('mr', 'r30, r4'); 7: ('mr', 'r29, r4') -> ('mr', 'r29, r5'); 8: ('mr', 'r26, r5') -> ('li', 'r3, 0x12'); 9: ('li', 'r3, 0x12') -> ('clrlwi', 'r3, r3, 0x18'); 10: ('clrlwi', 'r3, r3, 0x18') -> ('li', 'r4, 9'); 11: ('li', 'r4, 9') -> ('clrlwi', 'r4, r4, 0x18'); 12: ('clrlwi', 'r4, r4, 0x18') -> ('mr', 'r5, r29'); 13: ('mr', 'r5, r26') -> ('bl', '0'); 14: ('bl', '0') -> ('mr', 'r28, r3'); 15: ('mr', 'r28, r3') -> ('li', 'r31, 0'); 16: ('li', 'r30, 0') -> ('b', '108')
Round2 Zi8_8148302C | table-key-first equality | sha256=f963182c8ffe | structural/exact=(0, 6); instructions=59/59; 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 12: ('mr', 'r5, r27') -> ('mr', 'r5, r29'); 32: ('clrlwi', 'r29, r0, 0x10') -> ('clrlwi', 'r27, r0, 0x10'); 34: ('cmplw', 'r0, r29') -> ('cmplw', 'r27, r0'); 38: ('mr', 'r4, r27') -> ('mr', 'r4, r29'); 49: ('mr', 'r4, r27') -> ('mr', 'r4, r29')
Round2 Zi8_8148302C: batch 5 successful distinct builds/5 forms, best=(0, 6).
Round2 Zi8_81483264 source matches origin, frame0x20/count41 aligned, metadata/running byte-index r31/r30 swapped; no missing operations or store-reload/local volatility evidence. Test native loop values with byte addressing and true mutable/const metadata views.
Round2 Zi8_81483264 | native ziU32 loop with byte-range addressing | sha256=12af37593e6d | structural/exact=(0, 8); instructions=41/41; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 8: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 17: ('li', 'r31, 0') -> ('li', 'r30, 0'); 20: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 21: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 24: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 25: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 26: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_81483264 | native ziS32 loop with byte-range addressing | sha256=cbf8c0525070 | structural/exact=(0, 8); instructions=41/41; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 8: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 17: ('li', 'r31, 0') -> ('li', 'r30, 0'); 20: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 21: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 24: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 25: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 26: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_81483264 | native ziU16 loop with byte-range addressing | sha256=655d500c01d2 | structural/exact=(0, 8); instructions=41/41; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 8: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 17: ('li', 'r31, 0') -> ('li', 'r30, 0'); 20: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 21: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 24: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 25: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 26: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_81483264 | mutable metadata parameter pointer | sha256=6e4e334b9dd7 | structural/exact=(0, 8); instructions=41/41; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 8: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 17: ('li', 'r31, 0') -> ('li', 'r30, 0'); 20: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 21: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 24: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 25: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 26: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_81483264 | unsigned zero literal store | sha256=943c8b977aff | structural/exact=(0, 8); instructions=41/41; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 8: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 17: ('li', 'r31, 0') -> ('li', 'r30, 0'); 20: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 21: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 24: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 25: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 26: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_81483264 | metadata copy owned by body | sha256=1e0466f3630a | structural/exact=(2, 35); instructions=42/41; 6: ('stw', 'r3, 8(r1)') -> ('mr', 'r31, r3'); 8: ('lwz', 'r31, 8(r1)') -> ('lwz', 'r0, 0x24(r31)'); 9: ('lwz', 'r0, 0x24(r31)') -> ('cmpwi', 'r0, 0'); 10: ('cmpwi', 'r0, 0') -> ('bne', '28'); 11: ('bne', '28') -> ('li', 'r3, 0x164'); 12: ('li', 'r3, 0x164') -> ('clrlwi', 'r3, r3, 0x10'); 13: ('clrlwi', 'r3, r3, 0x10') -> ('mr', 'r4, r29'); 14: ('mr', 'r4, r29') -> ('bl', '0'); 15: ('bl', '0') -> ('li', 'r3, 1'); 16: ('li', 'r3, 1') -> ('b', '72'); 17: ('b', '72') -> ('li', 'r30, 0'); 18: ('li', 'r30, 0') -> ('b', '28')
Round2 Zi8_81483264: batch 6 successful distinct builds/6 forms, best=(0, 8).
Round2 Zi8_81483308 origin fetched unchanged, 58/58/frame0x20; count pointer/live loop-value register exchange only9 diffs, scratch field layout confirmed0x24 and max count0x1c; test const metadata/native counter/explicit count increment and loop form. Store-byte then clrlwi uses same result without reload; no definition-level volatile proof.
Round2 Zi8_81483308 | read-only metadata with mutable scratch | sha256=41a54b1afbc1 | structural/exact=(0, 9); instructions=58/58; 7: ('mr', 'r29, r5') -> ('mr', 'r30, r5'); 22: ('li', 'r30, 0') -> ('li', 'r29, 0'); 26: ('clrlwi', 'r0, r30, 0x18') -> ('clrlwi', 'r0, r29, 0x18'); 33: ('addi', 'r30, r30, 1') -> ('addi', 'r29, r29, 1'); 34: ('clrlwi', 'r3, r30, 0x18') -> ('clrlwi', 'r3, r29, 0x18'); 39: ('lbz', 'r0, 0(r29)') -> ('lbz', 'r0, 0(r30)'); 42: ('lbz', 'r3, 0(r29)') -> ('lbz', 'r3, 0(r30)'); 44: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)'); 50: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)')
Round2 Zi8_81483308 | native ziU32 scan with byte-range access | sha256=8ea4bba87fbf | structural/exact=(0, 9); instructions=58/58; 7: ('mr', 'r29, r5') -> ('mr', 'r30, r5'); 22: ('li', 'r30, 0') -> ('li', 'r29, 0'); 26: ('clrlwi', 'r0, r30, 0x18') -> ('clrlwi', 'r0, r29, 0x18'); 33: ('addi', 'r30, r30, 1') -> ('addi', 'r29, r29, 1'); 34: ('clrlwi', 'r3, r30, 0x18') -> ('clrlwi', 'r3, r29, 0x18'); 39: ('lbz', 'r0, 0(r29)') -> ('lbz', 'r0, 0(r30)'); 42: ('lbz', 'r3, 0(r29)') -> ('lbz', 'r3, 0(r30)'); 44: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)'); 50: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)')
Round2 Zi8_81483308 | native ziS32 scan with byte-range access | sha256=8a54c51def5f | structural/exact=(0, 9); instructions=58/58; 7: ('mr', 'r29, r5') -> ('mr', 'r30, r5'); 22: ('li', 'r30, 0') -> ('li', 'r29, 0'); 26: ('clrlwi', 'r0, r30, 0x18') -> ('clrlwi', 'r0, r29, 0x18'); 33: ('addi', 'r30, r30, 1') -> ('addi', 'r29, r29, 1'); 34: ('clrlwi', 'r3, r30, 0x18') -> ('clrlwi', 'r3, r29, 0x18'); 39: ('lbz', 'r0, 0(r29)') -> ('lbz', 'r0, 0(r30)'); 42: ('lbz', 'r3, 0(r29)') -> ('lbz', 'r3, 0(r30)'); 44: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)'); 50: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)')
Round2 Zi8_81483308 | count increment separated from wrap condition | sha256=4aafa1b25da8 | structural/exact=(3, 16); instructions=59/58; 21: ('b', '128') -> ('b', '124'); 32: ('b', '84') -> ('b', '80'); 45: ('lbz', 'r0, 0(r30)') -> ('clrlwi', 'r3, r0, 0x18'); 46: ('clrlwi', 'r3, r0, 0x18') -> ('lbz', 'r0, 0x1c(r31)'); 47: ('lbz', 'r0, 0x1c(r31)') -> ('cmplw', 'r3, r0'); 48: ('cmplw', 'r3, r0') -> ('blt', '12'); 49: ('blt', '12') -> ('li', 'r0, 0'); 50: ('li', 'r0, 0') -> ('stb', 'r0, 0(r30)'); 51: ('stb', 'r0, 0(r30)') -> ('li', 'r3, 0'); 52: ('li', 'r3, 0') -> ('addi', 'r11, r1, 0x20'); 53: ('addi', 'r11, r1, 0x20') -> ('bl', '0'); 54: ('bl', '0') -> ('lwz', 'r0, 0x24(r1)')
Round2 Zi8_81483308 | deduplicating scan while-loop | sha256=24371db878a4 | structural/exact=(0, 9); instructions=58/58; 7: ('mr', 'r29, r5') -> ('mr', 'r30, r5'); 22: ('li', 'r30, 0') -> ('li', 'r29, 0'); 26: ('clrlwi', 'r0, r30, 0x18') -> ('clrlwi', 'r0, r29, 0x18'); 33: ('addi', 'r30, r30, 1') -> ('addi', 'r29, r29, 1'); 34: ('clrlwi', 'r3, r30, 0x18') -> ('clrlwi', 'r3, r29, 0x18'); 39: ('lbz', 'r0, 0(r29)') -> ('lbz', 'r0, 0(r30)'); 42: ('lbz', 'r3, 0(r29)') -> ('lbz', 'r3, 0(r30)'); 44: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)'); 50: ('stb', 'r0, 0(r29)') -> ('stb', 'r0, 0(r30)')
Round2 Zi8_81483308: batch 5 successful distinct builds/5 forms, best=(0, 9).
Round2 Zi8_814833F0 fetch/remote no source changes; frame0x20/count47 equal,8 metadata/index register differences; volatile not warranted. Three native pointer/type forms plus condition/while form, then declsearch score-only; leading declaration group onlyone real variable so no artificial extra declarations introduced for permutation.
Round2 Zi8_814833F0 | mutable metadata input view | sha256=6daf3a59140a | structural/exact=(0, 8); instructions=47/47; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 13: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 22: ('li', 'r31, 0') -> ('li', 'r30, 0'); 26: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 27: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 34: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 35: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 36: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_814833F0 | native ziU32 scan byte addressing | sha256=fd1d52cd56a1 | structural/exact=(0, 8); instructions=47/47; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 13: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 22: ('li', 'r31, 0') -> ('li', 'r30, 0'); 26: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 27: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 34: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 35: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 36: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_814833F0 | native ziS32 scan byte addressing | sha256=c83d8e8362f0 | structural/exact=(0, 8); instructions=47/47; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 13: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 22: ('li', 'r31, 0') -> ('li', 'r30, 0'); 26: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 27: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 34: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 35: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 36: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_814833F0 | loop limit first operand | sha256=32131520e148 | structural/exact=(6, 21); instructions=48/47; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 13: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 21: ('b', '80') -> ('b', '76'); 22: ('li', 'r31, 0') -> ('li', 'r30, 0'); 26: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 27: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 33: ('b', '32') -> ('b', '28'); 34: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 35: ('lbz', 'r0, 0x1c(r30)') -> ('clrlwi', 'r3, r30, 0x18'); 36: ('clrlwi', 'r3, r0, 0x18') -> ('lbz', 'r0, 0x1c(r31)'); 37: ('clrlwi', 'r0, r31, 0x18') -> ('cmplw', 'r3, r0'); 38: ('cmplw', 'r3, r0') -> ('blt', '-56')
Round2 Zi8_814833F0 | loop as while preserving key-first load | sha256=2a6ab7806faf | structural/exact=(0, 8); instructions=47/47; 6: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 13: ('lwz', 'r0, 0x24(r30)') -> ('lwz', 'r0, 0x24(r31)'); 22: ('li', 'r31, 0') -> ('li', 'r30, 0'); 26: ('lwz', 'r3, 0x24(r30)') -> ('lwz', 'r3, 0x24(r31)'); 27: ('clrlwi', 'r0, r31, 0x18') -> ('clrlwi', 'r0, r30, 0x18'); 34: ('addi', 'r31, r31, 1') -> ('addi', 'r30, r30, 1'); 35: ('clrlwi', 'r3, r31, 0x18') -> ('clrlwi', 'r3, r30, 0x18'); 36: ('lbz', 'r0, 0x1c(r30)') -> ('lbz', 'r0, 0x1c(r31)')
Round2 Zi8_814833F0: batch 5 successful distinct builds/5 forms, best=(0, 8).
Round2 Zi8_814834AC origin refreshed unchanged. Frame0x50 target343/source344: zero-word/lastbyte assignment produces one extra narrowing; target uses same literalzero r0 for stw1c/stb20. Direct typed array character reads add table before offset while target adds offset first. Candidate cursor/work pointer allocation is21 residual differences. Investigate packed-key initialization/real byte-width/type and offset-first record address before register permutation. No immediate re-read proof for volatile.
Round2 declaration checks z1 six evaluations no gain; z2/z3 initial score-only failed because ninja not inPATH, rerun explicitly NINJA succeeded(0,8)/(0,9); z4 score(0,8). Single genuine leading declaration in z2,z3,z4 precludes meaningful permutation; no synthetic declarations added.
Round2 Zi8_814834AC | five packed key bytes assigned independently | sha256=9f09980ac48a | structural/exact=(8, 328); instructions=350/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 15: ('stb', 'r0, 0x1c(r1)') -> ('stw', 'r0, 0x1c(r1)'); 16: ('li', 'r0, 0') -> ('stb', 'r0, 0x20(r1)'); 17: ('stb', 'r0, 0x1d(r1)') -> ('li', 'r3, 0x64'); 18: ('li', 'r0, 0') -> ('clrlwi', 'r3, r3, 0x10'); 19: ('stb', 'r0, 0x1e(r1)') -> ('mr', 'r4, r26'); 20: ('li', 'r0, 0') -> ('bl', '0'); 21: ('stb', 'r0, 0x1f(r1)') -> ('lbz', 'r0, 0xc(r31)'); 22: ('li', 'r0, 0') -> ('cmpwi', 'r0, 0'); 23: ('stb', 'r0, 0x20(r1)') -> ('bne', '256'); 24: ('li', 'r3, 0x64') -> ('lhz', 'r3, 0(r29)'); 25: ('clrlwi', 'r3, r3, 0x10') -> ('lbz', 'r0, 0(r30)')
Round2 Zi8_814834AC | five packed key bytes share literal-zero chain | sha256=d2939318e85e | structural/exact=(5, 329); instructions=346/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 15: ('stb', 'r0, 0x20(r1)') -> ('stw', 'r0, 0x1c(r1)'); 16: ('stb', 'r0, 0x1f(r1)') -> ('stb', 'r0, 0x20(r1)'); 17: ('stb', 'r0, 0x1e(r1)') -> ('li', 'r3, 0x64'); 18: ('stb', 'r0, 0x1d(r1)') -> ('clrlwi', 'r3, r3, 0x10'); 19: ('stb', 'r0, 0x1c(r1)') -> ('mr', 'r4, r26'); 20: ('li', 'r3, 0x64') -> ('bl', '0'); 21: ('clrlwi', 'r3, r3, 0x10') -> ('lbz', 'r0, 0xc(r31)'); 22: ('mr', 'r4, r25') -> ('cmpwi', 'r0, 0'); 23: ('bl', '0') -> ('bne', '256'); 24: ('lbz', 'r0, 0xc(r31)') -> ('lhz', 'r3, 0(r29)'); 25: ('cmpwi', 'r0, 0') -> ('lbz', 'r0, 0(r30)')
Round2 Zi8_814834AC | word/last-byte assignment separated | sha256=39acce3774c9 | structural/exact=(1, 329); instructions=344/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 16: ('li', 'r0, 0') -> ('stb', 'r0, 0x20(r1)'); 17: ('stb', 'r0, 0x20(r1)') -> ('li', 'r3, 0x64'); 18: ('li', 'r3, 0x64') -> ('clrlwi', 'r3, r3, 0x10'); 19: ('clrlwi', 'r3, r3, 0x10') -> ('mr', 'r4, r26'); 20: ('mr', 'r4, r25') -> ('bl', '0'); 21: ('bl', '0') -> ('lbz', 'r0, 0xc(r31)'); 22: ('lbz', 'r0, 0xc(r31)') -> ('cmpwi', 'r0, 0'); 23: ('cmpwi', 'r0, 0') -> ('bne', '256'); 24: ('bne', '256') -> ('lhz', 'r3, 0(r29)'); 25: ('lhz', 'r3, 0(r29)') -> ('lbz', 'r0, 0(r30)'); 26: ('lbz', 'r0, 0(r30)') -> ('cmpw', 'r3, r0')
Round2 Zi8_814834AC | signed packed-key native first word | sha256=21be1bac081e | structural/exact=(1, 329); instructions=344/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 16: ('clrlwi', 'r0, r0, 0x18') -> ('stb', 'r0, 0x20(r1)'); 17: ('stb', 'r0, 0x20(r1)') -> ('li', 'r3, 0x64'); 18: ('li', 'r3, 0x64') -> ('clrlwi', 'r3, r3, 0x10'); 19: ('clrlwi', 'r3, r3, 0x10') -> ('mr', 'r4, r26'); 20: ('mr', 'r4, r25') -> ('bl', '0'); 21: ('bl', '0') -> ('lbz', 'r0, 0xc(r31)'); 22: ('lbz', 'r0, 0xc(r31)') -> ('cmpwi', 'r0, 0'); 23: ('cmpwi', 'r0, 0') -> ('bne', '256'); 24: ('bne', '256') -> ('lhz', 'r3, 0(r29)'); 25: ('lhz', 'r3, 0(r29)') -> ('lbz', 'r0, 0(r30)'); 26: ('lbz', 'r0, 0(r30)') -> ('cmpw', 'r3, r0')
Round2 Zi8_814834AC | packed-key clearing from actual zero loop index | sha256=700ff95a9d7e | structural/exact=(2, 23); instructions=343/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 14: ('stw', 'r27, 0x1c(r1)') -> ('li', 'r0, 0'); 15: ('clrlwi', 'r0, r27, 0x18') -> ('stw', 'r0, 0x1c(r1)'); 19: ('mr', 'r4, r25') -> ('mr', 'r4, r26'); 35: ('mr', 'r6, r25') -> ('mr', 'r6, r26'); 56: ('mr', 'r6, r25') -> ('mr', 'r6, r26'); 97: ('mr', 'r5, r25') -> ('mr', 'r5, r26'); 103: ('mr', 'r5, r25') -> ('mr', 'r5, r26'); 111: ('mr', 'r4, r25') -> ('mr', 'r4, r26'); 120: ('mr', 'r4, r25') -> ('mr', 'r4, r26'); 128: ('mr', 'r5, r25') -> ('mr', 'r5, r26'); 204: ('add', 'r3, r4, r3') -> ('add', 'r3, r3, r4')
Round2 Zi8_814834AC | packed key byte-first chain ziU32 | sha256=efd0a012fc0a | structural/exact=(3, 330); instructions=344/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 15: ('stb', 'r0, 0x20(r1)') -> ('stw', 'r0, 0x1c(r1)'); 16: ('clrlwi', 'r0, r0, 0x18') -> ('stb', 'r0, 0x20(r1)'); 17: ('stw', 'r0, 0x1c(r1)') -> ('li', 'r3, 0x64'); 18: ('li', 'r3, 0x64') -> ('clrlwi', 'r3, r3, 0x10'); 19: ('clrlwi', 'r3, r3, 0x10') -> ('mr', 'r4, r26'); 20: ('mr', 'r4, r25') -> ('bl', '0'); 21: ('bl', '0') -> ('lbz', 'r0, 0xc(r31)'); 22: ('lbz', 'r0, 0xc(r31)') -> ('cmpwi', 'r0, 0'); 23: ('cmpwi', 'r0, 0') -> ('bne', '256'); 24: ('bne', '256') -> ('lhz', 'r3, 0(r29)'); 25: ('lhz', 'r3, 0(r29)') -> ('lbz', 'r0, 0(r30)')
Round2 Zi8_814834AC | packed key byte-first chain ziS32 | sha256=d69bda3f5fe0 | structural/exact=(3, 330); instructions=344/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 15: ('stb', 'r0, 0x20(r1)') -> ('stw', 'r0, 0x1c(r1)'); 16: ('clrlwi', 'r0, r0, 0x18') -> ('stb', 'r0, 0x20(r1)'); 17: ('stw', 'r0, 0x1c(r1)') -> ('li', 'r3, 0x64'); 18: ('li', 'r3, 0x64') -> ('clrlwi', 'r3, r3, 0x10'); 19: ('clrlwi', 'r3, r3, 0x10') -> ('mr', 'r4, r26'); 20: ('mr', 'r4, r25') -> ('bl', '0'); 21: ('bl', '0') -> ('lbz', 'r0, 0xc(r31)'); 22: ('lbz', 'r0, 0xc(r31)') -> ('cmpwi', 'r0, 0'); 23: ('cmpwi', 'r0, 0') -> ('bne', '256'); 24: ('bne', '256') -> ('lhz', 'r3, 0(r29)'); 25: ('lhz', 'r3, 0(r29)') -> ('lbz', 'r0, 0(r30)')
Round2 Zi8_814834AC | read-only metadata parameter with writable candidates | sha256=444b1f865b16 | BUILD FAILED xe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zkokeyp.c # ------------------------------------------------------ # 148: Zi8_81483308(param, param->candidates[i], inserted, ZI_WORK); # Error: ^ # (10209) illegal implicit conversion from 'const struct _ziGetParam *' to # 'struct _ziGetParam *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 Zi8_814834AC | offset before table in direct character reads | sha256=3e577d9912a3 | structural/exact=(1, 329); instructions=344/343; 9: ('mr', 'r25, r7') -> ('mr', 'r26, r7'); 16: ('clrlwi', 'r0, r0, 0x18') -> ('stb', 'r0, 0x20(r1)'); 17: ('stb', 'r0, 0x20(r1)') -> ('li', 'r3, 0x64'); 18: ('li', 'r3, 0x64') -> ('clrlwi', 'r3, r3, 0x10'); 19: ('clrlwi', 'r3, r3, 0x10') -> ('mr', 'r4, r26'); 20: ('mr', 'r4, r25') -> ('bl', '0'); 21: ('bl', '0') -> ('lbz', 'r0, 0xc(r31)'); 22: ('lbz', 'r0, 0xc(r31)') -> ('cmpwi', 'r0, 0'); 23: ('cmpwi', 'r0, 0') -> ('bne', '256'); 24: ('bne', '256') -> ('lhz', 'r3, 0(r29)'); 25: ('lhz', 'r3, 0(r29)') -> ('lbz', 'r0, 0(r30)'); 26: ('lbz', 'r0, 0(r30)') -> ('cmpw', 'r3, r0')
Round2 Zi8_814834AC: batch 8 successful distinct builds/9 forms, best=(1, 329).
Round2 Zi8GetKOcandidates remote checked before start; source unchanged, frame0x60; source673,target669, four excess instructions from initialization/halfword return narrowing/postincrement. Actual9-byte key entry reads have offset/table association different and integer scratch types may be incorrect. Target has no immediate stack store/reload without work between; volatile not justified. Try const options, actual typed records, packed-key clearing, expression association and candidate append boundary before score-only declaration analysis.
Round2 Zi8GetKOcandidates | read-only candidate options pointer | sha256=c5a7263b380e | structural/exact=(30, 645); instructions=673/669; 11: ('li', 'r3, 0') -> ('li', 'r0, 0'); 12: ('stw', 'r3, 0x2c(r1)') -> ('stw', 'r0, 0x2c(r1)'); 15: ('li', 'r3, 0') -> ('stb', 'r0, 0x3c(r1)'); 16: ('stb', 'r3, 0x3c(r1)') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stb', 'r0, 0xe(r1)'); 18: ('stb', 'r0, 0xe(r1)') -> ('li', 'r0, 0'); 19: ('li', 'r0, 0') -> ('stb', 'r0, 0xd(r1)'); 20: ('stb', 'r0, 0xd(r1)') -> ('li', 'r0, 0'); 21: ('li', 'r0, 0') -> ('stb', 'r0, 0xc(r1)'); 22: ('stb', 'r0, 0xc(r1)') -> ('li', 'r0, 0'); 23: ('li', 'r0, 0') -> ('stb', 'r0, 0xb(r1)'); 24: ('stb', 'r0, 0xb(r1)') -> ('lhz', 'r0, 0x1e(r31)')
Round2 Zi8GetKOcandidates | packed-key clearing shared zero-expression | sha256=f88df10b6355 | structural/exact=(30, 645); instructions=673/669; 11: ('li', 'r3, 0') -> ('li', 'r0, 0'); 12: ('stw', 'r3, 0x2c(r1)') -> ('stw', 'r0, 0x2c(r1)'); 15: ('clrlwi', 'r3, r0, 0x18') -> ('stb', 'r0, 0x3c(r1)'); 16: ('stb', 'r3, 0x3c(r1)') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stb', 'r0, 0xe(r1)'); 18: ('stb', 'r0, 0xe(r1)') -> ('li', 'r0, 0'); 19: ('li', 'r0, 0') -> ('stb', 'r0, 0xd(r1)'); 20: ('stb', 'r0, 0xd(r1)') -> ('li', 'r0, 0'); 21: ('li', 'r0, 0') -> ('stb', 'r0, 0xc(r1)'); 22: ('stb', 'r0, 0xc(r1)') -> ('li', 'r0, 0'); 23: ('li', 'r0, 0') -> ('stb', 'r0, 0xb(r1)'); 24: ('stb', 'r0, 0xb(r1)') -> ('lhz', 'r0, 0x1e(r31)')
Round2 Zi8GetKOcandidates | key table indexed as actual typed records | sha256=c8994c4e8b10 | structural/exact=(19, 602); instructions=667/669; 15: ('li', 'r0, 0') -> ('stb', 'r0, 0x3c(r1)'); 16: ('stb', 'r0, 0x3c(r1)') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stb', 'r0, 0xe(r1)'); 18: ('stb', 'r0, 0xe(r1)') -> ('li', 'r0, 0'); 19: ('li', 'r0, 0') -> ('stb', 'r0, 0xd(r1)'); 20: ('stb', 'r0, 0xd(r1)') -> ('li', 'r0, 0'); 21: ('li', 'r0, 0') -> ('stb', 'r0, 0xc(r1)'); 22: ('stb', 'r0, 0xc(r1)') -> ('li', 'r0, 0'); 23: ('li', 'r0, 0') -> ('stb', 'r0, 0xb(r1)'); 24: ('stb', 'r0, 0xb(r1)') -> ('lhz', 'r0, 0x1e(r31)'); 25: ('lhz', 'r3, 0x1e(r31)') -> ('sth', 'r0, 0x10(r1)'); 26: ('sth', 'r3, 0x10(r1)') -> ('li', 'r0, 0')
Round2 Zi8GetKOcandidates | word offset bitwise association changed | sha256=0e9679e104d6 | structural/exact=(14, 639); instructions=670/669; 15: ('li', 'r0, 0') -> ('stb', 'r0, 0x3c(r1)'); 16: ('stb', 'r0, 0x3c(r1)') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stb', 'r0, 0xe(r1)'); 18: ('stb', 'r0, 0xe(r1)') -> ('li', 'r0, 0'); 19: ('li', 'r0, 0') -> ('stb', 'r0, 0xd(r1)'); 20: ('stb', 'r0, 0xd(r1)') -> ('li', 'r0, 0'); 21: ('li', 'r0, 0') -> ('stb', 'r0, 0xc(r1)'); 22: ('stb', 'r0, 0xc(r1)') -> ('li', 'r0, 0'); 23: ('li', 'r0, 0') -> ('stb', 'r0, 0xb(r1)'); 24: ('stb', 'r0, 0xb(r1)') -> ('lhz', 'r0, 0x1e(r31)'); 25: ('lhz', 'r0, 0x1e(r31)') -> ('sth', 'r0, 0x10(r1)'); 26: ('sth', 'r0, 0x10(r1)') -> ('li', 'r0, 0')
Round2 Zi8GetKOcandidates | candidate append separated from index update | sha256=84b575fea440 | structural/exact=(37, 648); instructions=674/669; 15: ('li', 'r0, 0') -> ('stb', 'r0, 0x3c(r1)'); 16: ('stb', 'r0, 0x3c(r1)') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stb', 'r0, 0xe(r1)'); 18: ('stb', 'r0, 0xe(r1)') -> ('li', 'r0, 0'); 19: ('li', 'r0, 0') -> ('stb', 'r0, 0xd(r1)'); 20: ('stb', 'r0, 0xd(r1)') -> ('li', 'r0, 0'); 21: ('li', 'r0, 0') -> ('stb', 'r0, 0xc(r1)'); 22: ('stb', 'r0, 0xc(r1)') -> ('li', 'r0, 0'); 23: ('li', 'r0, 0') -> ('stb', 'r0, 0xb(r1)'); 24: ('stb', 'r0, 0xb(r1)') -> ('lhz', 'r0, 0x1e(r31)'); 25: ('lhz', 'r0, 0x1e(r31)') -> ('sth', 'r0, 0x10(r1)'); 26: ('sth', 'r0, 0x10(r1)') -> ('li', 'r0, 0')
Round2 Zi8GetKOcandidates | native compact lookup index in scratch struct | sha256=704a01f531d6 | structural/exact=(30, 637); instructions=670/669; 15: ('li', 'r0, 0') -> ('stb', 'r0, 0x3c(r1)'); 16: ('stb', 'r0, 0x3c(r1)') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stb', 'r0, 0xe(r1)'); 18: ('stb', 'r0, 0xe(r1)') -> ('li', 'r0, 0'); 19: ('li', 'r0, 0') -> ('stb', 'r0, 0xd(r1)'); 20: ('stb', 'r0, 0xd(r1)') -> ('li', 'r0, 0'); 21: ('li', 'r0, 0') -> ('stb', 'r0, 0xc(r1)'); 22: ('stb', 'r0, 0xc(r1)') -> ('li', 'r0, 0'); 23: ('li', 'r0, 0') -> ('stb', 'r0, 0xb(r1)'); 24: ('stb', 'r0, 0xb(r1)') -> ('lhz', 'r0, 0x1e(r31)'); 25: ('lhz', 'r0, 0x1e(r31)') -> ('sth', 'r0, 0x10(r1)'); 26: ('sth', 'r0, 0x10(r1)') -> ('li', 'r0, 0')
Round2 Zi8GetKOcandidates: batch 6 successful distinct builds/6 forms, best=(14, 639).
Round2 zko all six open functions revisited with3+ compiled forms each; z5 declaration13 evaluations no gain, z6 structural30 after restored source. Data is .data40/extab56 exact and extabindex84 still differing only code-size words, no real object renames justified.
Round2 keyboard origin fetched source and shared headers unchanged. Target/source frame0x270/318instructions; early inline LinkListNode new-result boundary adds oneMR before constructor, OEM index is really10+i while source advances independent counter; returned MemoSetting byte8 aggregate has three copies in differing stack declaration order. No immediate re-read after stores, volatile not justified. Test read-only bindings/actual array member, temporary const reference and initialization boundary before declaration search.
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap | const buffer pointer object and const allocated link binding | sha256=f2150decc883 | structural/exact=(41, 246); instructions=317/318; 5: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 6: ('lwz', 'r30, 0xa0(r4)') -> ('lwz', 'r29, 0xa0(r4)'); 7: ('lis', 'r27, 0') -> ('lis', 'r31, 0'); 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 11: ('addi', 'r27, r27, 0') -> ('addi', 'r31, r31, 0'); 20: ('mr', 'r4, r30') -> ('mr', 'r4, r29'); 23: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 28: ('mr', 'r31, r3') -> ('mr', 'r30, r3'); 31: ('mr', 'r31, r3') -> ('mr', 'r30, r3'); 32: ('mr', 'r3, r31') -> ('mr', 'r3, r30'); 39: ('lis', 'r30, 0') -> ('lis', 'r29, 0')
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap | read-only dictionary array view | sha256=92fef992b2bc | structural/exact=(54, 300); instructions=312/318; 5: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 6: ('lwz', 'r31, 0xa0(r4)') -> ('lwz', 'r29, 0xa0(r4)'); 7: ('lis', 'r27, 0') -> ('lis', 'r31, 0'); 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 11: ('addi', 'r27, r27, 0') -> ('addi', 'r31, r31, 0'); 15: ('mr', 'r30, r3') -> ('beq', '16'); 16: ('beq', '16') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stw', 'r0, 0(r3)'); 18: ('stw', 'r0, 0(r3)') -> ('stw', 'r0, 4(r3)'); 19: ('stw', 'r0, 4(r3)') -> ('mr', 'r26, r3'); 20: ('mr', 'r3, r30') -> ('mr', 'r4, r29')
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap | dictionary pair indexed through actual OEM array | sha256=95ff9ddc5ba3 | structural/exact=(47, 308); instructions=310/318; 5: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 6: ('lwz', 'r31, 0xa0(r4)') -> ('lwz', 'r29, 0xa0(r4)'); 7: ('lis', 'r27, 0') -> ('lis', 'r31, 0'); 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 11: ('addi', 'r27, r27, 0') -> ('addi', 'r31, r31, 0'); 15: ('mr', 'r30, r3') -> ('beq', '16'); 16: ('beq', '16') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stw', 'r0, 0(r3)'); 18: ('stw', 'r0, 0(r3)') -> ('stw', 'r0, 4(r3)'); 19: ('stw', 'r0, 4(r3)') -> ('mr', 'r26, r3'); 20: ('mr', 'r3, r30') -> ('mr', 'r4, r29')
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap | dictionary index association explicitly native offset | sha256=b13ff6a34738 | structural/exact=(47, 308); instructions=310/318; 5: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 6: ('lwz', 'r31, 0xa0(r4)') -> ('lwz', 'r29, 0xa0(r4)'); 7: ('lis', 'r27, 0') -> ('lis', 'r31, 0'); 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 11: ('addi', 'r27, r27, 0') -> ('addi', 'r31, r31, 0'); 15: ('mr', 'r30, r3') -> ('beq', '16'); 16: ('beq', '16') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stw', 'r0, 0(r3)'); 18: ('stw', 'r0, 0(r3)') -> ('stw', 'r0, 4(r3)'); 19: ('stw', 'r0, 4(r3)') -> ('mr', 'r26, r3'); 20: ('mr', 'r3, r30') -> ('mr', 'r4, r29')
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap | memo returned setting as const lifetime-bound value | sha256=72987b036a33 | structural/exact=(63, 286); instructions=311/318; 5: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 6: ('lwz', 'r31, 0xa0(r4)') -> ('lwz', 'r29, 0xa0(r4)'); 7: ('lis', 'r27, 0') -> ('lis', 'r31, 0'); 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 11: ('addi', 'r27, r27, 0') -> ('addi', 'r31, r31, 0'); 15: ('mr', 'r30, r3') -> ('beq', '16'); 16: ('beq', '16') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stw', 'r0, 0(r3)'); 18: ('stw', 'r0, 0(r3)') -> ('stw', 'r0, 4(r3)'); 19: ('stw', 'r0, 4(r3)') -> ('mr', 'r26, r3'); 20: ('mr', 'r3, r30') -> ('mr', 'r4, r29')
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap | memo returned setting native initialization | sha256=f8c46f3d53ba | structural/exact=(63, 286); instructions=311/318; 5: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 6: ('lwz', 'r31, 0xa0(r4)') -> ('lwz', 'r29, 0xa0(r4)'); 7: ('lis', 'r27, 0') -> ('lis', 'r31, 0'); 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 11: ('addi', 'r27, r27, 0') -> ('addi', 'r31, r31, 0'); 15: ('mr', 'r30, r3') -> ('beq', '16'); 16: ('beq', '16') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stw', 'r0, 0(r3)'); 18: ('stw', 'r0, 0(r3)') -> ('stw', 'r0, 4(r3)'); 19: ('stw', 'r0, 4(r3)') -> ('mr', 'r26, r3'); 20: ('mr', 'r3, r30') -> ('mr', 'r4, r29')
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap | allocation first results owned by inline resource creation helper | sha256=9c1639058155 | structural/exact=(42, 210); instructions=318/318; 5: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 6: ('lwz', 'r31, 0xa0(r4)') -> ('lwz', 'r29, 0xa0(r4)'); 7: ('lis', 'r27, 0') -> ('lis', 'r31, 0'); 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r4, r29') -> ('mr', 'r4, r28'); 11: ('addi', 'r27, r27, 0') -> ('addi', 'r31, r31, 0'); 15: ('mr', 'r30, r3') -> ('beq', '16'); 16: ('beq', '16') -> ('li', 'r0, 0'); 17: ('li', 'r0, 0') -> ('stw', 'r0, 0(r3)'); 18: ('stw', 'r0, 0(r3)') -> ('stw', 'r0, 4(r3)'); 19: ('stw', 'r0, 4(r3)') -> ('mr', 'r26, r3'); 20: ('mr', 'r3, r30') -> ('mr', 'r4, r29')
Round2 create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap: batch 7 successful distinct builds/7 forms, best=(41, 246).
Round2 BS2UpdateInit origin fetched, unchanged and pool55 identical/data10488exact. Structural frame target20/source10,71/72; target anchors all .bss through Flags0, source uses separateFlags1 andThread. Reloc proof targetlis/addi Flags0 then Flags1 offset800, thread1000 and stack2318; target/source .bss real objects identical positions/sizes Flags0(0,800),Flags1(800,800),Thread(1000,1318),headers2320/2340. Source explicit zero initializers can prevent common base grouping; remove redundant initializer forms before frame/register tuning; no type/layout padding or new objects.
Round2 BS2UpdateInit | all update static buffers implicitly zero-initialized | sha256=5d3d29a40ea3 | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | flags and thread implicit initialization | sha256=ef319e0791ef | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | flag arrays implicit initialization | sha256=b3153a682f44 | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | thread stack start passed through named actual array pointer | sha256=a7625f743651 | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | native void pointer allocator const binding | sha256=e2e74408fb91 | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit: batch 5 successful distinct builds/5 forms, best=(19, 65).
Round2 BS2UpdateInit | two flag banks modeled as true parallel table | sha256=f4953347b171 | structural/exact=(20, 52); instructions=72/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | two flag banks explicitly zero-initialized parallel table | sha256=997519f7fc6d | structural/exact=(20, 52); instructions=72/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | typed second-bank pointer retained across thread initialization | sha256=cb9c49b14156 | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit: batch 3 successful distinct builds/3 forms, best=(19, 65).
Round2 UpdateThread origin fetched; target913/source902/framef0 same. Global-base grouping and13cached values differs, import suffix/read/branch scheduling adds11 net target instructions. Test read-only scan scope, cached zero initialization, bounded area calculation and read-result ownership. Init eight meaningful forms no exact gain (parallel flag-bank aggregate experiment restored, no data/config changes); score-only confirms structure20/exact52.
Round2 UpdateThread | read-only disc entries in scanning scopes | sha256=7555f6228a22 | structural/exact=(113, 742); instructions=903/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread | actual output-field zero values initialized from shared selection state | sha256=c854959c2250 | structural/exact=(109, 744); instructions=902/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread | explicit block count after bound check | sha256=a00de633bd91 | structural/exact=(111, 744); instructions=902/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread | DVDRead result consumed through existing signed import status | sha256=50dfbd49764b | structural/exact=(109, 744); instructions=902/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread | missing-file state initialized before update control globals | sha256=841229d91732 | structural/exact=(110, 885); instructions=901/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r21, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 14: ('stw', 'r21, 0(0)') -> ('stw', 'r0, 0(0)'); 15: ('li', 'r20, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r30, 0') -> ('li', 'r17, 0'); 17: ('li', 'r19, 0') -> ('li', 'r30, 0'); 18: ('stw', 'r21, 0(0)') -> ('stw', 'r0, 0(0)')
Round2 UpdateThread: batch 5 successful distinct builds/5 forms, best=(109, 744).
Round2 UpdateThread decisive target proof: d5c stw r3,rc; d60 addi string; d64 lwz r4,rc; no intervening call/write. Same e48→e50; plus reload after BS2Report atd70/e5c and before logging. rc is a genuine import result global; definition-level volatile warranted. Source currentlystatic nonvolatile and cached across report/branch causes six missing reloads. Test actual targetglobal scope and direct import assignment forms.
Round2 UpdateThread | volatile import result proven by target immediate reload | sha256=c27d9de0bdc4 | structural/exact=(97, 745); instructions=904/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread | externally visible volatile import result matching target symbol | sha256=3c8e6e3c2bba | structural/exact=(97, 745); instructions=904/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread | externally visible nonvolatile import result as alias control | sha256=ea5be7c9d930 | structural/exact=(109, 744); instructions=902/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread | volatile result assigned directly from import branch | sha256=fe9af6227641 | structural/exact=(115, 746); instructions=906/913; 5: ('lis', 'r23, 0') -> ('lis', 'r22, 0'); 6: ('lis', 'r22, 0') -> ('lis', 'r21, 0'); 7: ('addi', 'r23, r23, 0') -> ('addi', 'r22, r22, 0'); 8: ('addi', 'r22, r22, 0') -> ('addi', 'r21, r21, 0'); 9: ('addi', 'r3, r23, 0x6e') -> ('addi', 'r3, r22, 0x6e'); 12: ('li', 'r0, 0') -> ('li', 'r15, 0'); 13: ('addi', 'r3, r1, 0x20') -> ('li', 'r0, 0'); 15: ('li', 'r21, 0') -> ('addi', 'r3, r1, 0x20'); 16: ('li', 'r20, 0') -> ('li', 'r17, 0'); 19: ('li', 'r19, 0') -> ('li', 'r18, 0'); 20: ('li', 'r18, 0') -> ('li', 'r19, 0'); 21: ('li', 'r17, 0') -> ('li', 'r20, 0')
Round2 UpdateThread: batch 4 successful distinct builds/4 forms, best=(97, 745).
Round2 BS2UpdateInit | flag buffers external storage grouping control | sha256=d754a3e1f4da | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | thread storage external ownership control | sha256=36e67b3fff77 | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit | flag count enum fields native int type | sha256=5d142fbf1e2c | BUILD FAILED 2/BS2Update.c -o build/43U/src/src/BS2 && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/BS2/BS2Update.d build/43U/src/src/BS2/BS2Update.d ### mwcceppc.exe Compiler: # File: src\BS2\BS2Update.c # ---------------------------- # 418: pFlags = Flags1; # Error: ^ # (10209) illegal implicit conversion from 'int[512]' to # 'unsigned long *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 BS2UpdateInit | thread stack actual pointer evaluated in output helper | sha256=a130a9fa2893 | structural/exact=(19, 65); instructions=71/72; 0: ('stwu', 'r1, -0x10(r1)') -> ('stwu', 'r1, -0x20(r1)'); 2: ('stw', 'r0, 0x14(r1)') -> ('stw', 'r0, 0x24(r1)'); 3: ('stw', 'r31, 0xc(r1)') -> ('addi', 'r11, r1, 0x20'); 4: ('lis', 'r31, 0') -> ('bl', '0'); 5: ('addi', 'r31, r31, 0') -> ('lis', 'r31, 0'); 6: ('stw', 'r30, 8(r1)') -> ('lis', 'r30, 0'); 7: ('mr', 'r30, r3') -> ('addi', 'r31, r31, 0'); 8: ('addi', 'r3, r31, 0') -> ('mr', 'r29, r3'); 9: ('crclr', 'cr1eq') -> ('addi', 'r30, r30, 0'); 10: ('bl', '0') -> ('addi', 'r3, r31, 0'); 11: ('bl', '0') -> ('crclr', 'cr1eq'); 12: ('stw', 'r3, 0(0)') -> ('bl', '0')
Round2 BS2UpdateInit: batch 3 successful distinct builds/4 forms, best=(19, 65).
Round2 BS2Init structural root: targetstack argument is Flags0+0x1318 then +0x1000, while Thread starts0x1000 and actual OSThread size0x318. Current fabricated UpdateThreadData merged genuine thread and stack into one4888byte symbol, so onlytwo static .bss objects referenced byInit and MWCC does not group base; target three real objects Thread,stack,Flags1 use commonBSSanchor. Split actual OSThread and real4096byte stack, preserving exact positions/size/alignment. Config Thread extent currently0x1318 absorbed stack neighbour; if source validates target, correct extent to OSThread0x318 and leave stackbytes unowned per data contract. No padding/dummy object added: stackpassedtoOSCreateThread.
Round2 BS2UpdateInit | real OSThread and independent stack object | sha256=a74c5a173d77 | structural/exact=(3, 3); instructions=72/72; 54: ('addi', 'r6, r30, 0x1358') -> ('addi', 'r6, r30, 0x1318'); 56: ('addi', 'r3, r30, 0x1040') -> ('addi', 'r3, r30, 0x1000'); 64: ('addi', 'r3, r30, 0x1040') -> ('addi', 'r3, r30, 0x1000')
Round2 BS2UpdateInit | OSThread and independent initialized stack | sha256=40360ec7491a | structural/exact=(0, 0); instructions=72/72;
Round2 BS2UpdateInit: batch 2 successful distinct builds/3 forms, best=(0, 0).
Round2 data extent proof BS2Update Thread0x810b2580: OSCreateThread/OSResumeThread pointer has actualOSThread size0x318; independent stack starts0x810b2898 (=bssbase+1318) with4096byte end2318, proven targettwoaddi+1318,+1000. Correct onlyThread extent1318→318, same address/section9056, stackbytes unowned. Initialized real OSThread + ThreadStack independently produced BS2Init72/72 diffs0 (improvement8/10→9/10); original8exact helpers unchanged, pool55identical.
Round2 BS2Init quick GATE PASS9/10/code400/4052/data10488/10488, pool identical, DOLexact, regressions0 forbidden0 readability0. Actual independent thread/stack objects restoredcommonBSSbase and72/72 diffs0; data extent corrected keptBSSsection9056/total10488. Commit readable structural fix now; UpdateThread remainsopen with3+freshcompiledforms, revisit resultvolatile and declaration order after otherownedleaves.
Round2 CHANSVm origin fetched and owned file/headers unchanged (current221/233). Pool125identical/data6904exact. CHANSVmConvertToFloatFromStr target83/83/frame70; only two scheduled instructions swapped: initialized end-pointer store8 vs inputtypecmp3. Inline CHANSVmParseFloat wrongly mutableinput despite read-only access; test const helper parameter, pointer binding and caller condition boundaries.
Round2 CHANSVmConvertToFloatFromStr | read-only parse input object | sha256=08f3842e7fed | structural/exact=(2, 2); instructions=83/83; 16: ('cmplwi', 'r0, 3') -> ('stw', 'r30, 8(r1)'); 17: ('stw', 'r30, 8(r1)') -> ('cmplwi', 'r0, 3')
Round2 CHANSVmConvertToFloatFromStr | const parsed string view inside parse helper | sha256=7163e9791055 | structural/exact=(2, 2); instructions=83/83; 16: ('cmplwi', 'r0, 3') -> ('stw', 'r30, 8(r1)'); 17: ('stw', 'r30, 8(r1)') -> ('cmplwi', 'r0, 3')
Round2 CHANSVmConvertToFloatFromStr | nested result/null parse condition | sha256=03a767b8c651 | structural/exact=(2, 2); instructions=83/83; 16: ('cmplwi', 'r0, 3') -> ('stw', 'r30, 8(r1)'); 17: ('stw', 'r30, 8(r1)') -> ('cmplwi', 'r0, 3')
Round2 CHANSVmConvertToFloatFromStr: batch 3 successful distinct builds/3 forms, best=(2, 2).
Round2 CHANSVmConvertToFloatFromStr | parse input type assignment follows initialized end pointer | sha256=429af9638645 | structural/exact=(2, 3); instructions=83/83; 14: ('li', 'r30, 0') -> ('lbz', 'r0, 8(r28)'); 15: ('stw', 'r30, 8(r1)') -> ('li', 'r30, 0'); 16: ('lbz', 'r0, 8(r28)') -> ('stw', 'r30, 8(r1)')
Round2 CHANSVmConvertToFloatFromStr | native input type cached after pointer initialization | sha256=4df3aac7819d | structural/exact=(2, 3); instructions=83/83; 14: ('li', 'r30, 0') -> ('lbz', 'r0, 8(r28)'); 15: ('stw', 'r30, 8(r1)') -> ('li', 'r30, 0'); 16: ('lbz', 'r0, 8(r28)') -> ('stw', 'r30, 8(r1)')
Round2 CHANSVmConvertToFloatFromStr | initialized end pointer declared before cached type | sha256=65d5dbcb0128 | structural/exact=(2, 3); instructions=83/83; 14: ('li', 'r30, 0') -> ('lbz', 'r0, 8(r28)'); 15: ('stw', 'r30, 8(r1)') -> ('li', 'r30, 0'); 16: ('lbz', 'r0, 8(r28)') -> ('stw', 'r30, 8(r1)')
Round2 CHANSVmConvertToFloatFromStr: batch 3 successful distinct builds/3 forms, best=(2, 3).
Round2 VmDateDtor origin fetched; target91/91 frame80, seven scheduling diffs in snprintf stack-year store and weekday/monthname loads, no type/layout/branch difference. Calendar input/result objectsread-only at formatcall; actual variadic arguments day and month containmutable pointertables. Test constcalendarview, right-argument explicit temporaries and constantpointertabledefinition (data relocation pool must hold).
Round2 VmDateDtor | read-only calendar view for format arguments | sha256=5890ad8cc104 | structural/exact=(33, 84); instructions=98/91; 5: ('lis', 'r29, 0') -> ('lis', 'r31, 0'); 6: ('addi', 'r28, r1, 0x30') -> ('addi', 'r30, r1, 0x30'); 7: ('mr', 'r30, r3') -> ('mr', 'r28, r3'); 8: ('mr', 'r31, r5') -> ('mr', 'r29, r5'); 9: ('mr', 'r3, r28') -> ('mr', 'r3, r30'); 10: ('addi', 'r29, r29, 0') -> ('addi', 'r31, r31, 0'); 14: ('mr', 'r3, r30') -> ('mr', 'r3, r28'); 15: ('mr', 'r4, r28') -> ('mr', 'r4, r30'); 18: ('beq', '264') -> ('beq', '236'); 21: ('blt', '252') -> ('blt', '224'); 23: ('bgt', '244') -> ('bgt', '216'); 24: ('lwz', 'r0, 0x34(r1)') -> ('lwz', 'r10, 0x34(r1)')
Round2 VmDateDtor | month value computed before weekday in format call | sha256=bf4f69063da0 | structural/exact=(5, 7); instructions=91/91; 57: ('addi', 'r4, r31, 0xb34') -> ('addi', 'r3, r31, 0xb50'); 58: ('stw', 'r6, 0xc(r1)') -> ('lwzx', 'r7, r3, r0'); 59: ('addi', 'r3, r31, 0xb50') -> ('addi', 'r4, r31, 0xb34'); 60: ('lwzx', 'r6, r4, r5') -> ('stw', 'r6, 0xc(r1)'); 61: ('addi', 'r5, r31, 0xb80') -> ('addi', 'r3, r1, 0x10'); 62: ('lwzx', 'r7, r3, r0') -> ('lwzx', 'r6, r4, r5'); 63: ('addi', 'r3, r1, 0x10') -> ('addi', 'r5, r31, 0xb80')
Round2 VmDateDtor | month then weekday genuine names | sha256=9dffea3bac3c | structural/exact=(5, 7); instructions=91/91; 57: ('addi', 'r4, r31, 0xb34') -> ('addi', 'r3, r31, 0xb50'); 58: ('stw', 'r6, 0xc(r1)') -> ('lwzx', 'r7, r3, r0'); 59: ('addi', 'r3, r31, 0xb50') -> ('addi', 'r4, r31, 0xb34'); 60: ('lwzx', 'r6, r4, r5') -> ('stw', 'r6, 0xc(r1)'); 61: ('addi', 'r5, r31, 0xb80') -> ('addi', 'r3, r1, 0x10'); 62: ('lwzx', 'r7, r3, r0') -> ('lwzx', 'r6, r4, r5'); 63: ('addi', 'r3, r1, 0x10') -> ('addi', 'r5, r31, 0xb80')
Round2 VmDateDtor | immutable date name table pointer entries | sha256=4b9ea23221ca | structural/exact=(28, 87); instructions=92/91; 5: ('addi', 'r31, r1, 0x30') -> ('lis', 'r31, 0'); 6: ('mr', 'r29, r3') -> ('addi', 'r30, r1, 0x30'); 7: ('mr', 'r30, r5') -> ('mr', 'r28, r3'); 8: ('li', 'r4, 0') -> ('mr', 'r29, r5'); 9: ('mr', 'r3, r31') -> ('mr', 'r3, r30'); 10: ('li', 'r5, 0x28') -> ('addi', 'r31, r31, 0'); 11: ('bl', '0') -> ('li', 'r4, 0'); 12: ('mr', 'r3, r29') -> ('li', 'r5, 0x28'); 13: ('mr', 'r4, r31') -> ('bl', '0'); 14: ('bl', '0') -> ('mr', 'r3, r28'); 15: ('cmpwi', 'r3, 0') -> ('mr', 'r4, r30'); 16: ('beq', '248') -> ('bl', '0')
Round2 VmDateDtor: batch 4 successful distinct builds/4 forms, best=(5, 7).
Round2 VmStringReplace target/source132/frame40 exact structure,40 operands (parameters/live parent/search/replacement buffers and cursors). Read-only byte inputs falsely mutable vmString type; constbyteview and native payload boundary/lengthload order checked before full scalar/pointer declaration search. Source untouched on remote fetch; no volatile/extent issue. Float6forms+13decl builds and Date4forms no exactgain; no retainedchanges.
Round2 VmStringReplace | read-only parent/search/replacement byte views | sha256=aa94c28cf28d | structural/exact=(0, 40); instructions=132/132; 6: ('mr', 'r29, r3') -> ('mr', 'r27, r3'); 8: ('mr', 'r30, r5') -> ('mr', 'r28, r5'); 15: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 18: ('mr', 'r31, r3') -> ('mr', 'r29, r3'); 19: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 23: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 26: ('cmpwi', 'r31, 0') -> ('cmpwi', 'r29, 0'); 30: ('lwz', 'r4, 0(r19)') -> ('lwz', 'r5, 0(r19)'); 31: ('lwz', 'r5, 0(r31)') -> ('lwz', 'r4, 0(r29)'); 32: ('lwz', 'r24, 4(r4)') -> ('lwz', 'r25, 4(r5)'); 34: ('lwz', 'r31, 4(r5)') -> ('lwz', 'r23, 4(r4)'); 35: ('lwz', 'r27, 0(r4)') -> ('lwz', 'r31, 0(r5)')
Round2 VmStringReplace | replacement value read before its byte pointer | sha256=a01cf7e5088a | structural/exact=(2, 41); instructions=132/132; 6: ('mr', 'r29, r3') -> ('mr', 'r27, r3'); 8: ('mr', 'r30, r5') -> ('mr', 'r28, r5'); 15: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 18: ('mr', 'r31, r3') -> ('mr', 'r29, r3'); 19: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 23: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 26: ('cmpwi', 'r31, 0') -> ('cmpwi', 'r29, 0'); 30: ('lwz', 'r4, 0(r19)') -> ('lwz', 'r5, 0(r19)'); 31: ('lwz', 'r5, 0(r31)') -> ('lwz', 'r4, 0(r29)'); 32: ('lwz', 'r24, 4(r4)') -> ('lwz', 'r25, 4(r5)'); 34: ('lwz', 'r31, 4(r5)') -> ('lwz', 'r23, 4(r4)'); 35: ('lwz', 'r27, 0(r4)') -> ('lwz', 'r31, 0(r5)')
Round2 VmStringReplace | parent and argument payload pointers cached explicitly | sha256=19afbc885014 | BUILD FAILED /channelScript && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/channelScript/CHANSVm.d build/43U/src/src/channelScript/CHANSVm.d ### mwcceppc.exe Compiler: # File: src\channelScript\CHANSVm.c # ------------------------------------ # 3101: const vmStringObjVal* parentValue = VmParentObj->value.string_v; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 VmStringReplace | two-pass replacement do loop | sha256=3bf16a71ce35 | structural/exact=(11, 68); instructions=133/132; 6: ('mr', 'r29, r3') -> ('mr', 'r27, r3'); 8: ('mr', 'r30, r5') -> ('mr', 'r28, r5'); 11: ('blt', '432') -> ('blt', '428'); 15: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 18: ('mr', 'r31, r3') -> ('mr', 'r29, r3'); 19: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 23: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 26: ('cmpwi', 'r31, 0') -> ('cmpwi', 'r29, 0'); 27: ('beq', '368') -> ('beq', '364'); 29: ('beq', '360') -> ('beq', '356'); 30: ('lwz', 'r4, 0(r19)') -> ('lwz', 'r5, 0(r19)'); 31: ('lwz', 'r5, 0(r31)') -> ('lwz', 'r4, 0(r29)')
Round2 VmStringReplace: batch 3 successful distinct builds/4 forms, best=(0, 40).
Round2 Replace declaration search180 then211 further evaluations reaches genuine register-only plateau40→28, no exactgain. Restored preexperiment code to keep minimal exact changes. Every4successful bodyforms logged before search.
Round2 VmStringSplit origin refreshed unchanged; target/source222/frame50 aligned,66 register operands,16true locals including addressable arrayCount. Input bytes read-only; test const inputs, delimiter/parent load-order and two-pass loop boundary, before declaration search without reordering addressable object. No symbol overlap or provenvolatile reload.
Round2 VmStringSplit | read-only source and delimiter byte pointers | sha256=72e0cff367ca | structural/exact=(0, 66); instructions=222/222; 6: ('mr', 'r28, r4') -> ('mr', 'r29, r4'); 9: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 17: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 23: ('li', 'r31, -1') -> ('li', 'r30, -1'); 45: ('mr', 'r31, r4') -> ('mr', 'r30, r4'); 47: ('lwz', 'r4, 0(r30)') -> ('lwz', 'r3, 0(r31)'); 48: ('lwz', 'r3, 0(r28)') -> ('lwz', 'r4, 0(r29)'); 49: ('lwz', 'r23, 4(r4)') -> ('lwz', 'r22, 4(r3)'); 50: ('lwz', 'r30, 0(r3)') -> ('lwz', 'r31, 0(r4)'); 51: ('cmpwi', 'r23, 0') -> ('cmpwi', 'r22, 0'); 52: ('lwz', 'r25, 0(r4)') -> ('lwz', 'r21, 0(r3)'); 53: ('lwz', 'r24, 4(r3)') -> ('lwz', 'r24, 4(r4)')
Round2 VmStringSplit | delimiter payload before parent payload addressing | sha256=7a9f5b516bc4 | structural/exact=(0, 76); instructions=222/222; 8: ('mr', 'r28, r3') -> ('mr', 'r27, r3'); 9: ('mr', 'r30, r5') -> ('mr', 'r28, r5'); 13: ('mr', 'r3, r28') -> ('mr', 'r3, r27'); 17: ('mr', 'r27, r3') -> ('mr', 'r31, r3'); 22: ('lwz', 'r3, 0x60(r28)') -> ('lwz', 'r3, 0x60(r27)'); 23: ('li', 'r31, -1') -> ('li', 'r30, -1'); 27: ('mr', 'r3, r28') -> ('mr', 'r3, r27'); 31: ('mr', 'r3, r28') -> ('mr', 'r3, r27'); 45: ('mr', 'r31, r4') -> ('mr', 'r30, r4'); 47: ('lwz', 'r4, 0(r27)') -> ('lwz', 'r3, 0(r31)'); 48: ('lwz', 'r3, 0(r29)') -> ('lwz', 'r4, 0(r29)'); 49: ('lwz', 'r22, 4(r4)') -> ('lwz', 'r22, 4(r3)')
Round2 VmStringSplit | two-pass output uses do loop | sha256=fe795bfbc4a7 | structural/exact=(12, 139); instructions=223/222; 6: ('mr', 'r28, r4') -> ('mr', 'r29, r4'); 9: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 17: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 21: ('b', '500') -> ('b', '496'); 23: ('li', 'r31, -1') -> ('li', 'r30, -1'); 45: ('mr', 'r31, r4') -> ('mr', 'r30, r4'); 46: ('beq', '400') -> ('beq', '396'); 47: ('lwz', 'r4, 0(r30)') -> ('lwz', 'r3, 0(r31)'); 48: ('lwz', 'r3, 0(r28)') -> ('lwz', 'r4, 0(r29)'); 49: ('lwz', 'r22, 4(r4)') -> ('lwz', 'r22, 4(r3)'); 50: ('lwz', 'r30, 0(r3)') -> ('lwz', 'r31, 0(r4)'); 52: ('lwz', 'r24, 0(r4)') -> ('lwz', 'r21, 0(r3)')
Round2 VmStringSplit | element allocation and null guard split | sha256=233a5a3b36c6 | structural/exact=(0, 66); instructions=222/222; 6: ('mr', 'r28, r4') -> ('mr', 'r29, r4'); 9: ('mr', 'r29, r5') -> ('mr', 'r28, r5'); 17: ('mr', 'r30, r3') -> ('mr', 'r31, r3'); 23: ('li', 'r31, -1') -> ('li', 'r30, -1'); 45: ('mr', 'r31, r4') -> ('mr', 'r30, r4'); 47: ('lwz', 'r4, 0(r30)') -> ('lwz', 'r3, 0(r31)'); 48: ('lwz', 'r3, 0(r28)') -> ('lwz', 'r4, 0(r29)'); 49: ('lwz', 'r23, 4(r4)') -> ('lwz', 'r22, 4(r3)'); 50: ('lwz', 'r30, 0(r3)') -> ('lwz', 'r31, 0(r4)'); 51: ('cmpwi', 'r23, 0') -> ('cmpwi', 'r22, 0'); 52: ('lwz', 'r25, 0(r4)') -> ('lwz', 'r21, 0(r3)'); 53: ('lwz', 'r24, 4(r3)') -> ('lwz', 'r24, 4(r4)')
Round2 VmStringSplit: batch 4 successful distinct builds/4 forms, best=(0, 66).
Round2 Split fourcompiledcontextforms, full16-variable declaration search220 improves66→34; structural0 but no exactstate, restoredsource. Addressable arrayCount order remainscorrectinallscalar permutations; no header/otherTU output change.
Round2 CHANSVmFormatString origin fetched unchanged,431/431/frame110; only13 registers exchange isEscaped stringvalue and litLen temporaryobject handles lateinstringformat. Existing pad0[8] is an actual UTF16 character buffer used atchar_body, misleading name/type; model as u16characterData[4] and fields. Other forms read-only formatbytes/native status/typed stringvalue boundary; declaration search last.
Round2 CHANSVmFormatString | actual UTF16 character data instead of misleading pad name | sha256=35e8f3afaf9c | structural/exact=(0, 13); instructions=431/431; 305: ('addi', 'r14, r1, 8') -> ('addi', 'r18, r1, 8'); 306: ('li', 'r18, 0') -> ('li', 'r14, 0'); 328: ('rlwinm', 'r14, r0, 0, 0, 0x1e') -> ('rlwinm', 'r18, r0, 0, 0, 0x1e'); 329: ('addi', 'r7, r14, 2') -> ('addi', 'r7, r18, 2'); 332: ('mr', 'r18, r3') -> ('mr', 'r14, r3'); 335: ('mr', 'r5, r14') -> ('mr', 'r5, r18'); 337: ('lwz', 'r14, 0(r4)') -> ('lwz', 'r18, 0(r4)'); 340: ('mr', 'r3, r14') -> ('mr', 'r3, r18'); 367: ('mr', 'r6, r14') -> ('mr', 'r6, r18'); 371: ('mr', 'r14, r3') -> ('mr', 'r18, r3'); 373: ('cmpwi', 'r18, 0') -> ('cmpwi', 'r14, 0'); 376: ('mr', 'r4, r18') -> ('mr', 'r4, r14')
Round2 CHANSVmFormatString | read-only format input bytes | sha256=374910e7f6e4 | structural/exact=(0, 13); instructions=431/431; 305: ('addi', 'r14, r1, 8') -> ('addi', 'r18, r1, 8'); 306: ('li', 'r18, 0') -> ('li', 'r14, 0'); 328: ('rlwinm', 'r14, r0, 0, 0, 0x1e') -> ('rlwinm', 'r18, r0, 0, 0, 0x1e'); 329: ('addi', 'r7, r14, 2') -> ('addi', 'r7, r18, 2'); 332: ('mr', 'r18, r3') -> ('mr', 'r14, r3'); 335: ('mr', 'r5, r14') -> ('mr', 'r5, r18'); 337: ('lwz', 'r14, 0(r4)') -> ('lwz', 'r18, 0(r4)'); 340: ('mr', 'r3, r14') -> ('mr', 'r3, r18'); 367: ('mr', 'r6, r14') -> ('mr', 'r6, r18'); 371: ('mr', 'r14, r3') -> ('mr', 'r18, r3'); 373: ('cmpwi', 'r18, 0') -> ('cmpwi', 'r14, 0'); 376: ('mr', 'r4, r18') -> ('mr', 'r4, r14')
Round2 CHANSVmFormatString | format cleanup length native signed count | sha256=5aac250ffc0c | structural/exact=(0, 13); instructions=431/431; 305: ('addi', 'r14, r1, 8') -> ('addi', 'r18, r1, 8'); 306: ('li', 'r18, 0') -> ('li', 'r14, 0'); 328: ('rlwinm', 'r14, r0, 0, 0, 0x1e') -> ('rlwinm', 'r18, r0, 0, 0, 0x1e'); 329: ('addi', 'r7, r14, 2') -> ('addi', 'r7, r18, 2'); 332: ('mr', 'r18, r3') -> ('mr', 'r14, r3'); 335: ('mr', 'r5, r14') -> ('mr', 'r5, r18'); 337: ('lwz', 'r14, 0(r4)') -> ('lwz', 'r18, 0(r4)'); 340: ('mr', 'r3, r14') -> ('mr', 'r3, r18'); 367: ('mr', 'r6, r14') -> ('mr', 'r6, r18'); 371: ('mr', 'r14, r3') -> ('mr', 'r18, r3'); 373: ('cmpwi', 'r18, 0') -> ('cmpwi', 'r14, 0'); 376: ('mr', 'r4, r18') -> ('mr', 'r4, r14')
Round2 CHANSVmFormatString | typed string pointer local owns formatting call value | sha256=d56992b899da | BUILD FAILED & "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/channelScript/CHANSVm.d build/43U/src/src/channelScript/CHANSVm.d ### mwcceppc.exe Compiler: # File: src\channelScript\CHANSVm.c # ------------------------------------ # 3681: const void* stringData = (const void*)isEscaped; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 CHANSVmFormatString: batch 3 successful distinct builds/4 forms, best=(0, 13).
Round2 FormatString4compiledforms and130+2decl evaluations unchanged13registers. Swapping twoobviouslength/value scalar declarations alone doesnotalterallocation; source restored, no pad object introduced (originalpad0 actuallyusedcharacter storage).
Round2 VmBlobGetHexString origin fetched unchanged;82/82 frame30,14 operands exchange outputoffset r5/r7 with digitvalue. Source contains parallelidentical counters destOff/i inadditionloopcounter, typedreadonlyinputs checked before trying singlecursor/pointercursor/countdown and innerdeclaration search.
Round2 VmBlobGetHexString | read-only byte/hex table input views | sha256=ddc996824301 | structural/exact=(0, 14); instructions=82/82; 46: ('li', 'r7, 0') -> ('li', 'r4, 0'); 48: ('li', 'r4, 0') -> ('li', 'r5, 0'); 54: ('lbz', 'r5, 0(r6)') -> ('lbz', 'r7, 0(r6)'); 55: ('addi', 'r0, r7, 1') -> ('addi', 'r0, r5, 1'); 57: ('addi', 'r7, r7, 2') -> ('addi', 'r5, r5, 2'); 58: ('rlwinm', 'r5, r5, 0x1c, 0x1c, 0x1f') -> ('rlwinm', 'r7, r7, 0x1c, 0x1c, 0x1f'); 59: ('lbzx', 'r5, r8, r5') -> ('lbzx', 'r7, r8, r7'); 60: ('extsb', 'r5, r5') -> ('extsb', 'r7, r7'); 61: ('sthx', 'r5, r3, r4') -> ('sthx', 'r7, r3, r4'); 63: ('lbz', 'r5, 0(r6)') -> ('lbz', 'r7, 0(r6)'); 65: ('clrlwi', 'r5, r5, 0x1c') -> ('clrlwi', 'r7, r7, 0x1c'); 66: ('lbzx', 'r5, r8, r5') -> ('lbzx', 'r7, r8, r7')
Round2 VmBlobGetHexString | two destination slots owned by a single character cursor | sha256=3b7d7f9e8e5b | structural/exact=(0, 14); instructions=82/82; 46: ('li', 'r7, 0') -> ('li', 'r4, 0'); 48: ('li', 'r4, 0') -> ('li', 'r5, 0'); 54: ('lbz', 'r5, 0(r6)') -> ('lbz', 'r7, 0(r6)'); 55: ('addi', 'r0, r7, 1') -> ('addi', 'r0, r5, 1'); 57: ('addi', 'r7, r7, 2') -> ('addi', 'r5, r5, 2'); 58: ('rlwinm', 'r5, r5, 0x1c, 0x1c, 0x1f') -> ('rlwinm', 'r7, r7, 0x1c, 0x1c, 0x1f'); 59: ('lbzx', 'r5, r8, r5') -> ('lbzx', 'r7, r8, r7'); 60: ('extsb', 'r5, r5') -> ('extsb', 'r7, r7'); 61: ('sthx', 'r5, r3, r4') -> ('sthx', 'r7, r3, r4'); 63: ('lbz', 'r5, 0(r6)') -> ('lbz', 'r7, 0(r6)'); 65: ('clrlwi', 'r5, r5, 0x1c') -> ('clrlwi', 'r7, r7, 0x1c'); 66: ('lbzx', 'r5, r8, r5') -> ('lbzx', 'r7, r8, r7')
Round2 VmBlobGetHexString | hex output as pointer cursor | sha256=ba96984d9ffb | structural/exact=(14, 40); instructions=77/82; 21: ('b', '200') -> ('b', '220'); 34: ('beq', '144') -> ('beq', '164'); 42: ('beq', '112') -> ('beq', '132'); 45: ('lwz', 'r4, 8(r30)') -> ('lwz', 'r6, 8(r30)'); 46: ('lwz', 'r0, 0(r30)') -> ('li', 'r4, 0'); 47: ('lwz', 'r5, 0(0)') -> ('lwz', 'r0, 0(r30)'); 48: ('add', 'r4, r4, r0') -> ('li', 'r5, 0'); 49: ('mtctr', 'r31') -> ('lwz', 'r8, 0(0)'); 50: ('cmplwi', 'r31, 0') -> ('add', 'r6, r6, r0'); 51: ('ble', '56') -> ('mtctr', 'r31'); 52: ('lbz', 'r0, 0(r4)') -> ('cmplwi', 'r31, 0'); 53: ('rlwinm', 'r0, r0, 0x1c, 0x1c, 0x1f') -> ('ble', '68')
Round2 VmBlobGetHexString | loop remaining-byte countdown | sha256=b44396ed09fb | structural/exact=(2, 16); instructions=82/82; 46: ('li', 'r7, 0') -> ('li', 'r4, 0'); 48: ('li', 'r4, 0') -> ('li', 'r5, 0'); 52: ('cmpwi', 'r31, 0') -> ('cmplwi', 'r31, 0'); 53: ('beq', '68') -> ('ble', '68'); 54: ('lbz', 'r5, 0(r6)') -> ('lbz', 'r7, 0(r6)'); 55: ('addi', 'r0, r7, 1') -> ('addi', 'r0, r5, 1'); 57: ('addi', 'r7, r7, 2') -> ('addi', 'r5, r5, 2'); 58: ('rlwinm', 'r5, r5, 0x1c, 0x1c, 0x1f') -> ('rlwinm', 'r7, r7, 0x1c, 0x1c, 0x1f'); 59: ('lbzx', 'r5, r8, r5') -> ('lbzx', 'r7, r8, r7'); 60: ('extsb', 'r5, r5') -> ('extsb', 'r7, r7'); 61: ('sthx', 'r5, r3, r4') -> ('sthx', 'r7, r3, r4'); 63: ('lbz', 'r5, 0(r6)') -> ('lbz', 'r7, 0(r6)')
Round2 VmBlobGetHexString: batch 4 successful distinct builds/4 forms, best=(0, 14).
Round2 CHANSVmFormatString | string temporary object declared before its byte length | sha256=1e11f0cfef40 | structural/exact=(0, 13); instructions=431/431; 305: ('addi', 'r14, r1, 8') -> ('addi', 'r18, r1, 8'); 306: ('li', 'r18, 0') -> ('li', 'r14, 0'); 328: ('rlwinm', 'r14, r0, 0, 0, 0x1e') -> ('rlwinm', 'r18, r0, 0, 0, 0x1e'); 329: ('addi', 'r7, r14, 2') -> ('addi', 'r7, r18, 2'); 332: ('mr', 'r18, r3') -> ('mr', 'r14, r3'); 335: ('mr', 'r5, r14') -> ('mr', 'r5, r18'); 337: ('lwz', 'r14, 0(r4)') -> ('lwz', 'r18, 0(r4)'); 340: ('mr', 'r3, r14') -> ('mr', 'r3, r18'); 367: ('mr', 'r6, r14') -> ('mr', 'r6, r18'); 371: ('mr', 'r14, r3') -> ('mr', 'r18, r3'); 373: ('cmpwi', 'r18, 0') -> ('cmpwi', 'r14, 0'); 376: ('mr', 'r4, r18') -> ('mr', 'r4, r14')
Round2 CHANSVmFormatString | string temporary declared after byte length in same block | sha256=fa71454a401a | structural/exact=(0, 13); instructions=431/431; 305: ('addi', 'r14, r1, 8') -> ('addi', 'r18, r1, 8'); 306: ('li', 'r18, 0') -> ('li', 'r14, 0'); 328: ('rlwinm', 'r14, r0, 0, 0, 0x1e') -> ('rlwinm', 'r18, r0, 0, 0, 0x1e'); 329: ('addi', 'r7, r14, 2') -> ('addi', 'r7, r18, 2'); 332: ('mr', 'r18, r3') -> ('mr', 'r14, r3'); 335: ('mr', 'r5, r14') -> ('mr', 'r5, r18'); 337: ('lwz', 'r14, 0(r4)') -> ('lwz', 'r18, 0(r4)'); 340: ('mr', 'r3, r14') -> ('mr', 'r3, r18'); 367: ('mr', 'r6, r14') -> ('mr', 'r6, r18'); 371: ('mr', 'r14, r3') -> ('mr', 'r18, r3'); 373: ('cmpwi', 'r18, 0') -> ('cmpwi', 'r14, 0'); 376: ('mr', 'r4, r18') -> ('mr', 'r4, r14')
Round2 CHANSVmFormatString | temporary string has a native object-typed cleanup handle | sha256=44c34f32e929 | structural/exact=(0, 13); instructions=431/431; 305: ('addi', 'r14, r1, 8') -> ('addi', 'r18, r1, 8'); 306: ('li', 'r18, 0') -> ('li', 'r14, 0'); 328: ('rlwinm', 'r14, r0, 0, 0, 0x1e') -> ('rlwinm', 'r18, r0, 0, 0, 0x1e'); 329: ('addi', 'r7, r14, 2') -> ('addi', 'r7, r18, 2'); 332: ('mr', 'r18, r3') -> ('mr', 'r14, r3'); 335: ('mr', 'r5, r14') -> ('mr', 'r5, r18'); 337: ('lwz', 'r14, 0(r4)') -> ('lwz', 'r18, 0(r4)'); 340: ('mr', 'r3, r14') -> ('mr', 'r3, r18'); 367: ('mr', 'r6, r14') -> ('mr', 'r6, r18'); 371: ('mr', 'r14, r3') -> ('mr', 'r18, r3'); 373: ('cmpwi', 'r18, 0') -> ('cmpwi', 'r14, 0'); 376: ('mr', 'r4, r18') -> ('mr', 'r4, r14')
Round2 CHANSVmFormatString: batch 3 successful distinct builds/3 forms, best=(0, 13).
Round2 FormatString further structural hypothesis: late two-register exchange actually begins with lexical objLen and nested nObj declarations (not leading litLen/isEscaped variables); test same-block object-before-length, object-after-length and genuine typed object cleanup handle. Hex4compiledforms+52innerdeclaration attempts unchanged14operands; restored.
Round2 VmBlobPackCommon fresh origincheck no changes. Target668/668/frameb0,244 mostlyallocation operands; actual packmodeboolean andconstinputblob/string/cachedobjectgetter boundaries differ. No missing store/reload proof or symboloverlap. Test these source-type/prototype and explicit loadorder forms before27localdeclarationgroup permutation.
Round2 VmBlobPackCommon | boolean packing-mode parameter | sha256=6e27af4a9ba9 | structural/exact=(0, 244); instructions=668/668; 5: ('mr', 'r26, r3') -> ('mr', 'r30, r3'); 8: ('mr', 'r27, r6') -> ('mr', 'r31, r6'); 10: ('mr', 'r31, r3') -> ('mr', 'r21, r3'); 11: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 15: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 20: ('mr', 'r30, r3') -> ('mr', 'r20, r3'); 23: ('srwi', 'r29, r3, 1') -> ('srwi', 'r19, r3, 1'); 24: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 28: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 31: ('cmpwi', 'r30, 0') -> ('cmpwi', 'r20, 0'); 32: ('mr', 'r28, r3') -> ('mr', 'r18, r3'); 36: ('cmpwi', 'r27, 0') -> ('cmpwi', 'r31, 0')
Round2 VmBlobPackCommon | source blobs and string bytes readonly during copy | sha256=0e20fc008740 | BUILD FAILED src/src/channelScript/CHANSVm.d ### mwcceppc.exe Compiler: # File: src\channelScript\CHANSVm.c # ------------------------------------ # 5397: CHANSVmStrCpyToU8FromU16(dest, srcData, charCount); # Error: ^ # (10209) illegal implicit conversion from 'const unsigned char *' to # 'unsigned char *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 VmBlobPackCommon | native signed format length | sha256=2720410dec4e | structural/exact=(0, 244); instructions=668/668; 5: ('mr', 'r26, r3') -> ('mr', 'r30, r3'); 8: ('mr', 'r27, r6') -> ('mr', 'r31, r6'); 10: ('mr', 'r31, r3') -> ('mr', 'r21, r3'); 11: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 15: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 20: ('mr', 'r30, r3') -> ('mr', 'r20, r3'); 23: ('srwi', 'r29, r3, 1') -> ('srwi', 'r19, r3, 1'); 24: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 28: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 31: ('cmpwi', 'r30, 0') -> ('cmpwi', 'r20, 0'); 32: ('mr', 'r28, r3') -> ('mr', 'r18, r3'); 36: ('cmpwi', 'r27, 0') -> ('cmpwi', 'r31, 0')
Round2 VmBlobPackCommon | readonly object header getter prototype | sha256=ced3ca908ad0 | structural/exact=(0, 244); instructions=668/668; 5: ('mr', 'r26, r3') -> ('mr', 'r30, r3'); 8: ('mr', 'r27, r6') -> ('mr', 'r31, r6'); 10: ('mr', 'r31, r3') -> ('mr', 'r21, r3'); 11: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 15: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 20: ('mr', 'r30, r3') -> ('mr', 'r20, r3'); 23: ('srwi', 'r29, r3, 1') -> ('srwi', 'r19, r3, 1'); 24: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 28: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 31: ('cmpwi', 'r30, 0') -> ('cmpwi', 'r20, 0'); 32: ('mr', 'r28, r3') -> ('mr', 'r18, r3'); 36: ('cmpwi', 'r27, 0') -> ('cmpwi', 'r31, 0')
Round2 VmBlobPackCommon | cache actual blob data count before source offset | sha256=49b2dd2afcd3 | structural/exact=(0, 244); instructions=668/668; 5: ('mr', 'r26, r3') -> ('mr', 'r30, r3'); 8: ('mr', 'r27, r6') -> ('mr', 'r31, r6'); 10: ('mr', 'r31, r3') -> ('mr', 'r21, r3'); 11: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 15: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 20: ('mr', 'r30, r3') -> ('mr', 'r20, r3'); 23: ('srwi', 'r29, r3, 1') -> ('srwi', 'r19, r3, 1'); 24: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 28: ('mr', 'r3, r26') -> ('mr', 'r3, r30'); 31: ('cmpwi', 'r30, 0') -> ('cmpwi', 'r20, 0'); 32: ('mr', 'r28, r3') -> ('mr', 'r18, r3'); 36: ('cmpwi', 'r27, 0') -> ('cmpwi', 'r31, 0')
Round2 VmBlobPackCommon: batch 4 successful distinct builds/5 forms, best=(0, 244).
Round2 capacity-error continuation: restored only Pack declaration-search fuzzy best242 versus244; no exact result; quick gate allseven PASS with committed BS2Init gain, regressions0/forbidden0/readability0. Pack140 compiled declaration permutations logged in /tmp/fz1.r2.vm-pack.decl.txt; four distinct successful structural sourceforms also logged, all rejected/no retained VM edits.
Round2 VmBlobUnpack: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 VmBlobUnpack | format string readonly pointer and getter cast | sha256=99071e73b333 | structural/exact=(0, 141); instructions=517/517; 9: ('mr', 'r24, r3') -> ('mr', 'r25, r3'); 17: ('mr', 'r18, r3') -> ('mr', 'r19, r3'); 19: ('mr', 'r23, r3') -> ('mr', 'r21, r3'); 20: ('mr', 'r3, r18') -> ('mr', 'r3, r19'); 22: ('cmpwi', 'r24, 0') -> ('cmpwi', 'r25, 0'); 23: ('srwi', 'r22, r3, 1') -> ('srwi', 'r20, r3, 1'); 25: ('cmpwi', 'r23, 0') -> ('cmpwi', 'r21, 0'); 29: ('lwz', 'r25, 0(r24)') -> ('lwz', 'r23, 0(r25)'); 30: ('li', 'r26, 0') -> ('li', 'r22, 0'); 35: ('mr', 'r7, r23') -> ('mr', 'r7, r21'); 36: ('mr', 'r8, r22') -> ('mr', 'r8, r20'); 66: ('lwz', 'r0, 4(r24)') -> ('lwz', 'r0, 4(r25)')
Round2 VmBlobUnpack | packing parser signed counts explicitly decoded from unsigned field | sha256=becb7a7f45ca | structural/exact=(1, 142); instructions=517/517; 9: ('mr', 'r24, r3') -> ('mr', 'r25, r3'); 17: ('mr', 'r18, r3') -> ('mr', 'r19, r3'); 19: ('mr', 'r23, r3') -> ('mr', 'r21, r3'); 20: ('mr', 'r3, r18') -> ('mr', 'r3, r19'); 22: ('cmpwi', 'r24, 0') -> ('cmpwi', 'r25, 0'); 23: ('srwi', 'r22, r3, 1') -> ('srwi', 'r20, r3, 1'); 25: ('cmpwi', 'r23, 0') -> ('cmpwi', 'r21, 0'); 29: ('lwz', 'r25, 0(r24)') -> ('lwz', 'r23, 0(r25)'); 30: ('li', 'r26, 0') -> ('li', 'r22, 0'); 35: ('mr', 'r7, r23') -> ('mr', 'r7, r21'); 36: ('mr', 'r8, r22') -> ('mr', 'r8, r20'); 66: ('lwz', 'r0, 4(r24)') -> ('lwz', 'r0, 4(r25)')
Round2 VmBlobUnpack | native signed inner iteration index | sha256=2f000b72e0e3 | structural/exact=(1, 141); instructions=517/517; 9: ('mr', 'r24, r3') -> ('mr', 'r25, r3'); 17: ('mr', 'r18, r3') -> ('mr', 'r19, r3'); 19: ('mr', 'r23, r3') -> ('mr', 'r21, r3'); 20: ('mr', 'r3, r18') -> ('mr', 'r3, r19'); 22: ('cmpwi', 'r24, 0') -> ('cmpwi', 'r25, 0'); 23: ('srwi', 'r22, r3, 1') -> ('srwi', 'r20, r3, 1'); 25: ('cmpwi', 'r23, 0') -> ('cmpwi', 'r21, 0'); 29: ('lwz', 'r25, 0(r24)') -> ('lwz', 'r23, 0(r25)'); 30: ('li', 'r26, 0') -> ('li', 'r22, 0'); 35: ('mr', 'r7, r23') -> ('mr', 'r7, r21'); 36: ('mr', 'r8, r22') -> ('mr', 'r8, r20'); 66: ('lwz', 'r0, 4(r24)') -> ('lwz', 'r0, 4(r25)')
Round2 VmBlobUnpack | unpack storage initialized through native 64-bit word | sha256=b240d8ab078b | structural/exact=(0, 141); instructions=517/517; 9: ('mr', 'r24, r3') -> ('mr', 'r25, r3'); 17: ('mr', 'r18, r3') -> ('mr', 'r19, r3'); 19: ('mr', 'r23, r3') -> ('mr', 'r21, r3'); 20: ('mr', 'r3, r18') -> ('mr', 'r3, r19'); 22: ('cmpwi', 'r24, 0') -> ('cmpwi', 'r25, 0'); 23: ('srwi', 'r22, r3, 1') -> ('srwi', 'r20, r3, 1'); 25: ('cmpwi', 'r23, 0') -> ('cmpwi', 'r21, 0'); 29: ('lwz', 'r25, 0(r24)') -> ('lwz', 'r23, 0(r25)'); 30: ('li', 'r26, 0') -> ('li', 'r22, 0'); 35: ('mr', 'r7, r23') -> ('mr', 'r7, r21'); 36: ('mr', 'r8, r22') -> ('mr', 'r8, r20'); 66: ('lwz', 'r0, 4(r24)') -> ('lwz', 'r0, 4(r25)')
Round2 VmBlobUnpack | cursor-count initialization chain | sha256=c705da6cafe9 | structural/exact=(0, 141); instructions=517/517; 9: ('mr', 'r24, r3') -> ('mr', 'r25, r3'); 17: ('mr', 'r18, r3') -> ('mr', 'r19, r3'); 19: ('mr', 'r23, r3') -> ('mr', 'r21, r3'); 20: ('mr', 'r3, r18') -> ('mr', 'r3, r19'); 22: ('cmpwi', 'r24, 0') -> ('cmpwi', 'r25, 0'); 23: ('srwi', 'r22, r3, 1') -> ('srwi', 'r20, r3, 1'); 25: ('cmpwi', 'r23, 0') -> ('cmpwi', 'r21, 0'); 29: ('lwz', 'r25, 0(r24)') -> ('lwz', 'r23, 0(r25)'); 30: ('li', 'r26, 0') -> ('li', 'r22, 0'); 35: ('mr', 'r7, r23') -> ('mr', 'r7, r21'); 36: ('mr', 'r8, r22') -> ('mr', 'r8, r20'); 66: ('lwz', 'r0, 4(r24)') -> ('lwz', 'r0, 4(r25)')
Round2 VmBlobUnpack: batch 5 successful distinct builds/5 forms, best=(0, 141).
Round2 VmBlobUnpack structural check: frame/count aligned517, 141 allocation operands across two format passes; blob itself mutated (offset advances), cannot make whole object const. Tested readonly format, unsigned parser output/signed decode, native signed iterator, 64-bit storage init and counter chain before100decl trials. DS improved only127operands, no exact, restored.
Round2 VmWinEmuWrite: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 VmWinEmuWrite | conversion object readonly binding | sha256=341758d05b4c | structural/exact=(0, 5); instructions=67/67; 13: ('mr', 'r29, r3') -> ('mr', 'r27, r3'); 23: ('rlwinm', 'r27, r0, 0, 0, 0x1e') -> ('rlwinm', 'r29, r0, 0, 0, 0x1e'); 25: ('subf', 'r3, r28, r27') -> ('subf', 'r3, r28, r29'); 36: ('lwz', 'r5, 0(r29)') -> ('lwz', 'r5, 0(r27)'); 58: ('cmplw', 'r28, r27') -> ('cmplw', 'r28, r29')
Round2 VmWinEmuWrite | constant string payload cached separately | sha256=5631775d8bae | structural/exact=(6, 54); instructions=65/67; 13: ('beq', '180') -> ('mr', 'r27, r3'); 14: ('lbz', 'r0, 8(r3)') -> ('beq', '184'); 15: ('cmplwi', 'r0, 3') -> ('lbz', 'r0, 8(r3)'); 16: ('bne', '168') -> ('cmplwi', 'r0, 3'); 17: ('lwz', 'r29, 0(r3)') -> ('bne', '172'); 18: ('li', 'r28, 0') -> ('lwz', 'r3, 0(r3)'); 19: ('li', 'r30, 0x80') -> ('li', 'r28, 0'); 20: ('li', 'r31, 0') -> ('li', 'r30, 0x80'); 21: ('lwz', 'r0, 4(r29)') -> ('li', 'r31, 0'); 22: ('rlwinm', 'r27, r0, 0, 0, 0x1e') -> ('lwz', 'r0, 4(r3)'); 23: ('b', '132') -> ('rlwinm', 'r29, r0, 0, 0, 0x1e'); 24: ('subf', 'r3, r28, r27') -> ('b', '136')
Round2 VmWinEmuWrite | length loop checked before offset initialization | sha256=f9fe5d39bf08 | structural/exact=(0, 5); instructions=67/67; 13: ('mr', 'r29, r3') -> ('mr', 'r27, r3'); 23: ('rlwinm', 'r27, r0, 0, 0, 0x1e') -> ('rlwinm', 'r29, r0, 0, 0, 0x1e'); 25: ('subf', 'r3, r28, r27') -> ('subf', 'r3, r28, r29'); 36: ('lwz', 'r5, 0(r29)') -> ('lwz', 'r5, 0(r27)'); 58: ('cmplw', 'r28, r27') -> ('cmplw', 'r28, r29')
Round2 VmWinEmuWrite | data pointer advances typed UTF16 cursor | sha256=ee4e6b0fdc48 | structural/exact=(11, 47); instructions=66/67; 13: ('beq', '184') -> ('mr', 'r27, r3'); 14: ('lbz', 'r0, 8(r3)') -> ('beq', '184'); 15: ('cmplwi', 'r0, 3') -> ('lbz', 'r0, 8(r3)'); 16: ('bne', '172') -> ('cmplwi', 'r0, 3'); 17: ('lwz', 'r3, 0(r3)') -> ('bne', '172'); 18: ('li', 'r29, 0') -> ('lwz', 'r3, 0(r3)'); 19: ('li', 'r30, 0x80') -> ('li', 'r28, 0'); 20: ('li', 'r31, 0') -> ('li', 'r30, 0x80'); 21: ('lwz', 'r0, 4(r3)') -> ('li', 'r31, 0'); 22: ('lwz', 'r27, 0(r3)') -> ('lwz', 'r0, 4(r3)'); 23: ('rlwinm', 'r28, r0, 0, 0, 0x1e') -> ('rlwinm', 'r29, r0, 0, 0, 0x1e'); 24: ('b', '132') -> ('b', '136')
Round2 VmWinEmuWrite: batch 4 successful distinct builds/4 forms, best=(0, 5).
Round2 VmWinEmuWrite structural frame/count67aligned, only five object/length register differences. Readonly inputobject/payload, loadorder and typedcursor forms before three-leading-local permutation; no forced reload or frame-layout evidence.
Round2 CHANSVmAddExe: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 CHANSVmAddExe | third argument actual module type word instead of context pointer | sha256=8c716defbed6 | structural/exact=(0, 16); instructions=254/254; 5: ('lwz', 'r29, 0x28(r3)') -> ('lwz', 'r27, 0x28(r3)'); 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 9: ('lwz', 'r28, 8(r29)') -> ('lwz', 'r28, 8(r27)'); 10: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 21: ('lbz', 'r0, 0xc(r29)') -> ('lbz', 'r0, 0xc(r27)'); 22: ('cmplw', 'r0, r27') -> ('cmplw', 'r0, r29'); 26: ('lbz', 'r0, 4(r29)') -> ('lbz', 'r0, 4(r27)'); 40: ('addi', 'r31, r29, 0x20') -> ('addi', 'r31, r27, 0x20'); 43: ('stw', 'r3, 0x20(r29)') -> ('stw', 'r3, 0x20(r27)'); 44: ('stw', 'r0, 0x24(r29)') -> ('stw', 'r0, 0x24(r27)'); 45: ('stw', 'r29, 0x28(r29)') -> ('stw', 'r27, 0x28(r27)'); 46: ('lwz', 'r0, 0x30(r29)') -> ('lwz', 'r0, 0x30(r27)')
Round2 CHANSVmAddExe | module header input readonly view until executable conversion | sha256=9a8d8a908d48 | structural/exact=(0, 16); instructions=254/254; 5: ('lwz', 'r29, 0x28(r3)') -> ('lwz', 'r27, 0x28(r3)'); 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 9: ('lwz', 'r28, 8(r29)') -> ('lwz', 'r28, 8(r27)'); 10: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 21: ('lbz', 'r0, 0xc(r29)') -> ('lbz', 'r0, 0xc(r27)'); 22: ('cmplw', 'r0, r27') -> ('cmplw', 'r0, r29'); 26: ('lbz', 'r0, 4(r29)') -> ('lbz', 'r0, 4(r27)'); 40: ('addi', 'r31, r29, 0x20') -> ('addi', 'r31, r27, 0x20'); 43: ('stw', 'r3, 0x20(r29)') -> ('stw', 'r3, 0x20(r27)'); 44: ('stw', 'r0, 0x24(r29)') -> ('stw', 'r0, 0x24(r27)'); 45: ('stw', 'r29, 0x28(r29)') -> ('stw', 'r27, 0x28(r27)'); 46: ('lwz', 'r0, 0x30(r29)') -> ('lwz', 'r0, 0x30(r27)')
Round2 CHANSVmAddExe | module begins through actual trailing member | sha256=3e2759673a29 | structural/exact=(7, 26); instructions=254/254; 5: ('lwz', 'r29, 0x28(r3)') -> ('lwz', 'r27, 0x28(r3)'); 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 9: ('lwz', 'r31, 8(r29)') -> ('lwz', 'r28, 8(r27)'); 10: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 15: ('cmplwi', 'r31, 0x80') -> ('cmplwi', 'r28, 0x80'); 17: ('clrlwi.', 'r0, r31, 0x1b') -> ('clrlwi.', 'r0, r28, 0x1b'); 21: ('lbz', 'r0, 0xc(r29)') -> ('lbz', 'r0, 0xc(r27)'); 22: ('cmplw', 'r0, r27') -> ('cmplw', 'r0, r29'); 26: ('lbz', 'r0, 4(r29)') -> ('lbz', 'r0, 4(r27)'); 33: ('cmplw', 'r3, r31') -> ('cmplw', 'r3, r28'); 38: ('addi', 'r0, r31, -0x20') -> ('li', 'r3, 0'); 39: ('li', 'r3, 0') -> ('addi', 'r0, r28, -0x20')
Round2 CHANSVmAddExe | instruction image type readonly incoming context binding | sha256=404541f37563 | BUILD FAILED File: src\channelScript\CHANSVm.c # ------------------------------------ # 6277: CHANSVmAddExe(CHANSVm* vm, vmS32 unk0, const CHANSVm* execCtx) { # Error: ^ # (10563) identifier 'CHANSVmAddExe(struct CHANSVm *, long, struct CHANSVm # *)' redeclared as 'long (struct CHANSVm *, long, const struct CHANSVm *)' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 CHANSVmAddExe | method address association name plus table base first | sha256=b52274aa9f42 | structural/exact=(14, 85); instructions=253/254; 5: ('lwz', 'r29, 0x28(r3)') -> ('lwz', 'r27, 0x28(r3)'); 7: ('mr', 'r27, r5') -> ('mr', 'r29, r5'); 9: ('lwz', 'r28, 8(r29)') -> ('lwz', 'r28, 8(r27)'); 10: ('mr', 'r3, r29') -> ('mr', 'r3, r27'); 20: ('b', '908') -> ('b', '912'); 21: ('lbz', 'r0, 0xc(r29)') -> ('lbz', 'r0, 0xc(r27)'); 22: ('cmplw', 'r0, r27') -> ('cmplw', 'r0, r29'); 25: ('b', '888') -> ('b', '892'); 26: ('lbz', 'r0, 4(r29)') -> ('lbz', 'r0, 4(r27)'); 30: ('b', '868') -> ('b', '872'); 36: ('b', '844') -> ('b', '848'); 40: ('addi', 'r31, r29, 0x20') -> ('addi', 'r31, r27, 0x20')
Round2 CHANSVmAddExe: batch 4 successful distinct builds/5 forms, best=(0, 16).
Round2 CHANSVmAddExe: actual third input is module type word (only compared to ModuleHeader.type), tested TU-guarded corrected prototype, readonly header/context, real trailing member boundary and address association. Four successful sourceforms, one const-pointer prototype conflicting build excluded. Target254aligned/frame30 only16 operands; DS52real declaration permutations no gain, restored all source/header.
Round2 CHANSVmLinkModules: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 CHANSVmLinkModules | dispatch table readonly input view | sha256=f6487c020611 | structural/exact=(0, 43); instructions=189/189; 13: ('lwz', 'r25, 0x18(r3)') -> ('lwz', 'r23, 0x18(r3)'); 22: ('stw', 'r25, 4(r3)') -> ('stw', 'r23, 4(r3)'); 23: ('lwz', 'r27, 0x40(r25)') -> ('lwz', 'r25, 0x40(r23)'); 24: ('lwz', 'r23, 0x38(r22)') -> ('lwz', 'r26, 0x38(r22)'); 26: ('li', 'r26, 0') -> ('li', 'r27, 0'); 30: ('lwz', 'r5, 0x14(r23)') -> ('lwz', 'r5, 0x14(r26)'); 31: ('lwzx', 'r6, r27, r21') -> ('lwzx', 'r6, r25, r21'); 35: ('lwz', 'r0, 4(r25)') -> ('lwz', 'r0, 4(r23)'); 36: ('add', 'r4, r27, r3') -> ('add', 'r4, r25, r3'); 38: ('add', 'r0, r25, r0') -> ('add', 'r0, r23, r0'); 44: ('addi', 'r3, r23, 0x18') -> ('addi', 'r3, r26, 0x18'); 48: ('lwz', 'r0, 0x18(r25)') -> ('lwz', 'r0, 0x18(r23)')
Round2 CHANSVmLinkModules | entry copied with constant ownership | sha256=6a95dd865434 | structural/exact=(0, 43); instructions=189/189; 13: ('lwz', 'r25, 0x18(r3)') -> ('lwz', 'r23, 0x18(r3)'); 22: ('stw', 'r25, 4(r3)') -> ('stw', 'r23, 4(r3)'); 23: ('lwz', 'r27, 0x40(r25)') -> ('lwz', 'r25, 0x40(r23)'); 24: ('lwz', 'r23, 0x38(r22)') -> ('lwz', 'r26, 0x38(r22)'); 26: ('li', 'r26, 0') -> ('li', 'r27, 0'); 30: ('lwz', 'r5, 0x14(r23)') -> ('lwz', 'r5, 0x14(r26)'); 31: ('lwzx', 'r6, r27, r21') -> ('lwzx', 'r6, r25, r21'); 35: ('lwz', 'r0, 4(r25)') -> ('lwz', 'r0, 4(r23)'); 36: ('add', 'r4, r27, r3') -> ('add', 'r4, r25, r3'); 38: ('add', 'r0, r25, r0') -> ('add', 'r0, r23, r0'); 44: ('addi', 'r3, r23, 0x18') -> ('addi', 'r3, r26, 0x18'); 48: ('lwz', 'r0, 0x18(r25)') -> ('lwz', 'r0, 0x18(r23)')
Round2 CHANSVmLinkModules | entry inspected through readonly pointer | sha256=ceeb13825353 | structural/exact=(8, 52); instructions=189/189; 13: ('lwz', 'r25, 0x18(r3)') -> ('lwz', 'r23, 0x18(r3)'); 22: ('stw', 'r25, 4(r3)') -> ('stw', 'r23, 4(r3)'); 23: ('lwz', 'r27, 0x40(r25)') -> ('lwz', 'r25, 0x40(r23)'); 24: ('lwz', 'r23, 0x38(r22)') -> ('lwz', 'r26, 0x38(r22)'); 26: ('li', 'r26, 0') -> ('li', 'r27, 0'); 30: ('lwz', 'r5, 0x14(r23)') -> ('lwz', 'r5, 0x14(r26)'); 31: ('cmpwi', 'r5, 0') -> ('lwzx', 'r6, r25, r21'); 32: ('beq', '116') -> ('cmpwi', 'r5, 0'); 33: ('lwzx', 'r6, r27, r21') -> ('beq', '112'); 34: ('lwz', 'r0, 4(r25)') -> ('clrlwi', 'r3, r6, 8'); 35: ('clrlwi', 'r3, r6, 8') -> ('lwz', 'r0, 4(r23)'); 36: ('add', 'r4, r27, r3') -> ('add', 'r4, r25, r3')
Round2 CHANSVmLinkModules | module index native signed count | sha256=c16a928e5687 | structural/exact=(1, 44); instructions=189/189; 13: ('lwz', 'r25, 0x18(r3)') -> ('lwz', 'r23, 0x18(r3)'); 22: ('stw', 'r25, 4(r3)') -> ('stw', 'r23, 4(r3)'); 23: ('lwz', 'r27, 0x40(r25)') -> ('lwz', 'r25, 0x40(r23)'); 24: ('lwz', 'r23, 0x38(r22)') -> ('lwz', 'r26, 0x38(r22)'); 26: ('li', 'r26, 0') -> ('li', 'r27, 0'); 30: ('lwz', 'r5, 0x14(r23)') -> ('lwz', 'r5, 0x14(r26)'); 31: ('lwzx', 'r6, r27, r21') -> ('lwzx', 'r6, r25, r21'); 35: ('lwz', 'r0, 4(r25)') -> ('lwz', 'r0, 4(r23)'); 36: ('add', 'r4, r27, r3') -> ('add', 'r4, r25, r3'); 38: ('add', 'r0, r25, r0') -> ('add', 'r0, r23, r0'); 44: ('addi', 'r3, r23, 0x18') -> ('addi', 'r3, r26, 0x18'); 48: ('lwz', 'r0, 0x18(r25)') -> ('lwz', 'r0, 0x18(r23)')
Round2 CHANSVmLinkModules: batch 4 successful distinct builds/4 forms, best=(0, 43).
Round2 CHANSVmLinkModules structural diagnosis:189/189frame30 aligned,43 allocation operands. DispatchEntry8-byte temporary is not reloaded after a self store; target single direct field loads, no volatility proof. Read-only table/value/pointer entry boundary and signed loop count before real local declaration search.
Round2 CHANSVmStep: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 CHANSVmStep: target1253instructions/framef0, source count aligned but default step branch incorrectly modeled as branchless +=(count==0), loop target first jumps to cmp/countpostdecrement at1237 rather than source do/count!=1. Test real branch/default and top-tested loop forms before scalar register declarations.
Round2 LinkModules four structural forms+13decl builds no exact, restored; no source/header retained.
Round2 CHANSVmStep | default step count explicit branch | sha256=b4399d1d991c | structural/exact=(60, 1229); instructions=1254/1253; 12: ('lis', 'r27, 0') -> ('lis', 'r28, 0'); 15: ('addi', 'r27, r27, 0') -> ('addi', 'r28, r28, 0'); 22: ('lis', 'r31, 0') -> ('lfd', 'f31, 0(0)'); 23: ('lfd', 'f31, 0(0)') -> ('addi', 'r24, r1, 0x30'); 25: ('addi', 'r28, r1, 0x30') -> ('li', 'r29, 0'); 26: ('addi', 'r31, r31, 0') -> ('li', 'r30, -2'); 27: ('li', 'r29, 0') -> ('b', '4840'); 28: ('li', 'r30, -2') -> ('lbz', 'r0, 0x4d(r15)'); 29: ('lbz', 'r0, 0x4d(r15)') -> ('cmpwi', 'r0, 0'); 30: ('cmpwi', 'r0, 0') -> ('beq', '32'); 31: ('beq', '32') -> ('lbz', 'r0, 0x4e(r15)'); 32: ('lbz', 'r0, 0x4e(r15)') -> ('cmpwi', 'r0, 0')
Round2 CHANSVmStep | step loop has precondition and post decrement | sha256=0346de841d6e | structural/exact=(60, 1229); instructions=1255/1253; 12: ('lis', 'r27, 0') -> ('lis', 'r28, 0'); 15: ('addi', 'r27, r27, 0') -> ('addi', 'r28, r28, 0'); 22: ('lis', 'r31, 0') -> ('lfd', 'f31, 0(0)'); 23: ('lfd', 'f31, 0(0)') -> ('addi', 'r24, r1, 0x30'); 25: ('addi', 'r28, r1, 0x30') -> ('li', 'r29, 0'); 26: ('addi', 'r31, r31, 0') -> ('li', 'r30, -2'); 27: ('li', 'r29, 0') -> ('b', '4840'); 28: ('li', 'r30, -2') -> ('lbz', 'r0, 0x4d(r15)'); 29: ('b', '4844') -> ('cmpwi', 'r0, 0'); 30: ('lbz', 'r0, 0x4d(r15)') -> ('beq', '32'); 31: ('cmpwi', 'r0, 0') -> ('lbz', 'r0, 0x4e(r15)'); 32: ('beq', '32') -> ('cmpwi', 'r0, 0')
Round2 CHANSVmStep | step count and top tested loop use positive bound | sha256=6e6bf40c3894 | structural/exact=(61, 1229); instructions=1255/1253; 12: ('lis', 'r27, 0') -> ('lis', 'r28, 0'); 15: ('addi', 'r27, r27, 0') -> ('addi', 'r28, r28, 0'); 22: ('lis', 'r31, 0') -> ('lfd', 'f31, 0(0)'); 23: ('lfd', 'f31, 0(0)') -> ('addi', 'r24, r1, 0x30'); 25: ('addi', 'r28, r1, 0x30') -> ('li', 'r29, 0'); 26: ('addi', 'r31, r31, 0') -> ('li', 'r30, -2'); 27: ('li', 'r29, 0') -> ('b', '4840'); 28: ('li', 'r30, -2') -> ('lbz', 'r0, 0x4d(r15)'); 29: ('b', '4844') -> ('cmpwi', 'r0, 0'); 30: ('lbz', 'r0, 0x4d(r15)') -> ('beq', '32'); 31: ('cmpwi', 'r0, 0') -> ('lbz', 'r0, 0x4e(r15)'); 32: ('beq', '32') -> ('cmpwi', 'r0, 0')
Round2 CHANSVmStep | step default branch and top checked post decrement | sha256=1b0ecff39694 | structural/exact=(57, 1229); instructions=1255/1253; 12: ('lis', 'r27, 0') -> ('lis', 'r28, 0'); 15: ('addi', 'r27, r27, 0') -> ('addi', 'r28, r28, 0'); 22: ('lis', 'r31, 0') -> ('lfd', 'f31, 0(0)'); 23: ('lfd', 'f31, 0(0)') -> ('addi', 'r24, r1, 0x30'); 25: ('addi', 'r28, r1, 0x30') -> ('li', 'r29, 0'); 26: ('addi', 'r31, r31, 0') -> ('li', 'r30, -2'); 27: ('li', 'r29, 0') -> ('b', '4840'); 28: ('li', 'r30, -2') -> ('lbz', 'r0, 0x4d(r15)'); 29: ('b', '4840') -> ('cmpwi', 'r0, 0'); 30: ('lbz', 'r0, 0x4d(r15)') -> ('beq', '32'); 31: ('cmpwi', 'r0, 0') -> ('lbz', 'r0, 0x4e(r15)'); 32: ('beq', '32') -> ('cmpwi', 'r0, 0')
Round2 CHANSVmStep | scratch operand initialization precedes default branch | sha256=a2a8f3fb20b4 | structural/exact=(68, 1238); instructions=1254/1253; 11: ('lis', 'r27, 0') -> ('cmpwi', 'r4, 0'); 12: ('mr', 'r15, r3') -> ('lis', 'r28, 0'); 13: ('mr', 'r16, r4') -> ('mr', 'r15, r3'); 14: ('addi', 'r3, r1, 0x60') -> ('mr', 'r16, r4'); 15: ('addi', 'r27, r27, 0') -> ('addi', 'r28, r28, 0'); 16: ('li', 'r4, 0') -> ('bne', '8'); 17: ('li', 'r5, 0x10') -> ('li', 'r16, 1'); 18: ('bl', '0') -> ('addi', 'r3, r1, 0x60'); 19: ('cmpwi', 'r16, 0') -> ('li', 'r4, 0'); 20: ('bne', '8') -> ('li', 'r5, 0x10'); 21: ('li', 'r16, 1') -> ('bl', '0'); 22: ('lis', 'r31, 0') -> ('lfd', 'f31, 0(0)')
Round2 CHANSVmStep: batch 5 successful distinct builds/5 forms, best=(57, 1229).
Round2 CHANSVmStep five successfully built branch/loop forms +13declaration swaps did not produce exact (structural57best vs baseline65; frameunchanged, loop entry and floatconstant base remain); original restored. VM twelve remainingfunctions all have>=3successfully built distinct sourceform attempts this round.
Round2 Run: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 Run target43instructions/no frame, source11: target handoff explicitly wipes r0,r2,r3,r5,r7..r31,sp, setsLRtoentry and CTRcacheline loop with dcbz/dcbf. Targetfunctionsize0xac ends exactlynext symbol. StandardC cannot encode fixed-register reset/stackzero or directLRhandoff under noasm/register rule; test native operand order/loop/callback boundaries, preserve real function. Pool112identical first.
Round2 Run | cache zero/flush effective-address operands in native order | sha256=12fddd98dd1b | BUILD FAILED src/BS2/BS2Mach.c -o build/43U/src/src/BS2 && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/BS2/BS2Mach.d build/43U/src/src/BS2/BS2Mach.d ### mwcceppc.exe Compiler: # File: src\BS2\BS2Mach.c # -------------------------- # 247: __dcbz(0, block); # Error: ^ # (10209) illegal implicit conversion from 'unsigned char *' to # 'int' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 Run | counted while loop with explicit block decrement | sha256=74b86955990e | structural/exact=(40, 42); instructions=11/43; 1: ('cmpwi', 'r5, 0') -> ('mtlr', 'r3'); 2: ('beq', '20') -> ('li', 'r0, 0'); 3: ('dcbz', '0, r4') -> ('li', 'r2, 0'); 4: ('dcbf', '0, r4') -> ('li', 'r3, 0'); 5: ('addi', 'r4, r4, 0x20') -> ('li', 'r5, 0'); 6: ('bdnz', '-12') -> ('li', 'r7, 0'); 7: ('mr', 'r12, r3') -> ('li', 'r8, 0'); 8: ('mr', 'r3, r6') -> ('li', 'r9, 0'); 9: ('mtctr', 'r12') -> ('li', 'r10, 0'); 10: ('bctr', '') -> ('li', 'r11, 0')
Round2 Run | entry point cached as real typed callback | sha256=1b3e7d53e350 | structural/exact=(40, 42); instructions=11/43; 1: ('cmpwi', 'r5, 0') -> ('mtlr', 'r3'); 2: ('beq', '20') -> ('li', 'r0, 0'); 3: ('dcbz', '0, r4') -> ('li', 'r2, 0'); 4: ('dcbf', '0, r4') -> ('li', 'r3, 0'); 5: ('addi', 'r4, r4, 0x20') -> ('li', 'r5, 0'); 6: ('bdnz', '-12') -> ('li', 'r7, 0'); 7: ('mr', 'r12, r3') -> ('li', 'r8, 0'); 8: ('mr', 'r3, r6') -> ('li', 'r9, 0'); 9: ('mtctr', 'r12') -> ('li', 'r10, 0'); 10: ('bctr', '') -> ('li', 'r11, 0')
Round2 Run | cache-line cursor derived from iteration count | sha256=1a24113d1601 | structural/exact=(40, 42); instructions=11/43; 1: ('cmplwi', 'r5, 0') -> ('mtlr', 'r3'); 2: ('ble', '20') -> ('li', 'r0, 0'); 3: ('dcbz', '0, r4') -> ('li', 'r2, 0'); 4: ('dcbf', '0, r4') -> ('li', 'r3, 0'); 5: ('addi', 'r4, r4, 0x20') -> ('li', 'r5, 0'); 6: ('bdnz', '-12') -> ('li', 'r7, 0'); 7: ('mr', 'r12, r3') -> ('li', 'r8, 0'); 8: ('mr', 'r3, r6') -> ('li', 'r9, 0'); 9: ('mtctr', 'r12') -> ('li', 'r10, 0'); 10: ('bctr', '') -> ('li', 'r11, 0')
Round2 Run: batch 3 successful distinct builds/4 forms, best=(40, 42).
Round2 BS2StartGame: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 BS2StartGame | proven async flags volatile definitions and direct state polling | sha256=c2532e31b6d8 | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | polling through native readonly inline DVD accessor | sha256=b24e111aa15a | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | polling through local readonly DVD block view | sha256=37d3424b8e1f | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | low-level disk error native comparison form | sha256=88c7f2286e08 | structural/exact=(31, 163); instructions=400/393; 12: ('bl', '0') -> ('lwz', 'r0, 0xc(r3)'); 13: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r0, 0'); 14: ('bne', '-12') -> ('bne', '-8'); 224: ('b', '12') -> ('lwz', 'r0, 0(0)'); 225: ('bl', '0') -> ('cmpwi', 'r0, 0'); 226: ('bl', '0') -> ('beq', '-8'); 227: ('lwz', 'r4, 0(0)') -> ('lwz', 'r0, 0(0)'); 228: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r0, 2'); 229: ('beq', '-16') -> ('beq', '20'); 230: ('cmpwi', 'r4, 2') -> ('bge', '144'); 231: ('beq', '16') -> ('cmpwi', 'r0, 1'); 232: ('cmpwi', 'r4, 1') -> ('bge', '148')
Round2 BS2StartGame: batch 4 successful distinct builds/4 forms, best=(4, 10).
Round2 BS2StartGame structural proof: target393/source401/frame50. Target CoverBlock+0xc repeatedly loaded with no intervening call (dde0/dde8); four LowReadResult empty polls1130/117c/1290/12e8 and extra113c/129c reads after exit prove definition-levelvolatile. Source wrongly calls DVDGetCommandBlockStatus and twointerrupt calls each poll. Test TU-guarded volatile SDKstatefield, volatile callback flag, direct conststate/helper boundaries; no use-sitecasts.
Round2 BS2StartGame | native DVD direct polling without volatile field qualification | sha256=6063994e5529 | structural/exact=(7, 14); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('addi', 'r3, r29, 0x840') -> ('addi', 'r29, r29, 0'); 10: ('stw', 'r0, 0(0)') -> ('addi', 'r30, r30, 0'); 11: ('lwz', 'r0, 0xc(r3)') -> ('addi', 'r3, r29, 0x840'); 12: ('addi', 'r30, r30, 0') -> ('lwz', 'r0, 0xc(r3)'); 14: ('bne', '-4') -> ('bne', '-8'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1')
Round2 BS2StartGame | three real MMIO address/value/mask declaration order diBits/diValue/diAddr | sha256=c2532e31b6d8 | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | three real MMIO address/value/mask declaration order diBits/diAddr/diValue | sha256=d3d189baaea6 | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | three real MMIO address/value/mask declaration order diValue/diBits/diAddr | sha256=aa9db61e2a1f | structural/exact=(4, 12); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 365: ('li', 'r4, 2') -> ('li', 'r0, 2'); 366: ('lwz', 'r0, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 367: ('ori', 'r4, r4, 4') -> ('ori', 'r0, r0, 4'); 368: ('ori', 'r0, r0, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r0, r4') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | three real MMIO address/value/mask declaration order diValue/diAddr/diBits | sha256=97eccb9d3715 | structural/exact=(4, 12); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 365: ('li', 'r4, 2') -> ('li', 'r0, 2'); 366: ('lwz', 'r0, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 367: ('ori', 'r4, r4, 4') -> ('ori', 'r0, r0, 4'); 368: ('ori', 'r0, r0, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r0, r4') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | three real MMIO address/value/mask declaration order diAddr/diBits/diValue | sha256=843f25a1b64b | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | three real MMIO address/value/mask declaration order diAddr/diValue/diBits | sha256=95d5b060c495 | structural/exact=(4, 12); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 365: ('li', 'r4, 2') -> ('li', 'r0, 2'); 366: ('lwz', 'r0, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 367: ('ori', 'r4, r4, 4') -> ('ori', 'r0, r0, 4'); 368: ('ori', 'r0, r0, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r0, r4') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | native legacy DI mask expression owns accumulated value | sha256=7bfd5bb69ee8 | structural/exact=(9, 35); instructions=390/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 363: ('beq', '24') -> ('beq', '36'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 365: ('lwz', 'r0, 0x3024(r3)') -> ('li', 'r0, 2'); 366: ('ori', 'r0, r0, 7') -> ('lwz', 'r3, 0x3024(r4)'); 367: ('stw', 'r0, 0x3024(r3)') -> ('ori', 'r0, r0, 4'); 368: ('bl', '0') -> ('ori', 'r3, r3, 1'); 369: ('bl', '0') -> ('or', 'r0, r3, r0')
Round2 BS2StartGame | CoverBlock pointer declared in polling block after StartingGame store | sha256=3290f961807a | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | DVD state poll modeled as do/read/conditional repeat | sha256=c5e23009b152 | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame: batch 10 successful distinct builds/10 forms, best=(4, 10).
Round2 BS2StartGame | CoverBlock explicitly zero-initialized native DVD object | sha256=811a63690dbd | structural/exact=(6, 13); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 11: ('addi', 'r3, r29, 0') -> ('addi', 'r3, r29, 0x840'); 25: ('addi', 'r3, r29, 0x860') -> ('addi', 'r3, r29, 0x870'); 27: ('addi', 'r5, r29, 0x8ec') -> ('addi', 'r5, r29, 0x8fc'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0')
Round2 BS2StartGame | native poll input is const-qualified in helper definition | sha256=7ce608a2755d | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | MMIO value variables initialized where first used | sha256=9e92a5d734eb | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r4, r0') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame | MMIO bit accumulation in explicit value expression | sha256=9131e8571320 | structural/exact=(4, 10); instructions=393/393; 5: ('lis', 'r29, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r29, 0'); 7: ('addi', 'r29, r29, 0') -> ('lis', 'r30, 0'); 8: ('lis', 'r30, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r29, r29, 0'); 364: ('lis', 'r3, -0x3400') -> ('lis', 'r4, -0x3400'); 366: ('lwz', 'r4, 0x3024(r3)') -> ('lwz', 'r3, 0x3024(r4)'); 368: ('ori', 'r4, r4, 1') -> ('ori', 'r3, r3, 1'); 369: ('or', 'r0, r0, r4') -> ('or', 'r0, r3, r0'); 370: ('stw', 'r0, 0x3024(r3)') -> ('stw', 'r0, 0x3024(r4)')
Round2 BS2StartGame: batch 4 successful distinct builds/4 forms, best=(4, 10).
Round2 BS2StartGCGame: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 BS2StartGCGame | proven asynchronous DVD state field polled inline | sha256=7abff1b2dfc8 | structural/exact=(4, 9); instructions=228/228; 5: ('lis', 'r30, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r30, 0'); 7: ('addi', 'r30, r30, 0') -> ('lis', 'r31, 0'); 8: ('lis', 'r31, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r30, r30, 0'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7'); 69: ('mullw', 'r0, r7, r6') -> ('mullw', 'r0, r5, r6'); 70: ('mullw', 'r4, r7, r5') -> ('mullw', 'r4, r5, r7')
Round2 BS2StartGCGame | readonly native DVD polling helper boundary | sha256=f69999f3ea49 | structural/exact=(4, 9); instructions=228/228; 5: ('lis', 'r30, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r30, 0'); 7: ('addi', 'r30, r30, 0') -> ('lis', 'r31, 0'); 8: ('lis', 'r31, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r30, r30, 0'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7'); 69: ('mullw', 'r0, r7, r6') -> ('mullw', 'r0, r5, r6'); 70: ('mullw', 'r4, r7, r5') -> ('mullw', 'r4, r5, r7')
Round2 BS2StartGCGame | DVD idle polling comparison operand order | sha256=5e41b683aab6 | structural/exact=(2, 7); instructions=228/228; 12: ('bl', '0') -> ('lwz', 'r0, 0xc(r3)'); 13: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r0, 0'); 14: ('bne', '-12') -> ('bne', '-8'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7'); 69: ('mullw', 'r0, r7, r6') -> ('mullw', 'r0, r5, r6'); 70: ('mullw', 'r4, r7, r5') -> ('mullw', 'r4, r5, r7')
Round2 BS2StartGCGame | RTC tick multiplication native frequency-first association | sha256=615eeee1267e | structural/exact=(2, 11); instructions=228/228; 12: ('bl', '0') -> ('lwz', 'r0, 0xc(r3)'); 13: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r0, 0'); 14: ('bne', '-12') -> ('bne', '-8'); 61: ('lwz', 'r0, 0xc(r1)') -> ('lwz', 'r5, 0xc(r1)'); 62: ('lwz', 'r4, 0xf8(r4)') -> ('lwz', 'r0, 0xf8(r4)'); 64: ('add', 'r5, r0, r3') -> ('add', 'r7, r5, r3'); 65: ('srwi', 'r7, r4, 2') -> ('srwi', 'r5, r0, 2'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7'); 69: ('mullw', 'r0, r7, r6') -> ('mullw', 'r0, r5, r6'); 70: ('mullw', 'r4, r7, r5') -> ('mullw', 'r4, r5, r7')
Round2 BS2StartGCGame | RTC tick multiplication two explicit wide operands | sha256=fe9e622f15a6 | structural/exact=(2, 11); instructions=228/228; 12: ('bl', '0') -> ('lwz', 'r0, 0xc(r3)'); 13: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r0, 0'); 14: ('bne', '-12') -> ('bne', '-8'); 61: ('lwz', 'r0, 0xc(r1)') -> ('lwz', 'r5, 0xc(r1)'); 62: ('lwz', 'r4, 0xf8(r4)') -> ('lwz', 'r0, 0xf8(r4)'); 64: ('add', 'r5, r0, r3') -> ('add', 'r7, r5, r3'); 65: ('srwi', 'r7, r4, 2') -> ('srwi', 'r5, r0, 2'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7'); 69: ('mullw', 'r0, r7, r6') -> ('mullw', 'r0, r5, r6'); 70: ('mullw', 'r4, r7, r5') -> ('mullw', 'r4, r5, r7')
Round2 BS2StartGCGame: batch 5 successful distinct builds/5 forms, best=(2, 7).
Round2 BS2StartGCGame | actual asynchronous CoverBlock object volatile, native API pointer qualification | sha256=fd8413fa41e5 | structural/exact=(4, 13); instructions=228/228; 5: ('lis', 'r30, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r30, 0'); 7: ('addi', 'r30, r30, 0') -> ('lis', 'r31, 0'); 8: ('lis', 'r31, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r30, r30, 0'); 61: ('lwz', 'r0, 0xc(r1)') -> ('lwz', 'r5, 0xc(r1)'); 62: ('lwz', 'r4, 0xf8(r4)') -> ('lwz', 'r0, 0xf8(r4)'); 64: ('add', 'r5, r0, r3') -> ('add', 'r7, r5, r3'); 65: ('srwi', 'r7, r4, 2') -> ('srwi', 'r5, r0, 2'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7'); 69: ('mullw', 'r0, r7, r6') -> ('mullw', 'r0, r5, r6')
Round2 BS2StartGCGame | same asynchronous object explicitly initialized | sha256=69336c56a54d | structural/exact=(6, 16); instructions=228/228; 5: ('lis', 'r30, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r30, 0'); 7: ('addi', 'r30, r30, 0') -> ('lis', 'r31, 0'); 8: ('lis', 'r31, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r30, r30, 0'); 11: ('addi', 'r3, r30, 0') -> ('addi', 'r3, r30, 0x840'); 61: ('lwz', 'r0, 0xc(r1)') -> ('lwz', 'r5, 0xc(r1)'); 62: ('lwz', 'r4, 0xf8(r4)') -> ('lwz', 'r0, 0xf8(r4)'); 64: ('add', 'r5, r0, r3') -> ('add', 'r7, r5, r3'); 65: ('srwi', 'r7, r4, 2') -> ('srwi', 'r5, r0, 2'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7')
Round2 BS2StartGCGame | same asynchronous object polled through readonly typed inline accessor | sha256=743e85bf57b9 | structural/exact=(4, 13); instructions=228/228; 5: ('lis', 'r30, 0') -> ('li', 'r0, 1'); 6: ('li', 'r0, 1') -> ('lis', 'r30, 0'); 7: ('addi', 'r30, r30, 0') -> ('lis', 'r31, 0'); 8: ('lis', 'r31, 0') -> ('stw', 'r0, 0(0)'); 9: ('stw', 'r0, 0(0)') -> ('addi', 'r30, r30, 0'); 61: ('lwz', 'r0, 0xc(r1)') -> ('lwz', 'r5, 0xc(r1)'); 62: ('lwz', 'r4, 0xf8(r4)') -> ('lwz', 'r0, 0xf8(r4)'); 64: ('add', 'r5, r0, r3') -> ('add', 'r7, r5, r3'); 65: ('srwi', 'r7, r4, 2') -> ('srwi', 'r5, r0, 2'); 66: ('mulhwu', 'r3, r7, r5') -> ('mulhwu', 'r3, r5, r7'); 67: ('mullw', 'r4, r6, r5') -> ('mullw', 'r4, r6, r7'); 69: ('mullw', 'r0, r7, r6') -> ('mullw', 'r0, r5, r6')
Round2 BS2StartGCGame: batch 3 successful distinct builds/3 forms, best=(4, 13).
Round2 CheckBS2CommandStatus: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 CheckBS2CommandStatus | NAND pending stored before inline partition-size arithmetic | sha256=a11333c9c103 | structural/exact=(2, 4); instructions=406/406; 173: ('li', 'r3, 1') -> ('li', 'r6, 1'); 175: ('stw', 'r3, 0(0)') -> ('stw', 'r6, 0(0)'); 178: ('stw', 'r3, 0(0)') -> ('lwz', 'r3, 0(r4)'); 179: ('lwz', 'r3, 0(r4)') -> ('stw', 'r6, 0(0)')
Round2 CheckBS2CommandStatus | partition count read through real constant TOC view | sha256=8d97409ca488 | structural/exact=(2, 2); instructions=406/406; 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r6, 0(0)') -> ('slwi', 'r3, r3, 3')
Round2 CheckBS2CommandStatus | partition byte length owned by native temporary | sha256=b5dc3f0dce1f | BUILD FAILED /43U/src/src/BS2 && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/BS2/BS2Mach.d build/43U/src/src/BS2/BS2Mach.d ### mwcceppc.exe Compiler: # File: src\BS2\BS2Mach.c # -------------------------- # 1136: u32 partitionBytes = ((DVDGameTOC *)DataToc)->partitionCount * sizeof(DVDPartitionInfo); # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 CheckBS2CommandStatus | partition extent arithmetic through actual entry pointer difference | sha256=397ca5ef6f91 | structural/exact=(2, 2); instructions=406/406; 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r6, 0(0)') -> ('slwi', 'r3, r3, 3')
Round2 CheckBS2CommandStatus: batch 3 successful distinct builds/4 forms, best=(2, 2).
Round2 CheckBS2CommandStatus | cache size explicit value assignment instead of compound assignment | sha256=a505c4b8eb6e | structural/exact=(2, 9); instructions=406/406; 174: ('lwz', 'r5, 0(0)') -> ('lwz', 'r4, 0(0)'); 177: ('lwz', 'r3, 0(0)') -> ('lwz', 'r5, 0(0)'); 178: ('lwz', 'r4, 0(r5)') -> ('lwz', 'r3, 0(r4)'); 179: ('slwi', 'r4, r4, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r6, 0(0)') -> ('slwi', 'r3, r3, 3'); 181: ('addi', 'r4, r4, 0x1f') -> ('addi', 'r3, r3, 0x1f'); 182: ('rlwinm', 'r4, r4, 0, 0, 0x1a') -> ('rlwinm', 'r3, r3, 0, 0, 0x1a'); 183: ('add', 'r3, r3, r4') -> ('add', 'r3, r5, r3'); 194: ('lwz', 'r0, 0(r5)') -> ('lwz', 'r0, 0(r4)')
Round2 CheckBS2CommandStatus | TOC count held before cached size accumulation | sha256=ae075242cb7d | BUILD FAILED src/BS2/BS2Mach.c -o build/43U/src/src/BS2 && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/BS2/BS2Mach.d build/43U/src/src/BS2/BS2Mach.d ### mwcceppc.exe Compiler: # File: src\BS2\BS2Mach.c # -------------------------- # 1135: u32 partitionCount = ((DVDGameTOC *)DataToc)->partitionCount; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 CheckBS2CommandStatus | TOC extent held before flags and size store | sha256=8f7f40834c70 | BUILD FAILED /43U/src/src/BS2 && "/usr/bin/python3" tools/transform_dep.py build/43U/src/src/BS2/BS2Mach.d build/43U/src/src/BS2/BS2Mach.d ### mwcceppc.exe Compiler: # File: src\BS2\BS2Mach.c # -------------------------- # 1135: u32 partitionBytes = ((DVDGameTOC *)DataToc)->partitionCount * sizeof(DVDPartitionInfo); # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 CheckBS2CommandStatus | partition data extent through native readonly inline helper | sha256=275a12fe9f3a | structural/exact=(4, 12); instructions=406/406; 173: ('li', 'r5, 1') -> ('li', 'r6, 1'); 174: ('lwz', 'r6, 0(0)') -> ('lwz', 'r4, 0(0)'); 175: ('stw', 'r5, 0(0)') -> ('stw', 'r6, 0(0)'); 177: ('lwz', 'r3, 0(0)') -> ('lwz', 'r5, 0(0)'); 178: ('lwz', 'r4, 0(r6)') -> ('lwz', 'r3, 0(r4)'); 179: ('slwi', 'r4, r4, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r5, 0(0)') -> ('slwi', 'r3, r3, 3'); 181: ('addi', 'r4, r4, 0x1f') -> ('addi', 'r3, r3, 0x1f'); 182: ('rlwinm', 'r4, r4, 0, 0, 0x1a') -> ('rlwinm', 'r3, r3, 0, 0, 0x1a'); 183: ('addi', 'r4, r4, 0x20') -> ('add', 'r3, r5, r3'); 184: ('add', 'r3, r3, r4') -> ('addi', 'r3, r3, 0x20'); 194: ('lwz', 'r0, 0(r6)') -> ('lwz', 'r0, 0(r4)')
Round2 CheckBS2CommandStatus | cache command flag and length compound expression | sha256=2e5970994232 | structural/exact=(4, 12); instructions=406/406; 173: ('li', 'r4, 1') -> ('li', 'r6, 1'); 174: ('lwz', 'r5, 0(0)') -> ('lwz', 'r4, 0(0)'); 175: ('stw', 'r4, 0(0)') -> ('stw', 'r6, 0(0)'); 177: ('lwz', 'r3, 0(0)') -> ('lwz', 'r5, 0(0)'); 178: ('stw', 'r4, 0(0)') -> ('lwz', 'r3, 0(r4)'); 179: ('lwz', 'r4, 0(r5)') -> ('stw', 'r6, 0(0)'); 180: ('slwi', 'r4, r4, 3') -> ('slwi', 'r3, r3, 3'); 181: ('addi', 'r4, r4, 0x1f') -> ('addi', 'r3, r3, 0x1f'); 182: ('rlwinm', 'r4, r4, 0, 0, 0x1a') -> ('rlwinm', 'r3, r3, 0, 0, 0x1a'); 183: ('addi', 'r4, r4, 0x20') -> ('add', 'r3, r5, r3'); 184: ('add', 'r3, r3, r4') -> ('addi', 'r3, r3, 0x20'); 194: ('lwz', 'r0, 0(r5)') -> ('lwz', 'r0, 0(r4)')
Round2 CheckBS2CommandStatus: batch 3 successful distinct builds/5 forms, best=(2, 9).
Round2 BS2Tick: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 CheckBS2CommandStatus406/406frame20 single scheduled pair slwi(count,3)/storeCacheCommandComplete. Flags not immediately reloaded, no volatile proof. Four initial+five expression/TOC-helper boundaries, no exactgain; original restored. Round2 BS2StartGCGame source228aligned, inline field vs external call plus native64-bit frequency-times-seconds operand allocation. Five initial+three globalvolatilecontext forms tested; scalar DS120attempts evidence /tmp/fz1.r2.mach-gc.decl.txt. Neither matched; use originalpolymorphic SDKprototype until exactqualified candidate.
Round2 BS2Tick target1940/source1934/framea0; early0x80000000 hardware/boot-header base sharing saves six extra loads vs target; cache/progress store scheduling and loader callback output-local order. Investigate typed hardware input/three real loader output locals, callback boundary and title prefix interpretation before declarations.
Round2 BS2Tick | loader outputs represented as three independent addressable locals | sha256=eca81a26dbb4 | structural/exact=(169, 1664); instructions=1934/1940; 14: ('bgt', '7624') -> ('bgt', '7648'); 38: ('li', 'r27, 0') -> ('li', 'r4, 1'); 39: ('addi', 'r5, r29, 0x9c0') -> ('addi', 'r6, r30, 0x30d4'); 40: ('addi', 'r3, r29, 0x840') -> ('li', 'r27, 0'); 41: ('addi', 'r0, r30, 0x30d4') -> ('addi', 'r5, r29, 0x9c0'); 42: ('stw', 'r27, 0x3a0(r5)') -> ('stw', 'r6, 0(0)'); 43: ('li', 'r4, 1') -> ('addi', 'r3, r29, 0x840'); 44: ('stw', 'r0, 0(0)') -> ('stw', 'r27, 0x3a0(r5)'); 50: ('stw', 'r27, 0xc(r3)') -> ('lwz', 'r0, 0(0)'); 51: ('lwz', 'r0, 0(0)') -> ('stw', 'r4, 0(0)'); 52: ('stw', 'r4, 0(0)') -> ('cmpwi', 'r0, 0'); 53: ('cmpwi', 'r0, 0') -> ('stw', 'r27, 0xc(r3)')
Round2 BS2Tick | disc header hardware fields accessed through actual readonly disk type | sha256=d780d8f8c64d | BUILD FAILED _dep.py build/43U/src/src/BS2/BS2Mach.d build/43U/src/src/BS2/BS2Mach.d ### mwcceppc.exe Compiler: # File: src\BS2\BS2Mach.c # -------------------------- # 1392: if ((((const DVDDiskID *)0x80000000)->wiiMagic & 0xf0000000) == 0) # Error: ^ # (10393) 'wiiMagic' is not a member of class 'struct DVDDiskID' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 BS2Tick | pending transfer counter reset before progress pointer definition | sha256=8f90cc1c4c18 | structural/exact=(136, 1673); instructions=1934/1940; 14: ('bgt', '7624') -> ('bgt', '7648'); 37: ('lis', 'r27, -0x8000') -> ('lis', 'r30, -0x8000'); 38: ('li', 'r30, 0') -> ('li', 'r4, 1'); 39: ('addi', 'r5, r29, 0x9c0') -> ('addi', 'r6, r30, 0x30d4'); 40: ('addi', 'r3, r29, 0x840') -> ('li', 'r27, 0'); 41: ('addi', 'r0, r27, 0x30d4') -> ('addi', 'r5, r29, 0x9c0'); 42: ('stw', 'r30, 0x3a0(r5)') -> ('stw', 'r6, 0(0)'); 43: ('li', 'r4, 1') -> ('addi', 'r3, r29, 0x840'); 44: ('stw', 'r0, 0(0)') -> ('stw', 'r27, 0x3a0(r5)'); 45: ('stw', 'r30, 0x4dc0(r5)') -> ('stw', 'r27, 0x4dc0(r5)'); 46: ('stw', 'r30, 0x5de0(r5)') -> ('stw', 'r27, 0x5de0(r5)'); 47: ('stw', 'r30, 0x30d4(r27)') -> ('stw', 'r27, 0x30d4(r30)')
Round2 BS2Tick | loader-output argument order cached through actual callback type | sha256=3ea3041a46ec | structural/exact=(136, 1665); instructions=1934/1940; 14: ('bgt', '7624') -> ('bgt', '7648'); 38: ('li', 'r27, 0') -> ('li', 'r4, 1'); 39: ('addi', 'r5, r29, 0x9c0') -> ('addi', 'r6, r30, 0x30d4'); 40: ('addi', 'r3, r29, 0x840') -> ('li', 'r27, 0'); 41: ('addi', 'r0, r30, 0x30d4') -> ('addi', 'r5, r29, 0x9c0'); 42: ('stw', 'r27, 0x3a0(r5)') -> ('stw', 'r6, 0(0)'); 43: ('li', 'r4, 1') -> ('addi', 'r3, r29, 0x840'); 44: ('stw', 'r0, 0(0)') -> ('stw', 'r27, 0x3a0(r5)'); 50: ('stw', 'r27, 0xc(r3)') -> ('lwz', 'r0, 0(0)'); 51: ('lwz', 'r0, 0(0)') -> ('stw', 'r4, 0(0)'); 52: ('stw', 'r4, 0(0)') -> ('cmpwi', 'r0, 0'); 53: ('cmpwi', 'r0, 0') -> ('stw', 'r27, 0xc(r3)')
Round2 BS2Tick | native title prefix signed character interpretation | sha256=7bf88e91e6ce | structural/exact=(106, 1681); instructions=1937/1940; 14: ('bgt', '7636') -> ('bgt', '7648'); 38: ('li', 'r27, 0') -> ('li', 'r4, 1'); 39: ('addi', 'r5, r29, 0x9c0') -> ('addi', 'r6, r30, 0x30d4'); 40: ('addi', 'r3, r29, 0x840') -> ('li', 'r27, 0'); 41: ('addi', 'r0, r30, 0x30d4') -> ('addi', 'r5, r29, 0x9c0'); 42: ('stw', 'r27, 0x3a0(r5)') -> ('stw', 'r6, 0(0)'); 43: ('li', 'r4, 1') -> ('addi', 'r3, r29, 0x840'); 44: ('stw', 'r0, 0(0)') -> ('stw', 'r27, 0x3a0(r5)'); 50: ('stw', 'r27, 0xc(r3)') -> ('lwz', 'r0, 0(0)'); 51: ('lwz', 'r0, 0(0)') -> ('stw', 'r4, 0(0)'); 52: ('stw', 'r4, 0(0)') -> ('cmpwi', 'r0, 0'); 53: ('cmpwi', 'r0, 0') -> ('stw', 'r27, 0xc(r3)')
Round2 BS2Tick: batch 4 successful distinct builds/5 forms, best=(106, 1681).
Round2 CheckBS2CommandStatus | native count/old-size value block initialization order 0 | sha256=d4a6269f0ecc | structural/exact=(2, 6); instructions=406/406; 173: ('li', 'r5, 1') -> ('li', 'r6, 1'); 175: ('stw', 'r5, 0(0)') -> ('stw', 'r6, 0(0)'); 177: ('lwz', 'r6, 0(0)') -> ('lwz', 'r5, 0(0)'); 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r5, 0(0)') -> ('slwi', 'r3, r3, 3'); 183: ('add', 'r3, r6, r3') -> ('add', 'r3, r5, r3')
Round2 CheckBS2CommandStatus | native count/old-size value block initialization order 1 | sha256=6fd7596ecfdd | structural/exact=(2, 6); instructions=406/406; 173: ('li', 'r5, 1') -> ('li', 'r6, 1'); 175: ('stw', 'r5, 0(0)') -> ('stw', 'r6, 0(0)'); 177: ('lwz', 'r6, 0(0)') -> ('lwz', 'r5, 0(0)'); 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r5, 0(0)') -> ('slwi', 'r3, r3, 3'); 183: ('add', 'r3, r6, r3') -> ('add', 'r3, r5, r3')
Round2 CheckBS2CommandStatus | readonly TOC field snapshot before command flag | sha256=f45ddce59fdc | structural/exact=(2, 9); instructions=406/406; 173: ('li', 'r5, 1') -> ('li', 'r6, 1'); 174: ('lwz', 'r6, 0(0)') -> ('lwz', 'r4, 0(0)'); 175: ('stw', 'r5, 0(0)') -> ('stw', 'r6, 0(0)'); 177: ('lwz', 'r4, 0(0)') -> ('lwz', 'r5, 0(0)'); 178: ('lwz', 'r3, 0(r6)') -> ('lwz', 'r3, 0(r4)'); 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r5, 0(0)') -> ('slwi', 'r3, r3, 3'); 183: ('add', 'r3, r4, r3') -> ('add', 'r3, r5, r3'); 194: ('lwz', 'r0, 0(r6)') -> ('lwz', 'r0, 0(r4)')
Round2 CheckBS2CommandStatus | partition byte extent computed before command flag store | sha256=b31826fb52d4 | structural/exact=(2, 7); instructions=406/406; 174: ('lwz', 'r5, 0(0)') -> ('lwz', 'r4, 0(0)'); 177: ('lwz', 'r4, 0(0)') -> ('lwz', 'r5, 0(0)'); 178: ('lwz', 'r3, 0(r5)') -> ('lwz', 'r3, 0(r4)'); 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r6, 0(0)') -> ('slwi', 'r3, r3, 3'); 183: ('add', 'r3, r4, r3') -> ('add', 'r3, r5, r3'); 194: ('lwz', 'r0, 0(r5)') -> ('lwz', 'r0, 0(r4)')
Round2 CheckBS2CommandStatus: batch 4 successful distinct builds/4 forms, best=(2, 6).
Round2 AOSS_Init_old: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 AOSS_Init_old | two independent actual timeout constants, trailing padding unmodeled | sha256=d1fefb8e620a | structural/exact=(1130, 1300); instructions=1574/1584; 8: ('lis', 'r4, 1') -> ('lhz', 'r4, 0(0)'); 10: ('addi', 'r5, r4, -1') -> ('lhz', 'r5, 0(0)'); 12: ('sth', 'r5, 0x28(r1)') -> ('sth', 'r4, 0x28(r1)'); 14: ('li', 'r21, 0') -> ('li', 'r19, 0'); 45: ('lha', 'r19, 0x10e(r15)') -> ('lha', 'r20, 0x10e(r15)'); 46: ('cmpwi', 'r19, -1') -> ('cmpwi', 'r20, -1'); 48: ('li', 'r19, 0x7d0') -> ('li', 'r20, 0x7d0'); 54: ('lis', 'r14, 0') -> ('lis', 'r16, 0'); 56: ('addi', 'r3, r14, 0') -> ('addi', 'r3, r16, 0'); 62: ('stw', 'r0, 0(r14)') -> ('stw', 'r0, 0(r16)'); 63: ('addi', 'r5, r14, 0') -> ('addi', 'r5, r16, 0'); 65: ('li', 'r14, 0') -> ('li', 'r16, 0')
Round2 AOSS_Init_old | default limits directly assigned independent timeout constants | sha256=99fa30ae88c5 | structural/exact=(1130, 1300); instructions=1574/1584; 8: ('lis', 'r4, 1') -> ('lhz', 'r4, 0(0)'); 10: ('addi', 'r5, r4, -1') -> ('lhz', 'r5, 0(0)'); 12: ('sth', 'r5, 0x28(r1)') -> ('sth', 'r4, 0x28(r1)'); 14: ('li', 'r21, 0') -> ('li', 'r19, 0'); 45: ('lha', 'r19, 0x10e(r15)') -> ('lha', 'r20, 0x10e(r15)'); 46: ('cmpwi', 'r19, -1') -> ('cmpwi', 'r20, -1'); 48: ('li', 'r19, 0x7d0') -> ('li', 'r20, 0x7d0'); 54: ('lis', 'r14, 0') -> ('lis', 'r16, 0'); 56: ('addi', 'r3, r14, 0') -> ('addi', 'r3, r16, 0'); 62: ('stw', 'r0, 0(r14)') -> ('stw', 'r0, 0(r16)'); 63: ('addi', 'r5, r14, 0') -> ('addi', 'r5, r16, 0'); 65: ('li', 'r14, 0') -> ('li', 'r16, 0')
Round2 AOSS_Init_old | connection timeout initialized before response temporary | sha256=26b6e4cbe949 | structural/exact=(1141, 1524); instructions=1575/1584; 8: ('li', 'r4, 0') -> ('lhz', 'r4, 0(0)'); 10: ('lhz', 'r6, 2(r4)') -> ('lhz', 'r5, 0(0)'); 12: ('lhz', 'r5, 0(0)') -> ('sth', 'r4, 0x28(r1)'); 14: ('sth', 'r6, 0x2a(r1)') -> ('li', 'r19, 0'); 15: ('li', 'r21, 0') -> ('li', 'r4, 0'); 16: ('li', 'r4, 0') -> ('sth', 'r5, 0x2a(r1)'); 17: ('sth', 'r5, 0x28(r1)') -> ('li', 'r5, 0x18'); 18: ('li', 'r5, 0x18') -> ('stw', 'r0, 0x24(r1)'); 19: ('stw', 'r0, 0x24(r1)') -> ('stw', 'r0, 0x20(r1)'); 20: ('stw', 'r0, 0x20(r1)') -> ('bl', '0'); 21: ('bl', '0') -> ('lha', 'r0, 0x106(r15)'); 22: ('lha', 'r0, 0x106(r15)') -> ('cmpwi', 'r0, -1')
Round2 AOSS_Init_old | initial limits are two signed-short native scalars | sha256=04f7b9ef6eb3 | structural/exact=(1141, 1524); instructions=1575/1584; 8: ('li', 'r4, 0') -> ('lhz', 'r4, 0(0)'); 10: ('lha', 'r6, 2(r4)') -> ('lhz', 'r5, 0(0)'); 12: ('lha', 'r5, 0(0)') -> ('sth', 'r4, 0x28(r1)'); 14: ('sth', 'r6, 0x2a(r1)') -> ('li', 'r19, 0'); 15: ('li', 'r21, 0') -> ('li', 'r4, 0'); 16: ('li', 'r4, 0') -> ('sth', 'r5, 0x2a(r1)'); 17: ('sth', 'r5, 0x28(r1)') -> ('li', 'r5, 0x18'); 18: ('li', 'r5, 0x18') -> ('stw', 'r0, 0x24(r1)'); 19: ('stw', 'r0, 0x24(r1)') -> ('stw', 'r0, 0x20(r1)'); 20: ('stw', 'r0, 0x20(r1)') -> ('bl', '0'); 21: ('bl', '0') -> ('lha', 'r0, 0x106(r15)'); 22: ('lha', 'r0, 0x106(r15)') -> ('cmpwi', 'r0, -1')
Round2 AOSS_Init_old | message packet uses read-only cached packet words | sha256=a524b49b017f | BUILD FAILED thon3" tools/transform_dep.py build/43U/src/src/scene/setting/AOSS.d build/43U/src/src/scene/setting/AOSS.d ### mwcceppc.exe Compiler: # File: src\scene\setting\AOSS.c # --------------------------------- # 974: packetWords->initialLength = receivedLength; # Error: ^ # (10179) illegal assignment to constant # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 AOSS_Init_old: batch 4 successful distinct builds/5 forms, best=(1130, 1300).
Round2 AOSS Init structural proof: target .sdata2 bytesffffffff00000000 are two independent load targets (lhz offsets20/28 relocated lbl_81694c78/7a); source samebytes one8-byte array causes shared base and 2(r4) load. Tested separate nativeconstant definitions and initialization order/narrowtypes beforedeclarations. Input has writable status/flags, whole const parameter unwarranted. First five forms compiled, no match, additional real single-value option-array form follows. No metadata renames/extents retained.
Round2 AOSS_Init_old | two independent actual timeout constants, trailing padding unmodeled | sha256=d1fefb8e620a | structural/exact=(1130, 1300); instructions=1574/1584; 8: ('lis', 'r4, 1') -> ('lhz', 'r4, 0(0)'); 10: ('addi', 'r5, r4, -1') -> ('lhz', 'r5, 0(0)'); 12: ('sth', 'r5, 0x28(r1)') -> ('sth', 'r4, 0x28(r1)'); 14: ('li', 'r21, 0') -> ('li', 'r19, 0'); 45: ('lha', 'r19, 0x10e(r15)') -> ('lha', 'r20, 0x10e(r15)'); 46: ('cmpwi', 'r19, -1') -> ('cmpwi', 'r20, -1'); 48: ('li', 'r19, 0x7d0') -> ('li', 'r20, 0x7d0'); 54: ('lis', 'r14, 0') -> ('lis', 'r16, 0'); 56: ('addi', 'r3, r14, 0') -> ('addi', 'r3, r16, 0'); 62: ('stw', 'r0, 0(r14)') -> ('stw', 'r0, 0(r16)'); 63: ('addi', 'r5, r14, 0') -> ('addi', 'r5, r16, 0'); 65: ('li', 'r14, 0') -> ('li', 'r16, 0')
Round2 AOSS_Init_old | default limits directly assigned independent timeout constants | sha256=99fa30ae88c5 | structural/exact=(1130, 1300); instructions=1574/1584; 8: ('lis', 'r4, 1') -> ('lhz', 'r4, 0(0)'); 10: ('addi', 'r5, r4, -1') -> ('lhz', 'r5, 0(0)'); 12: ('sth', 'r5, 0x28(r1)') -> ('sth', 'r4, 0x28(r1)'); 14: ('li', 'r21, 0') -> ('li', 'r19, 0'); 45: ('lha', 'r19, 0x10e(r15)') -> ('lha', 'r20, 0x10e(r15)'); 46: ('cmpwi', 'r19, -1') -> ('cmpwi', 'r20, -1'); 48: ('li', 'r19, 0x7d0') -> ('li', 'r20, 0x7d0'); 54: ('lis', 'r14, 0') -> ('lis', 'r16, 0'); 56: ('addi', 'r3, r14, 0') -> ('addi', 'r3, r16, 0'); 62: ('stw', 'r0, 0(r14)') -> ('stw', 'r0, 0(r16)'); 63: ('addi', 'r5, r14, 0') -> ('addi', 'r5, r16, 0'); 65: ('li', 'r14, 0') -> ('li', 'r16, 0')
Round2 AOSS_Init_old | connection timeout initialized before response temporary | sha256=26b6e4cbe949 | structural/exact=(1141, 1524); instructions=1575/1584; 8: ('li', 'r4, 0') -> ('lhz', 'r4, 0(0)'); 10: ('lhz', 'r6, 2(r4)') -> ('lhz', 'r5, 0(0)'); 12: ('lhz', 'r5, 0(0)') -> ('sth', 'r4, 0x28(r1)'); 14: ('sth', 'r6, 0x2a(r1)') -> ('li', 'r19, 0'); 15: ('li', 'r21, 0') -> ('li', 'r4, 0'); 16: ('li', 'r4, 0') -> ('sth', 'r5, 0x2a(r1)'); 17: ('sth', 'r5, 0x28(r1)') -> ('li', 'r5, 0x18'); 18: ('li', 'r5, 0x18') -> ('stw', 'r0, 0x24(r1)'); 19: ('stw', 'r0, 0x24(r1)') -> ('stw', 'r0, 0x20(r1)'); 20: ('stw', 'r0, 0x20(r1)') -> ('bl', '0'); 21: ('bl', '0') -> ('lha', 'r0, 0x106(r15)'); 22: ('lha', 'r0, 0x106(r15)') -> ('cmpwi', 'r0, -1')
Round2 AOSS_Init_old | initial limits are two signed-short native scalars | sha256=04f7b9ef6eb3 | structural/exact=(1141, 1524); instructions=1575/1584; 8: ('li', 'r4, 0') -> ('lhz', 'r4, 0(0)'); 10: ('lha', 'r6, 2(r4)') -> ('lhz', 'r5, 0(0)'); 12: ('lha', 'r5, 0(0)') -> ('sth', 'r4, 0x28(r1)'); 14: ('sth', 'r6, 0x2a(r1)') -> ('li', 'r19, 0'); 15: ('li', 'r21, 0') -> ('li', 'r4, 0'); 16: ('li', 'r4, 0') -> ('sth', 'r5, 0x2a(r1)'); 17: ('sth', 'r5, 0x28(r1)') -> ('li', 'r5, 0x18'); 18: ('li', 'r5, 0x18') -> ('stw', 'r0, 0x24(r1)'); 19: ('stw', 'r0, 0x24(r1)') -> ('stw', 'r0, 0x20(r1)'); 20: ('stw', 'r0, 0x20(r1)') -> ('bl', '0'); 21: ('bl', '0') -> ('lha', 'r0, 0x106(r15)'); 22: ('lha', 'r0, 0x106(r15)') -> ('cmpwi', 'r0, -1')
Round2 AOSS_Init_old | message packet uses read-only cached packet words | sha256=a524b49b017f | BUILD FAILED thon3" tools/transform_dep.py build/43U/src/src/scene/setting/AOSS.d build/43U/src/src/scene/setting/AOSS.d ### mwcceppc.exe Compiler: # File: src\scene\setting\AOSS.c # --------------------------------- # 974: packetWords->initialLength = receivedLength; # Error: ^ # (10179) illegal assignment to constant # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 AOSS_Init_old | two real single-value option arrays with normal compiler alignment | sha256=c28d18e24089 | structural/exact=(1128, 1297); instructions=1574/1584; 14: ('li', 'r21, 0') -> ('li', 'r19, 0'); 45: ('lha', 'r19, 0x10e(r15)') -> ('lha', 'r20, 0x10e(r15)'); 46: ('cmpwi', 'r19, -1') -> ('cmpwi', 'r20, -1'); 48: ('li', 'r19, 0x7d0') -> ('li', 'r20, 0x7d0'); 54: ('lis', 'r14, 0') -> ('lis', 'r16, 0'); 56: ('addi', 'r3, r14, 0') -> ('addi', 'r3, r16, 0'); 62: ('stw', 'r0, 0(r14)') -> ('stw', 'r0, 0(r16)'); 63: ('addi', 'r5, r14, 0') -> ('addi', 'r5, r16, 0'); 65: ('li', 'r14, 0') -> ('li', 'r16, 0'); 75: ('stw', 'r14, 0xc(r5)') -> ('stw', 'r16, 0xc(r5)'); 77: ('stb', 'r14, 0x18(r5)') -> ('stb', 'r16, 0x18(r5)'); 87: ('stw', 'r14, 0(0)') -> ('stw', 'r16, 0(0)')
Round2 AOSS_Init_old: batch 5 successful distinct builds/6 forms, best=(1128, 1297).
Round2 AOSS raw gatecount audit: AOSSParseNetworkSettings is objdiff100, identical symbolbytes and declsearch score(0,0); odiff incorrectly rebases CR1 bgt/ble/blt immediates by source/targetfunctionoffsetdelta36. This explains raw15/21 versusobjdiff16/21; no source or functionmetadata change permitted to aligntooloffset.
Round2 AOSS_Init_old | two real timeout fields of readonly defaults record | sha256=fee3110e5a6a | structural/exact=(1141, 1524); instructions=1575/1584; 8: ('li', 'r4, 0') -> ('lhz', 'r4, 0(0)'); 10: ('lhz', 'r6, 2(r4)') -> ('lhz', 'r5, 0(0)'); 12: ('lhz', 'r5, 0(0)') -> ('sth', 'r4, 0x28(r1)'); 14: ('sth', 'r6, 0x2a(r1)') -> ('li', 'r19, 0'); 15: ('li', 'r21, 0') -> ('li', 'r4, 0'); 16: ('li', 'r4, 0') -> ('sth', 'r5, 0x2a(r1)'); 17: ('sth', 'r5, 0x28(r1)') -> ('li', 'r5, 0x18'); 18: ('li', 'r5, 0x18') -> ('stw', 'r0, 0x24(r1)'); 19: ('stw', 'r0, 0x24(r1)') -> ('stw', 'r0, 0x20(r1)'); 20: ('stw', 'r0, 0x20(r1)') -> ('bl', '0'); 21: ('bl', '0') -> ('lha', 'r0, 0x106(r15)'); 22: ('lha', 'r0, 0x106(r15)') -> ('cmpwi', 'r0, -1')
Round2 AOSS_Init_old | timeout defaults as constant wait-limit pair inside initialization scope | sha256=d5e704407dc8 | structural/exact=(1130, 1300); instructions=1574/1584; 8: ('lis', 'r4, 1') -> ('lhz', 'r4, 0(0)'); 10: ('addi', 'r5, r4, -1') -> ('lhz', 'r5, 0(0)'); 12: ('sth', 'r5, 0x28(r1)') -> ('sth', 'r4, 0x28(r1)'); 14: ('li', 'r21, 0') -> ('li', 'r19, 0'); 45: ('lha', 'r19, 0x10e(r15)') -> ('lha', 'r20, 0x10e(r15)'); 46: ('cmpwi', 'r19, -1') -> ('cmpwi', 'r20, -1'); 48: ('li', 'r19, 0x7d0') -> ('li', 'r20, 0x7d0'); 54: ('lis', 'r14, 0') -> ('lis', 'r16, 0'); 56: ('addi', 'r3, r14, 0') -> ('addi', 'r3, r16, 0'); 62: ('stw', 'r0, 0(r14)') -> ('stw', 'r0, 0(r16)'); 63: ('addi', 'r5, r14, 0') -> ('addi', 'r5, r16, 0'); 65: ('li', 'r14, 0') -> ('li', 'r16, 0')
Round2 AOSS_Init_old: batch 2 successful distinct builds/2 forms, best=(1130, 1300).
Round2 AOSSDecryptMessage: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 AOSSDecryptMessage:321/321/frame60 register/key-state allocation89differences; encrypted payload read only until finalmessagecopy, schedulefields keep actuallayouti/j/bytes/length. No directselfstore-immediate reload evidence for volatile; test readonly payload, loopcursorownership/narrowchecksum/bytepermutation and sumoperand order beforedeclarations.
Round2 AOSSDecryptMessage | encrypted input payload readonly through decryption | sha256=4321a35508f6 | BUILD FAILED c/scene/setting/AOSS.d build/43U/src/src/scene/setting/AOSS.d ### mwcceppc.exe Compiler: # File: src\scene\setting\AOSS.c # --------------------------------- # 1928: memcpy(encrypted, decryptedData, dataLength); # Error: ^ # (10209) illegal implicit conversion from 'const struct # AOSSEncryptedPayload *' to # 'void *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 AOSSDecryptMessage | key scheduling source cursor owned by loop pointer directly | sha256=96417fe6c137 | structural/exact=(0, 87); instructions=321/321; 59: ('lbz', 'r30, 0xe(r26)') -> ('lbz', 'r31, 0xe(r26)'); 69: ('lis', 'r31, 0') -> ('lis', 'r30, 0'); 71: ('addi', 'r3, r31, 0') -> ('addi', 'r3, r30, 0'); 74: ('addi', 'r31, r31, 0') -> ('addi', 'r30, r30, 0'); 76: ('addi', 'r3, r31, 2') -> ('addi', 'r3, r30, 2'); 79: ('mr', 'r4, r31') -> ('mr', 'r4, r30'); 93: ('lwz', 'r8, 0x1c(r1)') -> ('lwz', 'r7, 0x1c(r1)'); 94: ('addi', 'r7, r4, 1') -> ('addi', 'r6, r4, 1'); 95: ('lwz', 'r4, 0x18(r1)') -> ('lwz', 'r8, 0x18(r1)'); 96: ('divwu', 'r6, r7, r8') -> ('divwu', 'r4, r6, r7'); 98: ('mullw', 'r6, r6, r8') -> ('mullw', 'r4, r4, r7'); 99: ('subf', 'r6, r6, r7') -> ('subf', 'r4, r4, r6')
Round2 AOSSDecryptMessage | stream-key sum operands use native index order | sha256=4e00f471d291 | structural/exact=(0, 87); instructions=321/321; 59: ('lbz', 'r30, 0xe(r26)') -> ('lbz', 'r31, 0xe(r26)'); 69: ('lis', 'r31, 0') -> ('lis', 'r30, 0'); 71: ('addi', 'r3, r31, 0') -> ('addi', 'r3, r30, 0'); 74: ('addi', 'r31, r31, 0') -> ('addi', 'r30, r30, 0'); 76: ('addi', 'r3, r31, 2') -> ('addi', 'r3, r30, 2'); 79: ('mr', 'r4, r31') -> ('mr', 'r4, r30'); 93: ('lwz', 'r8, 0x1c(r1)') -> ('lwz', 'r7, 0x1c(r1)'); 94: ('addi', 'r7, r4, 1') -> ('addi', 'r6, r4, 1'); 95: ('lwz', 'r4, 0x18(r1)') -> ('lwz', 'r8, 0x18(r1)'); 96: ('divwu', 'r6, r7, r8') -> ('divwu', 'r4, r6, r7'); 98: ('mullw', 'r6, r6, r8') -> ('mullw', 'r4, r4, r7'); 99: ('subf', 'r6, r6, r7') -> ('subf', 'r4, r4, r6')
Round2 AOSSDecryptMessage | checksum byte uses native narrow value type | sha256=4dde6ad6fac9 | structural/exact=(0, 87); instructions=321/321; 59: ('lbz', 'r30, 0xe(r26)') -> ('lbz', 'r31, 0xe(r26)'); 69: ('lis', 'r31, 0') -> ('lis', 'r30, 0'); 71: ('addi', 'r3, r31, 0') -> ('addi', 'r3, r30, 0'); 74: ('addi', 'r31, r31, 0') -> ('addi', 'r30, r30, 0'); 76: ('addi', 'r3, r31, 2') -> ('addi', 'r3, r30, 2'); 79: ('mr', 'r4, r31') -> ('mr', 'r4, r30'); 93: ('lwz', 'r8, 0x1c(r1)') -> ('lwz', 'r7, 0x1c(r1)'); 94: ('addi', 'r7, r4, 1') -> ('addi', 'r6, r4, 1'); 95: ('lwz', 'r4, 0x18(r1)') -> ('lwz', 'r8, 0x18(r1)'); 96: ('divwu', 'r6, r7, r8') -> ('divwu', 'r4, r6, r7'); 98: ('mullw', 'r6, r6, r8') -> ('mullw', 'r4, r4, r7'); 99: ('subf', 'r6, r6, r7') -> ('subf', 'r4, r4, r6')
Round2 AOSSDecryptMessage | key permutation bytes use native byte values | sha256=4282296fdb97 | structural/exact=(0, 87); instructions=321/321; 59: ('lbz', 'r30, 0xe(r26)') -> ('lbz', 'r31, 0xe(r26)'); 69: ('lis', 'r31, 0') -> ('lis', 'r30, 0'); 71: ('addi', 'r3, r31, 0') -> ('addi', 'r3, r30, 0'); 74: ('addi', 'r31, r31, 0') -> ('addi', 'r30, r30, 0'); 76: ('addi', 'r3, r31, 2') -> ('addi', 'r3, r30, 2'); 79: ('mr', 'r4, r31') -> ('mr', 'r4, r30'); 93: ('lwz', 'r8, 0x1c(r1)') -> ('lwz', 'r7, 0x1c(r1)'); 94: ('addi', 'r7, r4, 1') -> ('addi', 'r6, r4, 1'); 95: ('lwz', 'r4, 0x18(r1)') -> ('lwz', 'r8, 0x18(r1)'); 96: ('divwu', 'r6, r7, r8') -> ('divwu', 'r4, r6, r7'); 98: ('mullw', 'r6, r6, r8') -> ('mullw', 'r4, r4, r7'); 99: ('subf', 'r6, r6, r7') -> ('subf', 'r4, r4, r6')
Round2 AOSSDecryptMessage: batch 4 successful distinct builds/5 forms, best=(0, 87).
Round2 AOSSApplyAuthOptions: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 AuthOptions target/source114same/frame40; config andnetwork_data parameter types are opaque despite native record indexing, nestedresponse readonly correct. Targetflags/mainstate and config subrecord registers exchange. Test realtypedinputs with source-only prototypes, parameterremaining-length ownership, constrecord traversal and scancondition before leadingdeclaration permutations; no immediate volatile reload proof.
Round2 Decrypt four successful distinct sourceforms+110decl builds unchanged87allocationoperands; encrypted const view failed because endcopy overwritespayload, correctly rejected. Init seven successful distinct structuralforms and100decl builds no exact; two1-element option arrays reproduce first14instructions but latercounts/branch/globalallocation stillopen. OriginalAOSSsource restored.
Round2 AOSSApplyAuthOptions | remaining option count handled by original signed parameter | sha256=4310f4855759 | structural/exact=(0, 32); instructions=114/114; 7: ('mr', 'r31, r5') -> ('mr', 'r24, r5'); 10: ('li', 'r29, 0') -> ('li', 'r30, 0'); 14: ('mr', 'r28, r4') -> ('mr', 'r31, r4'); 15: ('li', 'r30, 0') -> ('li', 'r29, 0'); 16: ('lbz', 'r3, 0(r28)') -> ('lbz', 'r3, 0(r31)'); 17: ('lbzx', 'r0, r30, r27') -> ('lbzx', 'r0, r29, r27'); 20: ('lhz', 'r3, 2(r28)') -> ('lhz', 'r3, 2(r31)'); 24: ('subf.', 'r31, r0, r31') -> ('subf.', 'r24, r0, r24'); 25: ('add', 'r28, r28, r0') -> ('add', 'r31, r31, r0'); 29: ('lhz', 'r3, 2(r28)') -> ('lhz', 'r3, 2(r31)'); 30: ('addi', 'r24, r28, 4') -> ('addi', 'r31, r31, 4'); 34: ('clrlwi', 'r31, r3, 0x10') -> ('clrlwi', 'r24, r3, 0x10')
Round2 AOSSApplyAuthOptions | configuration pointer and record index native typed input | sha256=b630f2f015bd | structural/exact=(0, 22); instructions=114/114; 6: ('mr', 'r24, r5') -> ('mr', 'r27, r3'); 7: ('mr', 'r27, r3') -> ('mr', 'r24, r5'); 14: ('mr', 'r29, r4') -> ('mr', 'r31, r4'); 15: ('li', 'r31, 0') -> ('li', 'r29, 0'); 16: ('lbz', 'r3, 0(r29)') -> ('lbz', 'r3, 0(r31)'); 17: ('lbzx', 'r0, r31, r27') -> ('lbzx', 'r0, r29, r27'); 20: ('lhz', 'r3, 2(r29)') -> ('lhz', 'r3, 2(r31)'); 25: ('add', 'r29, r29, r0') -> ('add', 'r31, r31, r0'); 29: ('lhz', 'r3, 2(r29)') -> ('lhz', 'r3, 2(r31)'); 30: ('addi', 'r24, r29, 4') -> ('addi', 'r31, r31, 4'); 34: ('clrlwi', 'r31, r3, 0x10') -> ('clrlwi', 'r24, r3, 0x10'); 42: ('lbz', 'r0, 0(r24)') -> ('lbz', 'r0, 0(r31)')
Round2 AOSSApplyAuthOptions | option traversal pointer arithmetic uses const byte field view | sha256=d305eaea3fd9 | structural/exact=(0, 22); instructions=114/114; 6: ('mr', 'r24, r5') -> ('mr', 'r27, r3'); 7: ('mr', 'r27, r3') -> ('mr', 'r24, r5'); 14: ('mr', 'r29, r4') -> ('mr', 'r31, r4'); 15: ('li', 'r31, 0') -> ('li', 'r29, 0'); 16: ('lbz', 'r3, 0(r29)') -> ('lbz', 'r3, 0(r31)'); 17: ('lbzx', 'r0, r31, r27') -> ('lbzx', 'r0, r29, r27'); 20: ('lhz', 'r3, 2(r29)') -> ('lhz', 'r3, 2(r31)'); 25: ('add', 'r29, r29, r0') -> ('add', 'r31, r31, r0'); 29: ('lhz', 'r3, 2(r29)') -> ('lhz', 'r3, 2(r31)'); 30: ('addi', 'r24, r29, 4') -> ('addi', 'r31, r31, 4'); 34: ('clrlwi', 'r31, r3, 0x10') -> ('clrlwi', 'r24, r3, 0x10'); 42: ('lbz', 'r0, 0(r24)') -> ('lbz', 'r0, 0(r31)')
Round2 AOSSApplyAuthOptions | network data real typed record input | sha256=abc8edc83705 | BUILD FAILED /43U/src/src/scene/setting/AOSS.d ### mwcceppc.exe Compiler: # File: src\scene\setting\AOSS.c # --------------------------------- # 1760: s_networkBuffer); # Error: ^ # (10209) illegal implicit conversion from 'unsigned char[640]' to # 'struct AOSSNetworkBufferRecord *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
Round2 AOSSApplyAuthOptions | response scan is condition checked loop | sha256=f63188160d82 | structural/exact=(11, 104); instructions=115/114; 6: ('mr', 'r24, r5') -> ('mr', 'r27, r3'); 7: ('mr', 'r27, r3') -> ('mr', 'r24, r5'); 13: ('b', '384') -> ('b', '380'); 14: ('mr', 'r29, r4') -> ('mr', 'r31, r4'); 15: ('li', 'r31, 0') -> ('li', 'r29, 0'); 16: ('b', '40') -> ('lbz', 'r3, 0(r31)'); 17: ('lhz', 'r3, 2(r29)') -> ('lbzx', 'r0, r29, r27'); 18: ('bl', '0') -> ('cmplw', 'r3, r0'); 19: ('clrlwi', 'r3, r3, 0x10') -> ('beq', '40'); 20: ('addi', 'r0, r3, 4') -> ('lhz', 'r3, 2(r31)'); 21: ('subf.', 'r24, r0, r24') -> ('bl', '0'); 22: ('add', 'r29, r29, r0') -> ('clrlwi', 'r3, r3, 0x10')
Round2 AOSSApplyAuthOptions: batch 4 successful distinct builds/5 forms, best=(0, 22).
Round2 AOSSSendHelloRequest: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 HelloRequest271target273frame60; aggregate construction groups socket/8Bhello/8Baccesspoint/key-schedule whereas targetglobalCRC/keyaddresshoisting distinct. Test real independentlocals/constrequest/CRCcursor/streamsum and explicit initialized actualglobals beforedeclaration tuning. No paddingobject/no handplaceddata introduced; globalinitializer trials must preserve older exactfunctions or be rejected.
Round2 AOSSSendHelloRequest | request input read-only native record view | sha256=7f4dcc4f0825 | structural/exact=(33, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest | independent addressable hello/key/socket objects at true local boundaries | sha256=2793307cff78 | structural/exact=(39, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest | checksum XOR uses native accumulator ordering | sha256=db43841851de | structural/exact=(33, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest | stream permutation sum matches index-first operand ownership | sha256=481f074b3c56 | structural/exact=(33, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest | CRC table address spelled as first typed array element | sha256=023abe987191 | structural/exact=(33, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest: batch 5 successful distinct builds/5 forms, best=(33, 254).
Round2 AOSSSendHelloRequest | real CRC table explicitly zero-initialized at definition | sha256=2bf3fcbc7aad | structural/exact=(31, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest | real packet state explicitly zero-initialized at definition | sha256=586bd44de7e5 | structural/exact=(31, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest | CRC input hello bytes through readonly pointer helper | sha256=9962f24d328e | structural/exact=(33, 254); instructions=271/273; 5: ('lis', 'r31, 0') -> ('lwz', 'r28, 0(0)'); 6: ('lwz', 'r29, 0(0)') -> ('mr', 'r26, r4'); 7: ('mr', 'r25, r4') -> ('mr', 'r27, r5'); 8: ('mr', 'r26, r5') -> ('addi', 'r3, r1, 0x18'); 9: ('addi', 'r31, r31, 0') -> ('li', 'r30, 0'); 10: ('addi', 'r3, r1, 0x18') -> ('li', 'r29, 0'); 11: ('li', 'r30, 0') -> ('li', 'r4, 0'); 12: ('li', 'r27, 0') -> ('li', 'r5, 8'); 13: ('li', 'r4, 0') -> ('bl', '0'); 14: ('li', 'r5, 8') -> ('mr', 'r3, r28'); 15: ('bl', '0') -> ('li', 'r4, 0'); 16: ('mr', 'r3, r29') -> ('li', 'r5, 0x5dc')
Round2 AOSSSendHelloRequest: batch 3 successful distinct builds/3 forms, best=(31, 254).
Round2 AOSSXorBufferWithKey: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 XorBuffer147/147frame40; stable34allocation operands in eightfold-unrolled XOR loop, targetpacket readr6/keyreadr0 then result/keytemporaryowned byr0 whereas sourcevalueowned byr6. Pointerpair offsets derive mask and packet separately; no layout/frame/branch/volatile cause. Test actualreadonlykeyproto, expressiontemporary ownership and native loopforms beforedeclaration permutation. CR1remaining odiff2branchdiffs are relocation-position artifacts, use byte-relativedeclsearch for authority as well.
Round2 AOSSXorBufferWithKey | actual key input is readonly in definition and prototype | sha256=695218a93235 | structural/exact=(10, 108); instructions=146/147; 18: ('b', '488') -> ('b', '492'); 27: ('b', '452') -> ('b', '456'); 39: ('ble', '48') -> ('ble', '52'); 40: ('lbzx', 'r0, r23, r5') -> ('stb', 'r6, 0(r3)'); 42: ('addi', 'r5, r5, 1') -> ('lbzx', 'r0, r23, r5'); 43: ('xor', 'r0, r4, r0') -> ('addi', 'r5, r5, 1'); 45: ('stb', 'r0, 0(r3)') -> ('xor', 'r0, r4, r0'); 46: ('blt', '8') -> ('stb', 'r0, 0(r3)'); 47: ('li', 'r5, 0') -> ('blt', '8'); 48: ('addi', 'r6, r6, 1') -> ('li', 'r5, 0'); 49: ('addi', 'r3, r3, 1') -> ('addi', 'r6, r6, 1'); 50: ('bdnz', '-40') -> ('addi', 'r3, r3, 1')
Round2 AOSSXorBufferWithKey | round increment and wrap condition explicit branch | sha256=e01703301227 | structural/exact=(1, 35); instructions=147/147; 47: ('bne', '8') -> ('blt', '8'); 72: ('add', 'r4, r28, r3') -> ('add', 'r4, r26, r3'); 74: ('add', 'r5, r26, r3') -> ('add', 'r5, r28, r3'); 75: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 76: ('stbx', 'r6, r28, r3') -> ('stbx', 'r0, r28, r3'); 78: ('lbz', 'r6, 1(r4)') -> ('lbz', 'r6, 1(r5)'); 79: ('lbz', 'r0, 1(r5)') -> ('lbz', 'r0, 1(r4)'); 80: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 81: ('stb', 'r6, 1(r4)') -> ('stb', 'r0, 1(r5)'); 82: ('lbz', 'r6, 2(r4)') -> ('lbz', 'r6, 2(r5)'); 83: ('lbz', 'r0, 2(r5)') -> ('lbz', 'r0, 2(r4)'); 84: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0')
Round2 AOSSXorBufferWithKey | key XOR one expression, byte index converted once | sha256=750b339435c6 | structural/exact=(10, 108); instructions=146/147; 18: ('b', '488') -> ('b', '492'); 27: ('b', '452') -> ('b', '456'); 39: ('ble', '48') -> ('ble', '52'); 40: ('lbzx', 'r0, r23, r5') -> ('stb', 'r6, 0(r3)'); 42: ('addi', 'r5, r5, 1') -> ('lbzx', 'r0, r23, r5'); 43: ('xor', 'r0, r4, r0') -> ('addi', 'r5, r5, 1'); 45: ('stb', 'r0, 0(r3)') -> ('xor', 'r0, r4, r0'); 46: ('blt', '8') -> ('stb', 'r0, 0(r3)'); 47: ('li', 'r5, 0') -> ('blt', '8'); 48: ('addi', 'r6, r6, 1') -> ('li', 'r5, 0'); 49: ('addi', 'r3, r3, 1') -> ('addi', 'r6, r6, 1'); 50: ('bdnz', '-40') -> ('addi', 'r3, r3, 1')
Round2 AOSSXorBufferWithKey | XOR data loop uses native word temporary | sha256=50a8881ff009 | structural/exact=(0, 34); instructions=147/147; 72: ('add', 'r4, r28, r3') -> ('add', 'r4, r26, r3'); 74: ('add', 'r5, r26, r3') -> ('add', 'r5, r28, r3'); 75: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 76: ('stbx', 'r6, r28, r3') -> ('stbx', 'r0, r28, r3'); 78: ('lbz', 'r6, 1(r4)') -> ('lbz', 'r6, 1(r5)'); 79: ('lbz', 'r0, 1(r5)') -> ('lbz', 'r0, 1(r4)'); 80: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 81: ('stb', 'r6, 1(r4)') -> ('stb', 'r0, 1(r5)'); 82: ('lbz', 'r6, 2(r4)') -> ('lbz', 'r6, 2(r5)'); 83: ('lbz', 'r0, 2(r5)') -> ('lbz', 'r0, 2(r4)'); 84: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 85: ('stb', 'r6, 2(r4)') -> ('stb', 'r0, 2(r5)')
Round2 AOSSXorBufferWithKey | two rounds use while countdown instead of indexed for | sha256=0981c40d746e | structural/exact=(0, 34); instructions=147/147; 72: ('add', 'r4, r28, r3') -> ('add', 'r4, r26, r3'); 74: ('add', 'r5, r26, r3') -> ('add', 'r5, r28, r3'); 75: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 76: ('stbx', 'r6, r28, r3') -> ('stbx', 'r0, r28, r3'); 78: ('lbz', 'r6, 1(r4)') -> ('lbz', 'r6, 1(r5)'); 79: ('lbz', 'r0, 1(r5)') -> ('lbz', 'r0, 1(r4)'); 80: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 81: ('stb', 'r6, 1(r4)') -> ('stb', 'r0, 1(r5)'); 82: ('lbz', 'r6, 2(r4)') -> ('lbz', 'r6, 2(r5)'); 83: ('lbz', 'r0, 2(r5)') -> ('lbz', 'r0, 2(r4)'); 84: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 85: ('stb', 'r6, 2(r4)') -> ('stb', 'r0, 2(r5)')
Round2 AOSSXorBufferWithKey: batch 5 successful distinct builds/5 forms, best=(0, 34).
Round2 AOSSXorBufferWithKey | XOR key byte before packet byte assignment | sha256=4938055e9878 | structural/exact=(0, 44); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r26, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r3, r28, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r26, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey | key byte temporary owns XOR operation | sha256=1ec11fc5b93e | structural/exact=(0, 44); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r26, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r3, r28, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r26, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey | packet update uses compound XOR with key byte | sha256=5a3158161867 | structural/exact=(0, 44); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r28, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r3, r26, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r26, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r28, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey | two actual byte operands loaded in key-first order | sha256=3dc7dece7182 | structural/exact=(0, 44); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r26, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r3, r28, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r26, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey: batch 4 successful distinct builds/4 forms, best=(0, 44).
Round2 AOSSXorBufferWithKey | mask temporary receives packet-first XOR expression | sha256=714ce570fa34 | structural/exact=(0, 44); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r26, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r4, r26, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r3, r28, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey | mask temporary updated by compound packet XOR | sha256=1e06425245d4 | structural/exact=(0, 29); instructions=147/147; 71: ('lbzx', 'r6, r26, r3') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r5, r26, r3') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r3') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r28, r3') -> ('add', 'r5, r28, r3'); 75: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 76: ('stbx', 'r6, r28, r3') -> ('stbx', 'r0, r28, r3'); 80: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 81: ('stb', 'r6, 1(r4)') -> ('stb', 'r0, 1(r5)'); 84: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 85: ('stb', 'r6, 2(r4)') -> ('stb', 'r0, 2(r5)'); 88: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 89: ('stb', 'r6, 3(r4)') -> ('stb', 'r0, 3(r5)')
Round2 AOSSXorBufferWithKey | XOR expression through genuine temporary result byte | sha256=f5d2fcbe5726 | structural/exact=(0, 37); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r28, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r4, r26, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r26, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r3, r28, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey | native word mask temporary receives packet-first XOR | sha256=4211561c066f | structural/exact=(0, 29); instructions=147/147; 71: ('lbzx', 'r6, r26, r3') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r5, r26, r3') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r3') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r28, r3') -> ('add', 'r5, r28, r3'); 75: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 76: ('stbx', 'r6, r28, r3') -> ('stbx', 'r0, r28, r3'); 80: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 81: ('stb', 'r6, 1(r4)') -> ('stb', 'r0, 1(r5)'); 84: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 85: ('stb', 'r6, 2(r4)') -> ('stb', 'r0, 2(r5)'); 88: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 89: ('stb', 'r6, 3(r4)') -> ('stb', 'r0, 3(r5)')
Round2 AOSSXorBufferWithKey: batch 4 successful distinct builds/4 forms, best=(0, 29).
Round2 AOSSXorBufferWithKey | actual XOR temporary lifetime belongs to whole routine | sha256=b8c9d53a3db5 | structural/exact=(0, 37); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r28, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r4, r26, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r26, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r3, r28, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey | mask temporary lifetime belongs to whole routine | sha256=e17b50add43e | structural/exact=(0, 29); instructions=147/147; 71: ('lbzx', 'r6, r26, r3') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r5, r26, r3') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r3') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r28, r3') -> ('add', 'r5, r28, r3'); 75: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 76: ('stbx', 'r6, r28, r3') -> ('stbx', 'r0, r28, r3'); 80: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 81: ('stb', 'r6, 1(r4)') -> ('stb', 'r0, 1(r5)'); 84: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 85: ('stb', 'r6, 2(r4)') -> ('stb', 'r0, 2(r5)'); 88: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 89: ('stb', 'r6, 3(r4)') -> ('stb', 'r0, 3(r5)')
Round2 AOSSXorBufferWithKey | mask word lifetime belongs to whole routine | sha256=55918ef99ba8 | structural/exact=(0, 29); instructions=147/147; 71: ('lbzx', 'r6, r26, r3') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r5, r26, r3') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r28, r3') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r4, r28, r3') -> ('add', 'r5, r28, r3'); 75: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 76: ('stbx', 'r6, r28, r3') -> ('stbx', 'r0, r28, r3'); 80: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 81: ('stb', 'r6, 1(r4)') -> ('stb', 'r0, 1(r5)'); 84: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 85: ('stb', 'r6, 2(r4)') -> ('stb', 'r0, 2(r5)'); 88: ('xor', 'r6, r6, r0') -> ('xor', 'r0, r6, r0'); 89: ('stb', 'r6, 3(r4)') -> ('stb', 'r0, 3(r5)')
Round2 AOSSXorBufferWithKey | separate XOR inputs scoped at native round boundary | sha256=4df2f2ecc10b | structural/exact=(0, 37); instructions=147/147; 53: ('li', 'r5, 0') -> ('li', 'r3, 0'); 56: ('addi', 'r3, r29, -8') -> ('addi', 'r4, r29, -8'); 58: ('li', 'r4, 0') -> ('li', 'r5, 0'); 63: ('li', 'r4, 1') -> ('li', 'r5, 1'); 64: ('cmpwi', 'r4, 0') -> ('cmpwi', 'r5, 0'); 66: ('addi', 'r0, r3, 7') -> ('addi', 'r0, r4, 7'); 69: ('cmpwi', 'r3, 0') -> ('cmpwi', 'r4, 0'); 71: ('lbzx', 'r6, r28, r5') -> ('lbzx', 'r6, r28, r3'); 72: ('add', 'r4, r26, r5') -> ('add', 'r4, r26, r3'); 73: ('lbzx', 'r0, r26, r5') -> ('lbzx', 'r0, r26, r3'); 74: ('add', 'r3, r28, r5') -> ('add', 'r5, r28, r3'); 76: ('stbx', 'r0, r28, r5') -> ('stbx', 'r0, r28, r3')
Round2 AOSSXorBufferWithKey: batch 4 successful distinct builds/4 forms, best=(0, 29).
Round2 CheckBS2CommandStatus | real TOC pointer global and native assigned record | sha256=17d0c46590ff | structural/exact=(2, 2); instructions=406/406; 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r6, 0(0)') -> ('slwi', 'r3, r3, 3')
Round2 CheckBS2CommandStatus | typed TOC field access without integer-cast alias barrier | sha256=ac01c3438aaa | structural/exact=(2, 2); instructions=406/406; 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r6, 0(0)') -> ('slwi', 'r3, r3, 3')
Round2 CheckBS2CommandStatus | typed TOC pointer with readonly field view in status checker | sha256=c0e1b31b8c16 | structural/exact=(2, 2); instructions=406/406; 179: ('slwi', 'r3, r3, 3') -> ('stw', 'r6, 0(0)'); 180: ('stw', 'r6, 0(0)') -> ('slwi', 'r3, r3, 3')
Round2 CheckBS2CommandStatus: batch 3 successful distinct builds/3 forms, best=(2, 2).
Round2 CheckStatus additional real global-TOC pointer/field alias forms attempted; if noexact restore. Mach structure polling corrections remain provisional: new counts393/393 and98.72774 vs95.496185, gate PASS/zero regressions, but noinstruction-exact gain yet; no other state/prototype/global volatility is inferred without target proof.
Round2 AOSSXorBufferWithKey | actual byte-mask loop inline helper const u8* form0 | sha256=eda88437cb80 | structural/exact=(79, 134); instructions=81/147; 0: ('stwu', 'r1, -0x30(r1)') -> ('stwu', 'r1, -0x40(r1)'); 2: ('stw', 'r0, 0x34(r1)') -> ('stw', 'r0, 0x44(r1)'); 3: ('addi', 'r11, r1, 0x30') -> ('addi', 'r11, r1, 0x40'); 6: ('mr', 'r28, r3') -> ('mr', 'r21, r3'); 8: ('mr', 'r29, r4') -> ('mr', 'r22, r4'); 9: ('srawi', 'r26, r0, 1') -> ('srawi', 'r29, r0, 1'); 10: ('mr', 'r30, r5') -> ('mr', 'r23, r5'); 11: ('mr', 'r31, r6') -> ('mr', 'r24, r6'); 12: ('mr', 'r3, r26') -> ('mr', 'r3, r29'); 15: ('mr', 'r23, r3') -> ('mr', 'r26, r3'); 18: ('b', '228') -> ('b', '492'); 19: ('mr', 'r3, r29') -> ('mr', 'r3, r22')
Round2 AOSSXorBufferWithKey | actual byte-mask loop inline helper const u8* form1 | sha256=01186387dc93 | structural/exact=(79, 134); instructions=81/147; 0: ('stwu', 'r1, -0x30(r1)') -> ('stwu', 'r1, -0x40(r1)'); 2: ('stw', 'r0, 0x34(r1)') -> ('stw', 'r0, 0x44(r1)'); 3: ('addi', 'r11, r1, 0x30') -> ('addi', 'r11, r1, 0x40'); 6: ('mr', 'r28, r3') -> ('mr', 'r21, r3'); 8: ('mr', 'r29, r4') -> ('mr', 'r22, r4'); 9: ('srawi', 'r26, r0, 1') -> ('srawi', 'r29, r0, 1'); 10: ('mr', 'r30, r5') -> ('mr', 'r23, r5'); 11: ('mr', 'r31, r6') -> ('mr', 'r24, r6'); 12: ('mr', 'r3, r26') -> ('mr', 'r3, r29'); 15: ('mr', 'r23, r3') -> ('mr', 'r26, r3'); 18: ('b', '228') -> ('b', '492'); 19: ('mr', 'r3, r29') -> ('mr', 'r3, r22')
Round2 AOSSXorBufferWithKey | actual byte-mask loop inline helper u8* form0 | sha256=dba668a0c733 | structural/exact=(79, 134); instructions=81/147; 0: ('stwu', 'r1, -0x30(r1)') -> ('stwu', 'r1, -0x40(r1)'); 2: ('stw', 'r0, 0x34(r1)') -> ('stw', 'r0, 0x44(r1)'); 3: ('addi', 'r11, r1, 0x30') -> ('addi', 'r11, r1, 0x40'); 6: ('mr', 'r28, r3') -> ('mr', 'r21, r3'); 8: ('mr', 'r29, r4') -> ('mr', 'r22, r4'); 9: ('srawi', 'r26, r0, 1') -> ('srawi', 'r29, r0, 1'); 10: ('mr', 'r30, r5') -> ('mr', 'r23, r5'); 11: ('mr', 'r31, r6') -> ('mr', 'r24, r6'); 12: ('mr', 'r3, r26') -> ('mr', 'r3, r29'); 15: ('mr', 'r23, r3') -> ('mr', 'r26, r3'); 18: ('b', '228') -> ('b', '492'); 19: ('mr', 'r3, r29') -> ('mr', 'r3, r22')
Round2 AOSSXorBufferWithKey | actual byte-mask loop inline helper u8* form1 | sha256=8878506955d0 | structural/exact=(79, 134); instructions=81/147; 0: ('stwu', 'r1, -0x30(r1)') -> ('stwu', 'r1, -0x40(r1)'); 2: ('stw', 'r0, 0x34(r1)') -> ('stw', 'r0, 0x44(r1)'); 3: ('addi', 'r11, r1, 0x30') -> ('addi', 'r11, r1, 0x40'); 6: ('mr', 'r28, r3') -> ('mr', 'r21, r3'); 8: ('mr', 'r29, r4') -> ('mr', 'r22, r4'); 9: ('srawi', 'r26, r0, 1') -> ('srawi', 'r29, r0, 1'); 10: ('mr', 'r30, r5') -> ('mr', 'r23, r5'); 11: ('mr', 'r31, r6') -> ('mr', 'r24, r6'); 12: ('mr', 'r3, r26') -> ('mr', 'r3, r29'); 15: ('mr', 'r23, r3') -> ('mr', 'r26, r3'); 18: ('b', '228') -> ('b', '492'); 19: ('mr', 'r3, r29') -> ('mr', 'r3, r22')
Round2 AOSSXorBufferWithKey: batch 4 successful distinct builds/4 forms, best=(79, 134).
Round2 closing searches: UpdateThread100 leading-local declarations improved only743→729operand differences (structural109 unchanged); discarded permutations and restored committed Init match. Hello8successfully compiled sourceforms +90broad/50proper scalar declarationsearch no exact; original restored. Xor21successfully built expression/type/inline-boundary/scope forms, baseline118declarations and mask-temp118declarations: best29register differences vs baseline34, no exact; restored baseline. No new source/helper/data definitions retained in AOSS.
Round2 provisional kept source is only faithful BS2StartGame async poll correction: target393/393, remainingfive initial lis/store scheduling andfive MMIO value/address register operands. TU-only DVD state volatile field and globalLowReadResult are justified by targetempty polls and immediate rereads; no other unit sees qualifiedfield. This is explicitly fuzzy structural progress, not an exact function. Final gate will decide retention; primary exact gain BS2UpdateInit already committed fcbd5a29.
Round2 final open-function completeness audit (fresh report; compiled source SHA variants counted, build failures excluded):
Round2 open libs/RVL_SDK/src/fa/api/FAAttach::FAAttach 99.36%; 9 distinct successful source forms; instructions[125, 125]; structural/operand(0, 10).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_8148302C 99.49152%; 5 distinct successful source forms; instructions[59, 59]; structural/operand(0, 6).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_81483264 98.902435%; 6 distinct successful source forms; instructions[41, 41]; structural/operand(0, 8).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_81483308 99.13793%; 5 distinct successful source forms; instructions[58, 58]; structural/operand(0, 9).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_814833F0 99.04256%; 5 distinct successful source forms; instructions[47, 47]; structural/operand(0, 8).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_814834AC 99.3586%; 8 distinct successful source forms; instructions[344, 343]; structural/operand(1, 329).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8GetKOcandidates 97.96712%; 6 distinct successful source forms; instructions[673, 669]; structural/operand(30, 645).
Round2 open src/system/iplKeyboard::create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap 94.00944%; 7 distinct successful source forms; instructions[318, 318]; structural/operand(42, 210).
Round2 open src/BS2/BS2Update::UpdateThread 92.33406%; 9 distinct successful source forms; instructions[902, 913]; structural/operand(109, 744).
Round2 open src/channelScript/CHANSVm::CHANSVmConvertToFloatFromStr 97.59036%; 6 distinct successful source forms; instructions[83, 83]; structural/operand(2, 2).
Round2 open src/channelScript/CHANSVm::VmDateDtor 94.96703%; 4 distinct successful source forms; instructions[91, 91]; structural/operand(5, 7).
Round2 open src/channelScript/CHANSVm::VmStringReplace 97.878784%; 3 distinct successful source forms; instructions[132, 132]; structural/operand(0, 40).
Round2 open src/channelScript/CHANSVm::VmStringSplit 98.04054%; 4 distinct successful source forms; instructions[222, 222]; structural/operand(0, 66).
Round2 open src/channelScript/CHANSVm::CHANSVmFormatString 99.84919%; 6 distinct successful source forms; instructions[431, 431]; structural/operand(0, 13).
Round2 open src/channelScript/CHANSVm::VmBlobGetHexString 98.71951%; 4 distinct successful source forms; instructions[82, 82]; structural/operand(0, 14).
Round2 open src/channelScript/CHANSVm::VmBlobPackCommon 97.949104%; 4 distinct successful source forms; instructions[668, 668]; structural/operand(0, 244).
Round2 open src/channelScript/CHANSVm::VmBlobUnpack 98.452614%; 5 distinct successful source forms; instructions[517, 517]; structural/operand(0, 141).
Round2 open src/channelScript/CHANSVm::VmWinEmuWrite 99.62687%; 4 distinct successful source forms; instructions[67, 67]; structural/operand(0, 5).
Round2 open src/channelScript/CHANSVm::CHANSVmAddExe 99.625984%; 4 distinct successful source forms; instructions[254, 254]; structural/operand(0, 16).
Round2 open src/channelScript/CHANSVm::CHANSVmLinkModules 98.677246%; 4 distinct successful source forms; instructions[189, 189]; structural/operand(0, 43).
Round2 open src/channelScript/CHANSVm::CHANSVmStep 96.46608%; 5 distinct successful source forms; instructions[1253, 1253]; structural/operand(65, 313).
Round2 open src/BS2/BS2Mach::Run 16.744186%; 3 distinct successful source forms; instructions[11, 43]; structural/operand(40, 42).
Round2 open src/BS2/BS2Mach::BS2StartGame 98.72774%; 17 distinct successful source forms; instructions[393, 393]; structural/operand(4, 10).
Round2 open src/BS2/BS2Mach::BS2StartGCGame 99.5614%; 8 distinct successful source forms; instructions[228, 228]; structural/operand(2, 7).
Round2 open src/BS2/BS2Mach::CheckBS2CommandStatus 99.50739%; 13 distinct successful source forms; instructions[406, 406]; structural/operand(2, 2).
Round2 open src/BS2/BS2Mach::BS2Tick 98.230415%; 4 distinct successful source forms; instructions[1934, 1940]; structural/operand(136, 1665).
Round2 open src/scene/setting/AOSS::AOSS_Init_old 93.78725%; 7 distinct successful source forms; instructions[1575, 1584]; structural/operand(1141, 1524).
Round2 open src/scene/setting/AOSS::AOSSDecryptMessage 97.74143%; 4 distinct successful source forms; instructions[321, 321]; structural/operand(0, 87).
Round2 open src/scene/setting/AOSS::AOSSApplyAuthOptions 98.77193%; 4 distinct successful source forms; instructions[114, 114]; structural/operand(0, 22).
Round2 open src/scene/setting/AOSS::AOSSSendHelloRequest 92.190475%; 8 distinct successful source forms; instructions[271, 273]; structural/operand(33, 254).
Round2 open src/scene/setting/AOSS::AOSSXorBufferWithKey 98.605446%; 21 distinct successful source forms; instructions[147, 147]; structural/operand(0, 34).
Round2 audit 31 remaining functions, all>=3=True; data pairing/extent proof recorded per unit; all failed/fuzzy-only declaration permutations restored.
Round2 pre-final seven-unit gate PASS: unchanged data/exact counts outside Init; global regressions0, forbidden0, readability0, full DOL SHA1 exact. Retain structurally proven asynchronous poll correction (fuzzy98.72774, not matched), discard all other search source edits. All31 remainingopenfunctions have3..21 distinct successfully compiled source forms in fresh audit.
Round2 UpdateThread: fetched origin b6687e9ff9e0; remote owned source/context unchanged, existing nonexact status confirmed.
Round2 final context revisit: current independently initialized thread/stack changes common BSS context; revisit proven rc immediate rereads with original signed type preserved (earlier four unsigned/global variants were before Init context fix). Target d5c store→d64lwz (onlyaddi between), e48store→e50lwz, with no interveningcall, proves definition staticvolatile s32 rc. Freshfetch no externalowned changes. Test and gate before retaining.
Round2 UpdateThread | signed static callback result has proven definition-level volatile | sha256=9b3d4fb5df52 | structural/exact=(97, 745); instructions=904/913; exact Init preserved and real rereads restored.
Round2 signed rc qualification gate PASS: UpdateThread92.33406→93.59803, two real immediate reloads restored904/913, Init remains exact9/10/code400 and data10488; all baseline exactfunctions preserved, global regressions0/forbidden0/readability0. Retain proven qualifier as structural partial progress, not a second exact function. Last all-seven clean gate will be rerun after this source change.
Round2 final open-function completeness audit (fresh report; compiled source SHA variants counted, build failures excluded):
Round2 open libs/RVL_SDK/src/fa/api/FAAttach::FAAttach 99.36%; 9 distinct successful source forms; instructions[125, 125]; structural/operand(0, 10).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_8148302C 99.49152%; 5 distinct successful source forms; instructions[59, 59]; structural/operand(0, 6).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_81483264 98.902435%; 6 distinct successful source forms; instructions[41, 41]; structural/operand(0, 8).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_81483308 99.13793%; 5 distinct successful source forms; instructions[58, 58]; structural/operand(0, 9).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_814833F0 99.04256%; 5 distinct successful source forms; instructions[47, 47]; structural/operand(0, 8).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_814834AC 99.3586%; 8 distinct successful source forms; instructions[344, 343]; structural/operand(1, 329).
Round2 open libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8GetKOcandidates 97.96712%; 6 distinct successful source forms; instructions[673, 669]; structural/operand(30, 645).
Round2 open src/system/iplKeyboard::create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap 94.00944%; 7 distinct successful source forms; instructions[318, 318]; structural/operand(42, 210).
Round2 open src/BS2/BS2Update::UpdateThread 93.59803%; 10 distinct successful source forms; instructions[904, 913]; structural/operand(97, 745).
Round2 open src/channelScript/CHANSVm::CHANSVmConvertToFloatFromStr 97.59036%; 6 distinct successful source forms; instructions[83, 83]; structural/operand(2, 2).
Round2 open src/channelScript/CHANSVm::VmDateDtor 94.96703%; 4 distinct successful source forms; instructions[91, 91]; structural/operand(5, 7).
Round2 open src/channelScript/CHANSVm::VmStringReplace 97.878784%; 3 distinct successful source forms; instructions[132, 132]; structural/operand(0, 40).
Round2 open src/channelScript/CHANSVm::VmStringSplit 98.04054%; 4 distinct successful source forms; instructions[222, 222]; structural/operand(0, 66).
Round2 open src/channelScript/CHANSVm::CHANSVmFormatString 99.84919%; 6 distinct successful source forms; instructions[431, 431]; structural/operand(0, 13).
Round2 open src/channelScript/CHANSVm::VmBlobGetHexString 98.71951%; 4 distinct successful source forms; instructions[82, 82]; structural/operand(0, 14).
Round2 open src/channelScript/CHANSVm::VmBlobPackCommon 97.949104%; 4 distinct successful source forms; instructions[668, 668]; structural/operand(0, 244).
Round2 open src/channelScript/CHANSVm::VmBlobUnpack 98.452614%; 5 distinct successful source forms; instructions[517, 517]; structural/operand(0, 141).
Round2 open src/channelScript/CHANSVm::VmWinEmuWrite 99.62687%; 4 distinct successful source forms; instructions[67, 67]; structural/operand(0, 5).
Round2 open src/channelScript/CHANSVm::CHANSVmAddExe 99.625984%; 4 distinct successful source forms; instructions[254, 254]; structural/operand(0, 16).
Round2 open src/channelScript/CHANSVm::CHANSVmLinkModules 98.677246%; 4 distinct successful source forms; instructions[189, 189]; structural/operand(0, 43).
Round2 open src/channelScript/CHANSVm::CHANSVmStep 96.46608%; 5 distinct successful source forms; instructions[1253, 1253]; structural/operand(65, 313).
Round2 open src/BS2/BS2Mach::Run 16.744186%; 3 distinct successful source forms; instructions[11, 43]; structural/operand(40, 42).
Round2 open src/BS2/BS2Mach::BS2StartGame 98.72774%; 17 distinct successful source forms; instructions[393, 393]; structural/operand(4, 10).
Round2 open src/BS2/BS2Mach::BS2StartGCGame 99.5614%; 8 distinct successful source forms; instructions[228, 228]; structural/operand(2, 7).
Round2 open src/BS2/BS2Mach::CheckBS2CommandStatus 99.50739%; 13 distinct successful source forms; instructions[406, 406]; structural/operand(2, 2).
Round2 open src/BS2/BS2Mach::BS2Tick 98.230415%; 4 distinct successful source forms; instructions[1934, 1940]; structural/operand(136, 1665).
Round2 open src/scene/setting/AOSS::AOSS_Init_old 93.78725%; 7 distinct successful source forms; instructions[1575, 1584]; structural/operand(1141, 1524).
Round2 open src/scene/setting/AOSS::AOSSDecryptMessage 97.74143%; 4 distinct successful source forms; instructions[321, 321]; structural/operand(0, 87).
Round2 open src/scene/setting/AOSS::AOSSApplyAuthOptions 98.77193%; 4 distinct successful source forms; instructions[114, 114]; structural/operand(0, 22).
Round2 open src/scene/setting/AOSS::AOSSSendHelloRequest 92.190475%; 8 distinct successful source forms; instructions[271, 273]; structural/operand(33, 254).
Round2 open src/scene/setting/AOSS::AOSSXorBufferWithKey 98.605446%; 21 distinct successful source forms; instructions[147, 147]; structural/operand(0, 34).
Round2 audit 31 remaining functions, all>=3=True; data pairing/extent proof recorded per unit; all failed/fuzzy-only declaration permutations restored.
Round2 final full nonquick gate across allseven units PASS after final source change; clean 43U build/DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d; zero global regressions, forbidden additions, readability warnings. Instruction-exact BS2Update8→9, code112→400, data10488unchanged. Only one newly exact function, BS2UpdateInit; Thread and DVD polling improvements remain fuzzy and are reported as such.
Round2 final original ELF neighbour audit: all nonzero function extents in allseven owned objects do not overlap nextdistinct symbol; UpdateThread and AOSS_Init_old both terminate at real epilogueblr. No functionextent changed. The only extentcorrection is dataThread0x1318→0x318 with OSThread/stack-pointer relocation proof above.
Round2 source commits: fcbd5a29 exact Init/Thread data extent; 9ab3eb81 target-proven DVD state/poll partial; ce9cff4f target-proven signed rc reload partial. Final detailed artifact tools/decomp-assist/fz1.r2.report.md and complete raw gate tools/decomp-assist/fz1.r2.final-gate.txt. Existing untracked earlier artifacts untouched.

View File

@@ -0,0 +1,107 @@
full build: ok
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
[libs/RVL_SDK/src/fa/api/FAAttach] pool: IDENTICAL
[libs/RVL_SDK/src/fa/api/FAAttach] objdiff: code None/500 data 240/240 functions 0/1 fuzzy 99.3600 linked code 0
[libs/RVL_SDK/src/fa/api/FAAttach] instruction-exact functions: 0/1
[libs/RVL_SDK/src/fa/api/FAAttach] section .bss size 208 match 100.0
[libs/RVL_SDK/src/fa/api/FAAttach] section .data size 24 match 100.0
[libs/RVL_SDK/src/fa/api/FAAttach] section .sdata size 8 match 100.0
[libs/RVL_SDK/src/fa/api/FAAttach] section .text size 500 match 99.36
[libs/RVL_SDK/src/fa/api/FAAttach] below 100: FAAttach 99.36
[libs/RVL_SDK/src/fa/api/FAAttach] baseline: code None/500 data 240 functions 0 fuzzy 99.3600
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] pool: IDENTICAL
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] objdiff: code 332/5200 data 96/180 functions 1/7 fuzzy 98.6539 linked code 0
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] instruction-exact functions: 1/7
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] section .data size 40 match 100.0
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] section .text size 5200 match 98.65385
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] section extab size 56 match 100.0
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] section extabindex size 84 match 97.61904
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] below 100: Zi8_8148302C 99.49152
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] below 100: Zi8_81483264 98.902435
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] below 100: Zi8_81483308 99.13793
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] below 100: Zi8_814833F0 99.04256
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] below 100: Zi8_814834AC 99.3586
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] below 100: Zi8GetKOcandidates 97.96712
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] baseline: code 332/5200 data 96 functions 1 fuzzy 98.6539
[src/system/iplKeyboard] pool: IDENTICAL
[src/system/iplKeyboard] objdiff: code 4752/6024 data 1184/1184 functions 31/32 fuzzy 98.7351 linked code 0
[src/system/iplKeyboard] instruction-exact functions: 31/32
[src/system/iplKeyboard] section .data size 1168 match 100.0
[src/system/iplKeyboard] section .sdata size 8 match 100.0
[src/system/iplKeyboard] section .sdata2 size 8 match 100.0
[src/system/iplKeyboard] section .text size 6024 match 98.73506
[src/system/iplKeyboard] below 100: create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap 94.00944
[src/system/iplKeyboard] baseline: code 4752/6024 data 1184 functions 31 fuzzy 98.7351
[src/BS2/BS2Update] pool: IDENTICAL
[src/BS2/BS2Update] objdiff: code 400/4052 data 10488/10488 functions 9/10 fuzzy 94.2300 linked code 0
[src/BS2/BS2Update] instruction-exact functions: 9/10
[src/BS2/BS2Update] section .bss size 9056 match 100.0
[src/BS2/BS2Update] section .data size 1328 match 100.0
[src/BS2/BS2Update] section .sbss size 80 match 100.0
[src/BS2/BS2Update] section .sdata size 24 match 100.0
[src/BS2/BS2Update] section .text size 4052 match 94.23001
[src/BS2/BS2Update] below 100: UpdateThread 93.59803
[src/BS2/BS2Update] baseline: code 112/4052 data 10488 functions 8 fuzzy 91.6604
[src/channelScript/CHANSVm] pool: IDENTICAL
[src/channelScript/CHANSVm] objdiff: code 37608/53564 data 6904/6904 functions 221/233 fuzzy 99.3644 linked code 0
[src/channelScript/CHANSVm] instruction-exact functions: 221/233
[src/channelScript/CHANSVm] section .data size 4672 match 100.0
[src/channelScript/CHANSVm] section .rodata size 1432 match 100.0
[src/channelScript/CHANSVm] section .sbss size 16 match 100.0
[src/channelScript/CHANSVm] section .sdata size 600 match 100.0
[src/channelScript/CHANSVm] section .sdata2 size 184 match 100.0
[src/channelScript/CHANSVm] section .text size 53564 match 99.364426
[src/channelScript/CHANSVm] below 100: CHANSVmConvertToFloatFromStr 97.59036
[src/channelScript/CHANSVm] below 100: VmDateDtor 94.96703
[src/channelScript/CHANSVm] below 100: VmStringReplace 97.878784
[src/channelScript/CHANSVm] below 100: VmStringSplit 98.04054
[src/channelScript/CHANSVm] below 100: CHANSVmFormatString 99.84919
[src/channelScript/CHANSVm] below 100: VmBlobGetHexString 98.71951
[src/channelScript/CHANSVm] below 100: VmBlobPackCommon 97.949104
[src/channelScript/CHANSVm] below 100: VmBlobUnpack 98.452614
[src/channelScript/CHANSVm] below 100: VmWinEmuWrite 99.62687
[src/channelScript/CHANSVm] below 100: CHANSVmAddExe 99.625984
[src/channelScript/CHANSVm] below 100: CHANSVmLinkModules 98.677246
[src/channelScript/CHANSVm] below 100: CHANSVmStep 96.46608
[src/channelScript/CHANSVm] baseline: code 37608/53564 data 6904 functions 221 fuzzy 99.3644
[src/BS2/BS2Mach] pool: IDENTICAL
[src/BS2/BS2Mach] objdiff: code 4940/16980 data 155504/158528 functions 24/29 fuzzy 98.1595 linked code 0
[src/BS2/BS2Mach] instruction-exact functions: 24/29
[src/BS2/BS2Mach] section .bss size 155232 match 100.0
[src/BS2/BS2Mach] section .data size 3024 match None
[src/BS2/BS2Mach] section .sbss size 240 match 100.0
[src/BS2/BS2Mach] section .sdata size 32 match 100.0
[src/BS2/BS2Mach] section .text size 16980 match 98.159485
[src/BS2/BS2Mach] below 100: Run 16.744186
[src/BS2/BS2Mach] below 100: BS2StartGame 98.72774
[src/BS2/BS2Mach] below 100: BS2StartGCGame 99.5614
[src/BS2/BS2Mach] below 100: CheckBS2CommandStatus 99.50739
[src/BS2/BS2Mach] below 100: BS2Tick 98.230415
[src/BS2/BS2Mach] baseline: code 4940/16980 data 155504 functions 24 fuzzy 97.8276
[src/scene/setting/AOSS] pool: IDENTICAL
[src/scene/setting/AOSS] objdiff: code 6436/16192 data 3928/3928 functions 16/21 fuzzy 96.7779 linked code 0
[src/scene/setting/AOSS] instruction-exact functions: 15/21
[src/scene/setting/AOSS] section .bss size 3496 match 100.0
[src/scene/setting/AOSS] section .data size 368 match 100.0
[src/scene/setting/AOSS] section .sbss size 32 match 100.0
[src/scene/setting/AOSS] section .sdata size 24 match 100.0
[src/scene/setting/AOSS] section .sdata2 size 8 match 100.0
[src/scene/setting/AOSS] section .text size 16192 match 96.777916
[src/scene/setting/AOSS] below 100: AOSS_Init_old 93.78725
[src/scene/setting/AOSS] below 100: AOSSDecryptMessage 97.74143
[src/scene/setting/AOSS] below 100: AOSSApplyAuthOptions 98.77193
[src/scene/setting/AOSS] below 100: AOSSSendHelloRequest 92.190475
[src/scene/setting/AOSS] below 100: AOSSXorBufferWithKey 98.605446
[src/scene/setting/AOSS] baseline: code 6436/16192 data 3928 functions 16 fuzzy 96.7779
regressions vs baseline: 0
global matched_code_percent: 89.64909 -> 89.65871
global fuzzy_match_percent: 99.53278 -> 99.53815
global complete_code_percent: 67.39544 -> 67.39544
global matched_data_percent: 99.36508 -> 99.36508
forbidden patterns added (net, per file): 0
readability warnings (net, per file; must be 0 in the final result): 0
review note: libs/RVL_SDK/include/revolution/dvd.h: volatile object declaration (orchestrator checks the target really re-reads it) (+1 net), e.g. volatile s32 state;
review note: src/BS2/BS2Mach.c: volatile object declaration (orchestrator checks the target really re-reads it) (+1 net), e.g. vu32 LowReadResult = 0;
review note: src/BS2/BS2Update.c: volatile object declaration (orchestrator checks the target really re-reads it) (+1 net), e.g. static volatile s32 rc = 0;
note: config touched: config/43U/symbols.txt (orchestrator reviews every config/symbols change)
GATE PASS

View File

@@ -0,0 +1,129 @@
# Fuzzy lane round 2, final verified handoff
One new exact function: `BS2UpdateInit`. Two additional target-proven volatile/poll corrections improve fuzzy code, and remain non-matching. All 31 remaining functions have at least three distinct successfully compiled source forms logged; build failures do not count.
Final full gate (no `--quick`; clean build):
```text
full build: ok
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
[libs/RVL_SDK/src/fa/api/FAAttach] objdiff: code None/500 data 240/240 functions 0/1 fuzzy 99.3600 linked code 0
[libs/RVL_SDK/src/fa/api/FAAttach] instruction-exact functions: 0/1
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] objdiff: code 332/5200 data 96/180 functions 1/7 fuzzy 98.6539 linked code 0
[libs/RVLMiddleware/eZiText/src/clib/zkokeyp] instruction-exact functions: 1/7
[src/system/iplKeyboard] objdiff: code 4752/6024 data 1184/1184 functions 31/32 fuzzy 98.7351 linked code 0
[src/system/iplKeyboard] instruction-exact functions: 31/32
[src/BS2/BS2Update] objdiff: code 400/4052 data 10488/10488 functions 9/10 fuzzy 94.2300 linked code 0
[src/BS2/BS2Update] instruction-exact functions: 9/10
[src/channelScript/CHANSVm] objdiff: code 37608/53564 data 6904/6904 functions 221/233 fuzzy 99.3644 linked code 0
[src/channelScript/CHANSVm] instruction-exact functions: 221/233
[src/BS2/BS2Mach] objdiff: code 4940/16980 data 155504/158528 functions 24/29 fuzzy 98.1595 linked code 0
[src/BS2/BS2Mach] instruction-exact functions: 24/29
[src/scene/setting/AOSS] objdiff: code 6436/16192 data 3928/3928 functions 16/21 fuzzy 96.7779 linked code 0
[src/scene/setting/AOSS] instruction-exact functions: 15/21
regressions vs baseline: 0
forbidden patterns added (net, per file): 0
readability warnings (net, per file; must be 0 in the final result): 0
GATE PASS
```
Before -> after (matched code/data bytes; denominators unchanged):
| Unit | Raw gate exact functions | Objdiff exact functions | Code bytes | Data bytes |
|---|---|---|---|---|
| `libs/RVL_SDK/src/fa/api/FAAttach` | 0/1 -> 0/1 | 0/1 -> 0/1 | 0 -> 0 / 500 | 240 -> 240 / 240 |
| `libs/RVLMiddleware/eZiText/src/clib/zkokeyp` | 1/7 -> 1/7 | 1/7 -> 1/7 | 332 -> 332 / 5200 | 96 -> 96 / 180 |
| `src/system/iplKeyboard` | 31/32 -> 31/32 | 31/32 -> 31/32 | 4752 -> 4752 / 6024 | 1184 -> 1184 / 1184 |
| `src/BS2/BS2Update` | 8/10 -> 9/10 | 8/10 -> 9/10 | 112 -> 400 / 4052 | 10488 -> 10488 / 10488 |
| `src/channelScript/CHANSVm` | 221/233 -> 221/233 | 221/233 -> 221/233 | 37608 -> 37608 / 53564 | 6904 -> 6904 / 6904 |
| `src/BS2/BS2Mach` | 24/29 -> 24/29 | 24/29 -> 24/29 | 4940 -> 4940 / 16980 | 155504 -> 155504 / 158528 |
| `src/scene/setting/AOSS` | 15/21 -> 15/21 | 16/21 -> 16/21 | 6436 -> 6436 / 16192 | 3928 -> 3928 / 3928 |
Remaining functions (one line each; successful distinct source forms are additional to declaration permutations):
- `libs/RVL_SDK/src/fa/api/FAAttach::FAAttach` — 99.36%; Drive index narrowing and attached-table base register allocation; 125/125 instructions. 9 source forms.
- `libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_8148302C` — 99.49152%; Work pointer and key-table value registers exchange; 59/59. 5 source forms.
- `libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_81483264` — 98.902435%; Parameter/metadata and byte iteration index registers exchange; 41/41. 6 source forms.
- `libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_81483308` — 99.13793%; Count pointer and running counter registers exchange; 58/58. 5 source forms.
- `libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_814833F0` — 99.04256%; Metadata pointer and candidate index registers exchange; 47/47. 5 source forms.
- `libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8_814834AC` — 99.3586%; Zero initialization chain emits an extra clrlwi; addressing/register operands also differ; 344/343. 8 source forms.
- `libs/RVLMiddleware/eZiText/src/clib/zkokeyp::Zi8GetKOcandidates` — 97.96712%; Candidate loop boundaries, helper return narrowing and temporary scheduling; 673/669. 6 source forms.
- `src/system/iplKeyboard::create__Q33ipl8keyboard7ManagerFPQ33ipl4nand4FilePQ23EGG4Heap` — 94.00944%; Inline resource-node constructor boundary, OEM dictionary index and MemoSetting stack copy order; 318/318. 7 source forms.
- `src/BS2/BS2Update::UpdateThread` — 93.59803%; Import/scan branch and store scheduling, common bases and temporaries; proven rc reloads restored, nine target instructions still absent; 904/913. 10 source forms.
- `src/channelScript/CHANSVm::CHANSVmConvertToFloatFromStr` — 97.59036%; End pointer initialization store and object-type compare occur in opposite order; 83/83. 6 source forms.
- `src/channelScript/CHANSVm::VmDateDtor` — 94.96703%; Variadic date argument and year stack-store scheduling; 91/91. 4 source forms.
- `src/channelScript/CHANSVm::VmStringReplace` — 97.878784%; Search/replacement lengths and live cursor register allocation; 132/132. 3 source forms.
- `src/channelScript/CHANSVm::VmStringSplit` — 98.04054%; Delimiter/parent cursor and result array register allocation; 222/222. 4 source forms.
- `src/channelScript/CHANSVm::CHANSVmFormatString` — 99.84919%; Two temporary object/string-length registers exchange late in the formatter; 431/431. 6 source forms.
- `src/channelScript/CHANSVm::VmBlobGetHexString` — 98.71951%; Output offset and decoded hex digit registers exchange; 82/82. 4 source forms.
- `src/channelScript/CHANSVm::VmBlobPackCommon` — 97.949104%; Packing mode, format and copy-loop temporary register allocation; 668/668. 4 source forms.
- `src/channelScript/CHANSVm::VmBlobUnpack` — 98.452614%; Two-pass format parser and blob cursor/count register allocation; 517/517. 5 source forms.
- `src/channelScript/CHANSVm::VmWinEmuWrite` — 99.62687%; String object and total byte-length registers exchange; 67/67. 4 source forms.
- `src/channelScript/CHANSVm::CHANSVmAddExe` — 99.625984%; Module header and executable type argument registers exchange, plus address operand order; 254/254. 4 source forms.
- `src/channelScript/CHANSVm::CHANSVmLinkModules` — 98.677246%; Dispatch/module/index and global-list pointer registers exchange; 189/189. 4 source forms.
- `src/channelScript/CHANSVm::CHANSVmStep` — 96.46608%; Default step count and loop-entry branch form, floating constant bases and opcode temporaries; 1253/1253. 5 source forms.
- `src/BS2/BS2Mach::Run` — 16.744186%; Target explicitly clears fixed GPRs and the stack pointer and enters via LR; ordinary C cache-loop/callback forms cannot encode that handoff under the no-asm constraint; 11/43. 3 source forms.
- `src/BS2/BS2Mach::BS2StartGame` — 98.72774%; Five initial base/store scheduling operands and five legacy DI address/value register operands remain after fixing all polling loops; 393/393. 17 source forms.
- `src/BS2/BS2Mach::BS2StartGCGame` — 99.5614%; External DVD getter call versus inline state load, and wide tick multiplication operand allocation; 228/228. 8 source forms.
- `src/BS2/BS2Mach::CheckBS2CommandStatus` — 99.50739%; Partition-count slwi and CacheCommandComplete store occur in opposite order; 406/406. 13 source forms.
- `src/BS2/BS2Mach::BS2Tick` — 98.230415%; Boot/hardware address-base sharing, progress-store scheduling and loader output scope; six target instructions absent; 1934/1940. 4 source forms.
- `src/scene/setting/AOSS::AOSS_Init_old` — 93.78725%; Timeout default loads share an array base instead of independent references; local/global allocation and initialization/branch scheduling also differ; 1575/1584. 7 source forms.
- `src/scene/setting/AOSS::AOSSDecryptMessage` — 97.74143%; Checksum and key schedule/state/input/output cursor registers exchange; 321/321. 4 source forms.
- `src/scene/setting/AOSS::AOSSApplyAuthOptions` — 98.77193%; Authentication flags and configuration subrecord pointers use different registers; 114/114. 4 source forms.
- `src/scene/setting/AOSS::AOSSSendHelloRequest` — 92.190475%; Common CRC/key-state base hoisting and packet/key/socket local boundaries differ; 271/273. 8 source forms.
- `src/scene/setting/AOSS::AOSSXorBufferWithKey` — 98.605446%; Unrolled XOR result ownership and packet/mask address register allocation; 147/147. 21 source forms.
Data proof and limits:
- `BS2Update`: `Thread` at 0x810B2580 is an OSThread of size 0x318; target OSCreateThread uses a separate 4096-byte stack starting at thread+0x318. Corrected only the data extent from 0x1318 to 0x318, kept the address and full .bss section size 9056, and left stack bytes unowned. Separate real, initialized thread/stack objects produce 72/72 identical Init instructions and preserve data 10488/10488.
- `zkokeyp`: .data and .extab bytes match. .extabindex has two differing real function-size words (1376/1372 and 2692/2676), corresponding to the two remaining functions with extra instructions. No data rename/extent fix can legitimately conceal that.
- `BS2Mach`: the first 3020 .data bytes are identical, followed by four zero alignment bytes in the target. Anonymous string/table symbols have no authorized real source object name to pair. Two jump table relocation sets also refer into non-matching functions. Data remains 155504/158528; no invented names, pinned literals or padding objects were added.
- Other owned units retain 100% objdiff data. No weak inline/vtable data was suppressed. No other symbol rename or extent correction was made.
Target proof for qualifiers:
- DVD state field: repeated target CoverBlock.state reads at 0xDE0 with a back edge from 0xDE8 and no call. Qualification is guarded by BS2_MACH_VOLATILE_DVD_STATE, defined only by BS2Mach.c; all other translation units compile the original header field.
- LowReadResult: empty repeated polls at 0x1130/0x117C/0x1290/0x12E8, with further loads at 0x113C/0x129C immediately after poll exits. The previous interrupt calls were absent from target code.
- Static signed rc: target store at 0xD5C followed by load at 0xD64, and store at 0xE48 followed by load at 0xE50, with no intervening call. Signed volatile restores two real reads. No use-site volatile cast was added.
Uncertainties:
- AOSSParseNetworkSettings is objdiff 100%, byte-identical, and declaration-tool score (0,0). The gate uses odiff, which incorrectly rebases its CR1 conditional branches by the 36-byte function-position delta. The raw gate consequently prints 15/21, while objdiff and bytes prove 16/21. Raw output is preserved verbatim above; source/metadata were not changed to manipulate this metric.
- Remaining allocation/scheduling causes are hypotheses supported by target diffs and unsuccessful source experiments, not claims that the original source is known.
- Run needs the fixed-register handoff described above; no forbidden assembly or fabricated match was attempted.
Files changed and source commits:
```text
fcbd5a298408059adaf22d29cecb21b9a9cfa301
match update thread creation and object extent
config/43U/symbols.txt
src/BS2/BS2Update.c
tools/decomp-assist/fz1.attempts.md
```
```text
9ab3eb8183594c3a940d7bbb147de7e3c085bca0
restore dvd callback polling
libs/RVL_SDK/include/revolution/dvd.h
src/BS2/BS2Mach.c
tools/decomp-assist/fz1.attempts.md
```
```text
ce9cff4fa6c2d03310c780b1592d02c49bc6c367
preserve update result reloads
src/BS2/BS2Update.c
tools/decomp-assist/fz1.attempts.md
```
Verification artifacts:
- `tools/decomp-assist/fz1.attempts.md` — structural diagnoses, source variant hashes/results, proofs and final all-open audit.
- `tools/decomp-assist/fz1.r2.final-gate.txt` — complete final clean gate output.
- `tools/decomp-assist/fz1.r2.report.md` — this report.
No push, PR, branch switch, rebase, other worktree mutation or subagent was used. Earlier untracked artifacts were left untouched.

File diff suppressed because it is too large Load Diff

View File

@@ -801,3 +801,447 @@ GATE PASS
```
Fresh independent ctxdiff after the clean build: start_point_event 182/182 instructions, diffs 0; start_left_event 96/96 instructions, diffs 0. Both exact-name objdiff values are 100.0. Pool and every owned data section remain identical.
Before -> after: AddressEdit exact 88 -> 90, matched code 21932 -> 23044, matched data 2560 -> 2560; SDChannelSelect 117 -> 117, 27108 -> 27108, 2960 -> 2960; KPAD 19 -> 19, 5916 -> 5916, 8032 -> 8032. Every remaining open function has at least three distinct source-level round-2 trials.
# Round 3: fresh origin/main after address event matches landed
Baseline full unit data: address 2560/2560, SD 2960/2960, KPAD 8032/8032; no unpaired owned data needs rename or extent change. Initial quick gate PASS; all pools identical.
## src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv
Fetch origin/main ed5c96bd85c7bba8227f88c82a3cd5f06e6e95a1. Initial assembly diagnosis: (19, 323) structural/positional differences; instructions 820/820
Remote source check: same unit as tested initial report; function still open. Frame/branch/operand diagnosis: see ctxdiff below.
```
src 0xcd0 base 0xcd0 insns 820/820
diffs 323: [10, 14, 17, 24, 25, 30, 31, 36, 37, 42, 43, 48, 49, 54, 55, 60, 61, 66, 67, 72]
10 M lis r30, 0
B lis r31, 0
14 M addi r30, r30, 0
B addi r31, r31, 0
17 M lwz r31, 0xd20(r3)
B lwz r30, 0xd20(r3)
24 M mr r5, r31
B mr r5, r30
25 M addi r7, r30, 0x72
B addi r7, r31, 0x72
30 M addi r4, r30, 0x84
B addi r4, r31, 0x84
31 M addi r5, r30, 0xa0
B addi r5, r31, 0xa0
36 M addi r4, r30, 0xaf
B addi r4, r31, 0xaf
37 M addi r5, r30, 0xc8
B addi r5, r31, 0xc8
42 M addi r4, r30, 0xaf
B addi r4, r31, 0xaf
43 M addi r5, r30, 0xd3
B addi r5, r31, 0xd3
48 M addi r4, r30, 0xaf
B addi r4, r31, 0xaf
49 M addi r5, r30, 0xde
B addi r5, r31, 0xde
54 M addi r4, r30, 0xaf
B addi r4, r31, 0xaf
55 M addi r5, r30, 0xe9
B addi r5, r31, 0xe9
60 M addi r4, r30, 0xaf
B addi r4, r31, 0xaf
61 M addi r5, r30, 0xf5
B addi r5, r31, 0xf5
66 M addi r4, r30, 0x103
B addi r4, r31, 0x103
67 M addi r5, r30, 0xc8
B addi r5, r31, 0xc8
72 M addi r4, r30, 0x103
B addi r4, r31, 0x103
73 M addi r5, r30, 0xd3
B addi r5, r31, 0xd3
78 M addi r4, r30, 0x103
B addi r4, r31, 0x103
79 M addi r5, r30, 0xde
B addi r5, r31, 0xde
84 M addi r4, r30, 0x103
B addi r4, r31, 0x103
85 M addi r5, r30, 0xe9
B addi r5, r31, 0xe9
90 M addi r4, r30, 0x103
B addi r4, r31, 0x103
91 M addi r5, r30, 0xf5
B addi r5, r31, 0xf5
96 M addi r4, r30, 0x11d
B addi r4, r31, 0x11d
97 M addi r5, r30, 0xc8
B addi r5, r31, 0xc8
102 M addi r4, r30, 0x11d
B addi r4, r31, 0x11d
103 M addi r5, r30, 0xd3
B addi r5, r31, 0xd3
108 M addi r4, r30, 0x11d
B addi r4, r31, 0x11d
```
- hoist meaningful layout and event locals; preserve initializer evaluation positions: (19, 323) structural/positional; instructions 820/820; restored.
- name board scene through const base view before layout-file lookup: (19, 323) structural/positional; instructions 820/820; restored.
- use pane base pointer once in each manager trigger loop: (19, 323) structural/positional; instructions 820/820; restored.
## src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv
Fetch origin/main ed5c96bd85c7bba8227f88c82a3cd5f06e6e95a1. Initial assembly diagnosis: (10, 68) structural/positional differences; instructions 82/84
Remote source check: same unit as tested initial report; function still open. Frame/branch/operand diagnosis: see ctxdiff below.
```
src 0x148 base 0x150 insns 82/84
--- delete mine 6:7 base 6:6
M 6 mr r29, r3
--- replace mine 8:9 base 7:9
M 8 lwz r4, 0x4ec(r29)
B 7 lwz r4, 0x4ec(r3)
B 8 mr r28, r3
--- insert mine 10:10 base 10:11
B 10 addi r3, r30, 0
--- delete mine 11:12 base 12:12
M 11 addi r3, r30, 0
--- replace mine 15:16 base 15:16
M 15 addi r3, r29, 0xb0
B 15 addi r3, r28, 0xb0
--- replace mine 18:19 base 18:19
M 18 lwz r3, 0x68(r29)
B 18 lwz r3, 0x68(r28)
--- replace mine 20:21 base 20:21
M 20 addi r4, r4, 0
B 20 addi r29, r28, 0x2b4
--- insert mine 23:23 base 23:24
B 23 addi r4, r4, 0
--- replace mine 28:30 base 29:31
M 28 mr r3, r29
M 29 addi r5, r29, 0x2b4
B 29 mr r3, r28
B 30 mr r5, r29
--- replace mine 42:43 base 43:44
M 42 addi r3, r29, 0xb0
B 43 addi r3, r28, 0xb0
--- replace mine 54:55 base 55:56
M 54 addi r3, r29, 0xb0
B 55 addi r3, r28, 0xb0
--- replace mine 57:58 base 58:59
M 57 lwz r3, 0x68(r29)
B 58 lwz r3, 0x68(r28)
--- replace mine 59:60 base 60:61
M 59 addi r4, r4, 0
B 60 addi r29, r28, 0x2cc
--- insert mine 62:62 base 63:64
B 63 addi r4, r4, 0
--- replace mine 67:69 base 69:71
M 67 mr r3, r29
M 68 addi r5, r29, 0x2cc
B 69 mr r3, r28
B 70 mr r5, r29
--- replace mine 71:72 base 73:74
M 71 addi r3, r29, 0x4e0
B 73 addi r3, r28, 0x4e0
```
- mutable text-array pointer views across pane lookup: (10, 68) structural/positional; instructions 82/84; restored.
- String pointer view retains text-storage base across lookup: (10, 39) structural/positional; instructions 83/84; restored.
- reuse name pointer for displayed friend code and pane pointer for both lookups: (10, 68) structural/positional; instructions 82/84; restored.
## src/scene/address/iplAddressEdit update_friendinfo__Q33ipl5scene11AddressEditFv
Fetch origin/main ed5c96bd85c7bba8227f88c82a3cd5f06e6e95a1. Initial assembly diagnosis: (2, 2) structural/positional differences; instructions 38/38
Remote source check: same unit as tested initial report; function still open. Frame/branch/operand diagnosis: see ctxdiff below.
```
src 0x98 base 0x98 insns 38/38
diffs 2: [12, 13]
12 M addi r3, r31, 8
B addi r4, r30, 0x2b4
13 M addi r4, r30, 0x2b4
B addi r3, r31, 8
```
- bind source and destination create-id pointers before name-copy call: (2, 2) structural/positional; instructions 38/38; restored.
- use local FriendInfo reference for all update destinations: (2, 2) structural/positional; instructions 38/38; restored.
- name source through read-only byte-array reference: (2, 2) structural/positional; instructions 38/38; restored.
## src/scene/address/iplAddressEdit set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err
Fetch origin/main ed5c96bd85c7bba8227f88c82a3cd5f06e6e95a1. Initial assembly diagnosis: (1, 30) structural/positional differences; instructions 76/75
Remote source check: same unit as tested initial report; function still open. Frame/branch/operand diagnosis: see ctxdiff below.
```
src 0x130 base 0x12c insns 76/75
--- delete mine 46:47 base 46:46
M 46 li r4, 0x1c5
```
- initialized error message selected with conditional expression: (18, 47) structural/positional; instructions 65/75; restored.
- initialize default before formatting error string: (2, 49) structural/positional; instructions 77/75; restored.
- explicit safe default switch initializes every case: (4, 22) structural/positional; instructions 77/75; restored.
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
Fetch origin/main ed5c96bd85c7bba8227f88c82a3cd5f06e6e95a1. Initial assembly diagnosis: (0, 9) structural/positional differences; instructions 19/19
Structural diagnosis: 19/19, same leaf frame. Nine operand/FP-register differences; target scales X via f0 double temporary and constant-first 1.2 multiplies. No stack reload volatility evidence. origin/main function source agrees with tested baseline.
- constant-first x/y aspect multiplies: (0, 10) structural/positional; instructions 19/19; restored.
- named scale coefficients with component-first half-height multiply: (7, 11) structural/positional; instructions 19/19; restored.
- recycle double factor variable for final scaled coordinate: (0, 11) structural/positional; instructions 19/19; restored.
- inline horizontal double scaling with constant-first aspect product: (0, 10) structural/positional; instructions 19/19; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv
Fetch origin/main ed5c96bd85c7bba8227f88c82a3cd5f06e6e95a1. Initial assembly diagnosis: (2, 2) structural/positional differences; instructions 35/35
Pool checked identical first. Current origin/main source unchanged from baseline. Structural diagnosis: frame and instruction count match; two heap/manager loads exchanged. Test inline helper argument boundary before declaration search.
- inline save-flush helper with manager-first pointer arguments: (2, 2) structural/positional; instructions 35/35; restored.
- inline save-flush helper with heap-first pointer arguments: (2, 2) structural/positional; instructions 35/35; restored.
- inline save-flush helper with reference arguments: (2, 2) structural/positional; instructions 35/35; restored.
## src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv
Fetch origin/main 2f759f35f124c7103c245346d0cda652bd8b6ff8. Initial assembly diagnosis: (10, 68) structural/positional differences; instructions 82/84
Additional inline-boundary diagnosis: both missing instructions form text addresses before FindPaneByName; target holds reusable text in r29, this in r28. Try combined pane lookup and text setting through explicit inline arguments.
- inline pane-text helper with text last: (10, 68) structural/positional; instructions 82/84; restored.
- inline pane-text helper with text first: (10, 68) structural/positional; instructions 82/84; restored.
- inline pane-text helper with scene reference: (10, 68) structural/positional; instructions 82/84; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect create__Q33ipl5scene15SDChannelSelectFv
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (4, 39) structural/positional differences; instructions 145/146
Remote source unchanged from initial tested report. Structural diagnosis: 145/146; target tick duration temporaries differ; same main frame, one instruction missing.
- elapsed tick variable reused for current tick before subtraction: (4, 39) structural/positional; instructions 145/146; restored.
- millisecond conversion consumes named signed elapsed value: (4, 39) structural/positional; instructions 145/146; restored.
- hoist tick scalars to leading local declarations: (4, 39) structural/positional; instructions 145/146; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (4, 143) structural/positional differences; instructions 170/171
Remote source unchanged from initial tested report. Structural diagnosis: 170/171; target beq8+b error dispatch; source uses bne. Error compaction count r8 versus r6; identical frame.
- direct two-case result switch with common postprocessing: (8, 143) structural/positional; instructions 172/171; restored.
- success condition reversed within same OR branch: (6, 143) structural/positional; instructions 170/171; restored.
- hoist error-path channel count before success/error branch: (4, 143) structural/positional; instructions 170/171; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (2, 4) structural/positional differences; instructions 101/101
Remote source unchanged from initial tested report. Structural diagnosis: equal instruction counts; target stores increment then loads stack bytes and usage threshold; ours hoists threshold before count store. Branch logic and frame agree. Test scalar lifetimes then signed/unsigned alias view.
- snapshot accumulated usage after increment before comparing thresholds: (6, 8) structural/positional; instructions 101/101; restored.
- compound count assignment before threshold comparison: (2, 4) structural/positional; instructions 101/101; restored.
- signed usage thresholds accessed via read-only word representation: (2, 4) structural/positional; instructions 101/101; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (2, 4) structural/positional differences; instructions 102/102
Remote source unchanged from initial tested report. Structural diagnosis: equal instruction counts; target stores increment then loads stack bytes and usage threshold; ours hoists threshold before count store. Branch logic and frame agree. Test scalar lifetimes then signed/unsigned alias view.
- snapshot accumulated usage after increment before comparing thresholds: (6, 8) structural/positional; instructions 102/102; restored.
- compound count assignment before threshold comparison: (2, 4) structural/positional; instructions 102/102; restored.
- signed usage thresholds accessed via read-only word representation: (2, 4) structural/positional; instructions 102/102; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (2, 22) structural/positional differences; instructions 126/126
Remote source unchanged from initial tested report. Structural diagnosis: equal instruction counts; target stores increment then loads stack bytes and usage threshold; ours hoists threshold before count store. Branch logic and frame agree. Test scalar lifetimes then signed/unsigned alias view.
- snapshot accumulated usage after increment before comparing thresholds: (6, 26) structural/positional; instructions 126/126; restored.
- compound count assignment before threshold comparison: (2, 22) structural/positional; instructions 126/126; restored.
- signed usage thresholds accessed via read-only word representation: (2, 22) structural/positional; instructions 126/126; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (8, 16) structural/positional differences; instructions 361/361
Remote source unchanged from initial tested report. Structural diagnosis: equal instruction counts; target stores increment then loads stack bytes and usage threshold; ours hoists threshold before count store. Branch logic and frame agree. Test scalar lifetimes then signed/unsigned alias view.
- snapshot accumulated usage after increment before comparing thresholds: (24, 32) structural/positional; instructions 361/361; restored.
- compound count assignment before threshold comparison: (8, 16) structural/positional; instructions 361/361; restored.
- signed usage thresholds accessed via read-only word representation: (8, 16) structural/positional; instructions 361/361; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect calcCommon__Q33ipl5scene15SDChannelSelectFv
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (4, 89) structural/positional differences; instructions 109/108
Remote source unchanged from initial tested report. Structural diagnosis: source has one extra li r5,0 for second setter argument; target leaves caller register unspecified. Cannot remove defined NULL semantics via uninitialized values.
- explicit initialized null out-handler argument: (4, 89) structural/positional; instructions 109/108; restored.
- name initialized no-handler view for default and clear calls: (4, 89) structural/positional; instructions 109/108; restored.
- base button-handler input view at setter boundary: (4, 89) structural/positional; instructions 109/108; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect initializeNormalPage__Q33ipl5scene15SDChannelSelectFv
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (3, 47) structural/positional differences; instructions 95/94
Remote source unchanged from initial tested report. Structural diagnosis: source has one extra li r5,0 for second setter argument; target leaves caller register unspecified. Cannot remove defined NULL semantics via uninitialized values.
- explicit initialized null out-handler argument: (3, 47) structural/positional; instructions 95/94; restored.
- name initialized no-handler view for default and clear calls: (3, 47) structural/positional; instructions 95/94; restored.
- base button-handler input view at setter boundary: (3, 47) structural/positional; instructions 95/94; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect selectChannel__Q33ipl5scene15SDChannelSelectFii
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (1, 19) structural/positional differences; instructions 60/59
Remote source unchanged from initial tested report. Structural diagnosis: source has one extra li r5,0 for second setter argument; target leaves caller register unspecified. Cannot remove defined NULL semantics via uninitialized values.
- explicit initialized null out-handler argument: (1, 19) structural/positional; instructions 60/59; restored.
- name initialized no-handler view for default and clear calls: (1, 19) structural/positional; instructions 60/59; restored.
- base button-handler input view at setter boundary: (1, 19) structural/positional; instructions 60/59; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (23, 68) structural/positional differences; instructions 233/233
Remote source unchanged from initial tested report. Structural diagnosis: 233/233; same frame; target float schedule/matrix scale temporary lifetimes differ (23 structural,68 positional).
- separate translated-vector initialization from declaration: (29, 210) structural/positional; instructions 230/233; restored.
- split scale declarations from assignments in matrix branch: (23, 68) structural/positional; instructions 233/233; restored.
- scaled thumbnail extents reused before scissor arithmetic: (24, 68) structural/positional; instructions 233/233; restored.
## src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (9, 57) structural/positional differences; instructions 144/144
Remote source unchanged from initial tested report. Structural diagnosis: 144/144; event-zero branch target beq8+b end versus ours bne end, plus control/register scheduling; same frame.
- early-return event guard before normal event dispatch: (9, 57) structural/positional; instructions 144/144; restored.
- group special-state dispatch as condition instead of switch: (19, 124) structural/positional; instructions 142/144; restored.
- split component declaration and pane-name assignment: (9, 57) structural/positional; instructions 144/144; restored.
## libs/RVL_SDK/src/kpad/KPAD reset_kpad
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (0, 10) structural/positional differences; instructions 117/117
Remote unit unchanged from initial tested report. Structural diagnosis: 117/117, frame/branches agree,10 FP-register-only changes. Boundary, sensor reference and normalized distance lifetimes conflict; test scalar const/scope before declaration search.
- initialize immutable normalized distance at its first use: build failed RGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 301: const f32 distanceValue = kp_dist_vv1 / sensorDistance; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- initialize immutable sensor reference distance at its first read: build failed -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 291: const f32 sensorDistance = kpad->referenceDistance; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- initialize immutable upper Y boundary at its definition: build failed de/private/bte -DNDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 290: const f32 upperY = 0.75f; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
## libs/RVL_SDK/src/kpad/KPAD KPADSetSensorHeight
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (0, 7) structural/positional differences; instructions 52/52
Remote unit unchanged from initial tested report. Structural diagnosis: 52/52, same0x30frame; target inside-array base r3 vsr4 and squared-height f0 vsf4. No store/reload volatility proof.
- initialize sensor-state pointer at declaration rather than later lookup: (0, 7) structural/positional; instructions 52/52; restored.
- keep channel index immutable through typed array lookup: (0, 7) structural/positional; instructions 52/52; restored.
- use named zero after squared-height temporary declaration: (0, 3) structural/positional; instructions 52/52; restored.
## libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (2, 35) structural/positional differences; instructions 101/101
Remote unit unchanged from initial tested report. Structural diagnosis: 101/101,2 structural and35 positional float differences,sameframe. Squared magnitude/projected Y/unit-vector temporary lifetimes and scheduling differ.
- split magnitude square from square-root inline boundary: (2, 35) structural/positional; instructions 101/101; restored.
- name orthogonal projected Y before smoothing multiplication: build failed _contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 508: const f32 projectedY = targetY * normalizedX - targetX * normalizedY; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- bind normalized unit components before stores in separate scalars: build failed TARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 512: const f32 unitY = nextY / normalized; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
## libs/RVL_SDK/src/kpad/KPAD read_kpad_acc
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (16, 66) structural/positional differences; instructions 400/400
Remote unit unchanged from initial tested report. Structural diagnosis: 400/400; frame matches; helper-clamp/smooth float scheduling differs16structural/66positional. Try vector copy/inline input boundaries.
- group raw and previous vector locals in opposite declaration order: (32, 82) structural/positional; instructions 400/400; restored.
- name read-only remote scaling inputs before each clamp call: build failed T_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 606: const f32 rawX = (f32)-(s32)status->accX * kpad->value4DC; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- explicitly load previous acceleration through three component assignments: (33, 317) structural/positional; instructions 399/400; restored.
## libs/RVL_SDK/src/kpad/KPAD select_1obj_first
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (2, 26) structural/positional differences; instructions 109/109
Remote unit unchanged from initial tested report. Structural diagnosis: 109/109,2 structural/26positional. FP geometry local order and paired vector stores differ.
- bind object positions as immutable values within scan branch: (2, 26) structural/positional; instructions 109/109; restored.
- name tangent and axis component products before offsets: (2, 26) structural/positional; instructions 109/109; restored.
- use named candidate-array view in destination stores: (40, 52) structural/positional; instructions 109/109; restored.
## libs/RVL_SDK/src/kpad/KPAD select_1obj_continue
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (0, 17) structural/positional differences; instructions 93/93
Remote unit unchanged from initial tested report. Structural diagnosis: 93/93,17 FP differences with equal frame/branches; inner tangent products, direction and offset declarations are remaining lever.
- initialize immutable tangent products in inner geometry scope: (0, 17) structural/positional; instructions 93/93; restored.
- split matched-object copy into position and metadata fields: (0, 17) structural/positional; instructions 93/93; restored.
- declare inner offsets where multiplication first defines them: build failed NDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 872: f32 offsetX = directionX * distance; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
## libs/RVL_SDK/src/kpad/KPAD calc_dpd_variable
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (14, 45) structural/positional differences; instructions 250/250
Remote unit unchanged from initial tested report. Structural diagnosis: 250/250;14 structural/45positional float scheduling differences; smoothing helper boundaries and vector aggregate stores differ.
- split smoothing magnitude products into named scalar scale: build failed -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 954: const f32 smoothing = magnitude * kpad->value98; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- explicitly assign horizon components instead of vector aggregate: (24, 225) structural/positional; instructions 248/250; restored.
- declare immutable rotated and averaged geometry inputs: (14, 45) structural/positional; instructions 250/250; restored.
## libs/RVL_SDK/src/kpad/KPAD KPADRead
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (11, 89) structural/positional differences; instructions 459/459
Remote unit unchanged from initial tested report. Structural diagnosis: 459/459,frame matches;11structural/89positional polling/loop register schedule. Keep all output values initialized.
- move state pointer initialization after leading local declaration block: (11, 89) structural/positional; instructions 459/459; restored.
- declaration-time explicit no-probe-output argument: build failed de/private/bte -DNDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 1330: u32* noDeviceOutput = NULL; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- declare immutable previous-buttons value at its initial assignment: build failed L -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 1440: const u16 previousButtons = kpad->status.hold; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
## libs/RVL_SDK/src/kpad/KPAD KPADInit
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (9, 81) structural/positional differences; instructions 185/185
Remote unit unchanged from initial tested report. Structural diagnosis: 185/185,sameframe;9structural/81positional init register/coloring and floatload schedule; test scalar scopes and ring loop form.
- initialize rotation-element cosine at first use after heap/state setup: build failed ract off -lang=c -MMD -c libs/RVL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 1556: f32 rotationElement = (f32)cos(degreesToRadians * sensor_bar_angle_degrees); # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- name reference diagonal square before square-root boundary: build failed VL_SDK/src/kpad/KPAD.c -o build/43U/src/libs/RVL_SDK/src/kpad && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d build/43U/src/libs/RVL_SDK/src/kpad/KPAD.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\kpad\KPAD.c # ------------------------------------- # 1520: const f32 referenceDiagonalSquared = referenceWidth * referenceWidth + referenceHeight * referenceHeight; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
- replace nested sample-ring do loop with explicit for loop: (37, 132) structural/positional; instructions 194/185; restored.
C declaration correction: MWCC C mode rejects declarations after statements. Those failed scope trials are restored; repeat with declarations at block starts and unchanged assignment positions. Failed builds do not count toward the successful-trial audit below.
## libs/RVL_SDK/src/kpad/KPAD reset_kpad
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (0, 10) structural/positional differences; instructions 117/117
- immutable normalized distance initialized in leading declarations: (8, 109) structural/positional; instructions 118/117; restored.
- immutable sensor distance initialized in leading declarations: (0, 10) structural/positional; instructions 117/117; restored.
- immutable upper boundary initialized in leading declarations: (0, 10) structural/positional; instructions 117/117; restored.
## libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (2, 35) structural/positional differences; instructions 101/101
- declare orthogonal projected Y before assignments: (2, 35) structural/positional; instructions 101/101; restored.
- define both normalized components at start of normalized-vector block: (2, 37) structural/positional; instructions 101/101; restored.
## libs/RVL_SDK/src/kpad/KPAD read_kpad_acc
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (16, 66) structural/positional differences; instructions 400/400
- declare raw X before switch and assign just before inline clamp: (16, 66) structural/positional; instructions 400/400; restored.
## libs/RVL_SDK/src/kpad/KPAD select_1obj_continue
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (0, 17) structural/positional differences; instructions 93/93
- inner geometry direction values declared before offset values: (0, 19) structural/positional; instructions 93/93; restored.
## libs/RVL_SDK/src/kpad/KPAD calc_dpd_variable
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (14, 45) structural/positional differences; instructions 250/250
- declare smoothing scale at distance-filter block start: (14, 45) structural/positional; instructions 250/250; restored.
## libs/RVL_SDK/src/kpad/KPAD KPADRead
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (11, 89) structural/positional differences; instructions 459/459
- declare typed initialized probe output pointer before statements: (11, 89) structural/positional; instructions 459/459; restored.
- signed previous-button temporary with original truncation preserved: (23, 161) structural/positional; instructions 457/459; restored.
## libs/RVL_SDK/src/kpad/KPAD KPADInit
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (9, 81) structural/positional differences; instructions 185/185
- rotation-element local scoped to start of controller loop: (9, 81) structural/positional; instructions 185/185; restored.
- declare diagonal square at loop start then assign before sqrt: (9, 81) structural/positional; instructions 185/185; restored.
## libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon
Fetch origin/main 7be7f1594ed5c12a2eddaabec47369ee814ccc46. Initial assembly diagnosis: (2, 35) structural/positional differences; instructions 101/101
- Register-only last: declaration search 180 maximum evaluations after structural/source-level trials. declaration block: | f32 magnitude = (f32)sqrt(kpad->acceleration.x * kpad->acceleration.x + kpad->acceleration.y * kpad->acceleration.y); | f32 normalizedX; | f32 normalizedY; | f32 targetY; | f32 targetX; | f32 productX; | f32 oldX; | f32 oldY; | f32 blend; | f32 projectedX; | f32 smoothing; | f32 deltaX; | f32 nextX; | f32 nextY; | f32 normalized; | f32 unitX; | f32 oldCircleX; | f32 oldCircleY; | f32 unitY; | f32 circleX; | f32 deltaCircleX; | f32 circleY; | f32 deltaCircleY; | start (2, 35) | improved (0, 30) | improved (0, 29) | best (0, 29) after 180 builds; kept in source: | f32 productX; | f32 oldX; | f32 normalizedY; | f32 targetY; | f32 targetX; | f32 magnitude = (f32)sqrt(kpad->acceleration.x * kpad->acceleration.x + kpad->acceleration.y * kpad->acceleration.y); | f32 normalizedX; | f32 oldY; | f32 blend; | f32 projectedX; | f32 smoothing; | f32 deltaX; | f32 nextX; | f32 nextY; | f32 normalized; | f32 unitX; | f32 oldCircleX; | f32 oldCircleY; | f32 unitY; | f32 circleX; | f32 deltaCircleX; | f32 circleY; | f32 deltaCircleY; | . Final (0, 29) structural/positional differences; instructions 101/101.
## libs/RVL_SDK/src/kpad/KPAD select_1obj_continue
Fetch origin/main ff52d5235d0823d5433dac6128d118d3f86f7afa. Initial assembly diagnosis: (0, 17) structural/positional differences; instructions 93/93
- Register-only last: declaration search 150 maximum evaluations after structural/source-level trials. declaration block: | f32 axisX; | f32 normX; | f32 axisY; | f32 normY; | f32 distance; | f32 horizontal; | f32 vertical; | f32 offsetX; | f32 directionX; | f32 directionY; | f32 offsetY; | f32 tangentY; | f32 tangentX; | start (0, 17) | improved (0, 16) | improved (0, 15) | improved (0, 8) | improved (0, 6) | improved (0, 4) | improved (0, 0) | best (0, 0) after 95 builds; kept in source: | f32 distance; | f32 normY; | f32 vertical; | f32 directionY; | f32 offsetX; | f32 axisY; | f32 horizontal; | f32 axisX; | f32 directionX; | f32 normX; | f32 offsetY; | f32 tangentY; | f32 tangentX; | . Final (0, 0) structural/positional differences; instructions 93/93.
Round3 exact candidate: select_1obj_continue has 93/93 instructions, ctxdiff diffs0, exact-name objdiff100 after separating declarations from assignments and matching distance-first offset multiplication. All-unit quick gate PASS, pools identical,0 regressions, data unchanged. KPAD19/29 ->20/29, code5916 ->6288/13056.
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
Fetch origin/main b6687e9ff9e08dc5d84b2101e21fd08c41cc3040. Initial assembly diagnosis: (0, 9) structural/positional differences; instructions 19/19
Projection register-only final search: structural operands diagnosed above. Split coefficients into named leading locals, keep literal token order and height/aspect operand order; preserve all assignments in source evaluation order.
- Named coefficients: declaration block: | f64 scaled; | f32 height; | f32 halfHeight; | f32 x; | f32 y; | f32 half; | f32 aspect; | start (0, 11) | improved (0, 10) | improved (0, 9) | improved (0, 7) | best (0, 7) after 97 builds; kept in source: | f32 halfHeight; | f32 aspect; | f32 half; | f32 x; | f32 y; | f32 height; | f64 scaled; |
- Named coefficients with reusable double result: declaration block: | f64 scaled; | f32 height; | f32 halfHeight; | f32 x; | f32 y; | f32 half; | f32 aspect; | start (0, 11) | improved (0, 10) | improved (0, 9) | improved (0, 7) | best (0, 7) after 97 builds; kept in source: | f32 halfHeight; | f32 aspect; | f32 half; | f32 x; | f32 y; | f32 height; | f64 scaled; |
## libs/RVL_SDK/src/kpad/KPAD reset_kpad
Fetch origin/main b6687e9ff9e08dc5d84b2101e21fd08c41cc3040. Initial assembly diagnosis: (0, 10) structural/positional differences; instructions 117/117
Further target diagnosis: target retains calibrated distance constant in f3 through value510 store while ours uses anonymous f0. Give that real input a named scalar, preserving read/store ordering.
- named calibrated distance declaration placement 0: (0, 8) structural/positional; instructions 117/117; restored.
- named calibrated distance declaration placement 1: (0, 10) structural/positional; instructions 117/117; restored.
- named calibrated distance declaration placement 2: (0, 10) structural/positional; instructions 117/117; restored.
- Named calibrated distance final declaration search: declaration block: | f32 upperY; | f32 distanceValue; | f32 zero; | f32 sensorDistance; | f32 lowerY; | f32 one; | f32 negativeOne; | KPADDPDObject* object; | f32 calibratedDistance; | start (0, 8) | improved (0, 0) | best (0, 0) after 4 builds; kept in source: | f32 sensorDistance; | f32 distanceValue; | f32 zero; | f32 upperY; | f32 lowerY; | f32 one; | f32 negativeOne; | KPADDPDObject* object; | f32 calibratedDistance; |
Round3 second exact candidate: reset_kpad117/117, ctxdiff diffs0, objdiff100; named calibrated-distance input fixes its live range, then swapped sensor-distance/upper-boundary declarations matches float registers. All-unit quick gate PASS,0 regressions/patterns/style, pools identical, data100%. KPAD20/29 ->21/29,code6288 ->6756.
## Round3 successful-trial and extent audit
All26 baseline-open functions have at least3 distinct successfully built source variants; failed C-mode declarations excluded. Target ELF extents of all26 end before/equal next symbol in their section, no overlap. Owned source files in HEAD and freshly fetched origin/main were identical before trials; no duplicated remote matches. All owned data already pairs100%, no rename/extent edits justified.
- src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv: baseline 97.44634%; 3 successful source trials.
- src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv: baseline 88.03571%; 6 successful source trials.
- src/scene/address/iplAddressEdit update_friendinfo__Q33ipl5scene11AddressEditFv: baseline 99.42105%; 3 successful source trials.
- src/scene/address/iplAddressEdit set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err: baseline 98.666664%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect create__Q33ipl5scene15SDChannelSelectFv: baseline 97.73972%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv: baseline 99.15205%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: baseline 97.81188%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: baseline 97.833336%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: baseline 97.29365%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl: baseline 97.55125%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv: baseline 99.65714%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect calcCommon__Q33ipl5scene15SDChannelSelectFv: baseline 99.07407%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect initializeNormalPage__Q33ipl5scene15SDChannelSelectFv: baseline 98.93617%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect selectChannel__Q33ipl5scene15SDChannelSelectFii: baseline 98.305084%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj: baseline 93.4721%; 3 successful source trials.
- src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface: baseline 98.541664%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD reset_kpad: baseline 99.48718%; 6 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos: baseline 96.57895%; 4 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD KPADSetSensorHeight: baseline 99.23077%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon: baseline 97.27723%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD read_kpad_acc: baseline 98.15%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD select_1obj_first: baseline 98.348625%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD select_1obj_continue: baseline 98.49462%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD calc_dpd_variable: baseline 94.82%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD KPADRead: baseline 97.52723%; 3 successful source trials.
- libs/RVL_SDK/src/kpad/KPAD KPADInit: baseline 96.51351%; 3 successful source trials.
## Round3 final full gate and remaining-function audit
Full clean non-quick gate over all three units: GATE PASS; full43U build OK; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d; pools identical;0 regressions,0 forbidden additions,0 readability warnings.
Address exact90/94 ->90/94, code23044 ->23044/27112, data2560 ->2560/2560. SD exact117/129 ->117/129, code27108 ->27108/33828, data2960 ->2960/2960. KPAD exact19/29 ->21/29, code5916 ->6756/13056, data8032 ->8032/8032.
Immediate matching stack store/reload pairs in remaining targets: []. No definition-level volatility justified. No configuration/header/data edits retained. Uncertainty: exact original handling of unspecified message and setter arguments remains unrecoverable safely; no uninitialized-value workaround attempted.
- src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv 97.44634%; 3 successfully built distinct source trials; layout construction lifetime/register scheduling; same820 instructions.
- src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571%; 6 successfully built distinct source trials; text-array addresses folded until after pane lookup; target retains pointers across lookup,82/84.
- src/scene/address/iplAddressEdit update_friendinfo__Q33ipl5scene11AddressEditFv 99.42105%; 3 successfully built distinct source trials; memcpy source/destination address evaluation order,38/38.
- src/scene/address/iplAddressEdit set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err 98.666664%; 3 successfully built distinct source trials; extra safe default initialization; target appears to leave messageId undefined for unhandled error,76/75.
- src/scene/sdChannelSelect/iplSDChannelSelect create__Q33ipl5scene15SDChannelSelectFv 97.73972%; 3 successfully built distinct source trials; elapsed tick conversion temporaries/scheduling,145/146.
- src/scene/sdChannelSelect/iplSDChannelSelect handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv 99.15205%; 3 successfully built distinct source trials; beq-plus-branch dispatch and compaction count coloring,170/171.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.81188%; 3 successfully built distinct source trials; threshold load hoisted before count store,101/101.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.833336%; 3 successfully built distinct source trials; threshold load hoisted before count store,102/102.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.29365%; 3 successfully built distinct source trials; threshold/count schedule plus loop coloring,126/126.
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.55125%; 3 successfully built distinct source trials; four repeated threshold/count schedules,361/361.
- src/scene/sdChannelSelect/iplSDChannelSelect flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv 99.65714%; 3 successfully built distinct source trials; save manager/heap argument load order,35/35.
- src/scene/sdChannelSelect/iplSDChannelSelect calcCommon__Q33ipl5scene15SDChannelSelectFv 99.07407%; 3 successfully built distinct source trials; defined NULL out-handler argument produces extra li r5,0,109/108.
- src/scene/sdChannelSelect/iplSDChannelSelect initializeNormalPage__Q33ipl5scene15SDChannelSelectFv 98.93617%; 3 successfully built distinct source trials; defined NULL out-handler argument produces extra li r5,0,95/94.
- src/scene/sdChannelSelect/iplSDChannelSelect selectChannel__Q33ipl5scene15SDChannelSelectFii 98.305084%; 3 successfully built distinct source trials; defined NULL out-handler argument produces extra li r5,0,60/59.
- src/scene/sdChannelSelect/iplSDChannelSelect setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj 93.4721%; 3 successfully built distinct source trials; matrix/scissor floating operand scheduling and temporaries,233/233.
- src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface 98.541664%; 3 successfully built distinct source trials; event-zero dispatch branch form and loop/register lifetimes,144/144.
- libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos 96.57895%; 4 successfully built distinct source trials; floating register allocation and multiply operand order,19/19; named coefficients search best7 differences restored.
- libs/RVL_SDK/src/kpad/KPAD KPADSetSensorHeight 99.23077%; 3 successfully built distinct source trials; inside-array base r4 vsr3 plus squared-height/zero registers,52/52; partial3 differences restored.
- libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon 97.27723%; 3 successfully built distinct source trials; floating lifetimes/coloring,101/101; declaration search best29 differences restored.
- libs/RVL_SDK/src/kpad/KPAD read_kpad_acc 98.15%; 3 successfully built distinct source trials; clamp/smoothing inline boundaries and floating scheduling,400/400.
- libs/RVL_SDK/src/kpad/KPAD select_1obj_first 98.348625%; 3 successfully built distinct source trials; geometry floating lifetimes and paired stores,109/109.
- libs/RVL_SDK/src/kpad/KPAD calc_dpd_variable 94.82%; 3 successfully built distinct source trials; smoothing/projected geometry floating scheduling,250/250.
- libs/RVL_SDK/src/kpad/KPAD KPADRead 97.52723%; 3 successfully built distinct source trials; sample loop/polling temporaries and branch scheduling,459/459.
- libs/RVL_SDK/src/kpad/KPAD KPADInit 96.51351%; 3 successfully built distinct source trials; controller/ring initialization and floating scheduling,185/185.

File diff suppressed because it is too large Load Diff

View File

@@ -1562,3 +1562,134 @@ R7 remaining | create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAll
libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var | exact 4/6 -> 5/6 | code bytes 712 -> 1260/1804 | data bytes 0 -> 0/0
R7 remaining | TMCJPEGDEC_IdctBlock4x4 | 98.01471% | 136/136 identical forms;42 operands, first column pointer r6 vsr11 at instruction53. First50 instructions exact; remaining unsigned column/clamp registers cycle r6-r11. | 45 distinct successful source trials this round; no untried functions.
R7 final files: libs/RVL_SDK/src/fa/pf_volume.c; src/keyboard/tiSignWindow.cpp; libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c; tools/decomp-assist/fz3.attempts.md. Source commits451eaff8,becfba47,5058e494,4cd94ca2,8a89a5ba. Three new exact functions,1552 newly matched code bytes; all data unchanged100%, all six poolsidentical, correctDOL,0globalregressions/forbidden/readability. No remaining proof uncertainty for accepted changes; original Hangul helper boundary and remaining compiler allocation are unresolved as logged. No source/header/config changes after clean full gate; final commit is log only.
R8 initial pool libs/RevoEX/src/so/SOOption | POOL IDENTICAL up to 0 (mine=0 base=0)
R8 initial pool libs/RVL_SDK/src/fa/pf_entry_iterator | POOL IDENTICAL up to 0 (mine=0 base=0)
R8 initial pool src/keyboard/tiString | POOL IDENTICAL up to 0 (mine=0 base=0)
R8 initial pool src/keyboard/tiSignWindow | POOL IDENTICAL up to 30 (mine=30 base=30)
R8 initial pool libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var | POOL IDENTICAL up to 0 (mine=0 base=0)
# Round8 XHIGH, fresh branch HEADa61a7cf1. Each trial logs first differing instruction and source construct, with original always restored until accepted by gate.
SOGetInterfaceOpt | R8 origin fetched; source equal origin except README;119/119,frame0x30. First5 mr r25,r4 vtarget26; only five level/option operands. rm/temp slots0xc/8, branchforms, calls,pointersetup andload/store scheduling identical. No symbol overlap (0x814B476c+0x1dc=SOSetInterfaceOpt0x814B4948), no adjacent-stack reload proof; const OptionLength/global qualifiers already ineffective last round. Test selector inline boundary and real response block types before declaration search.
SOGetInterfaceOpt | R8 selector pair initialized inside command inline helper | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
SOGetInterfaceOpt | R8 selector helper receives operation before protocol level | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
SOGetInterfaceOpt | R8 aligned length reply remains a typed interface response block | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
SOGetInterfaceOpt | R8 allocated interface request pointer scoped immutable after allocation | BUILD FAIL OOption.c -o build/43U/src/libs/RevoEX/src/so && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RevoEX/src/so/SOOption.d build/43U/src/libs/RevoEX/src/so/SOOption.d ### mwcceppc.exe Compiler: # File: libs\RevoEX\src\so\SOOption.c # -------------------------------------- # 110: InterfaceOption* const request=SOiAlloc(12,size); # Error: ^^^^^^^^^^^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
SOGetInterfaceOpt | R8 immutable interface allocation pointer in its own successful scope | objdiff 98.61345; 119/119 instructions; structural/exact (0, 33); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
SOGetInterfaceOpt | R8 readonly interface reply byte view for memcpy input | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
SOGetInterfaceOpt | R8 five distinct compiled structural/type/helper trials; selectors/read-only byte view preserve5operanddiffs, scopedconstallocation worsens33. Leadingdeclsearch65builds no improvement. Baseline restored119/119,99.78992, no data.
PFENT_ITER_FindCluster | R8 fetch source equalorigin,237/237frame0xa0; first39li1r7 vsr8,8registeronlydiffs constant/entry-count swap. Noextentoverlap0x815d3414+0x3b4=Retreat0x815d37c8. Targetadjacentstore/reloaditer.index0x20 alreadypreserved baseline, last roundfieldvolatileadded3loads, rejected. Loop/helper/call/scheduling otherwiseidentical; test entrycount derived from real initialized firstclusterfield.
PFENT_ITER_FindCluster | R8 entry count derives from initialized iterator first cluster | objdiff 99.81013; 237/237 instructions; structural/exact (0, 8); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
PFENT_ITER_FindCluster | R8 entry count computes byte geometry using preceding power of two | objdiff 97.95358; 239/237 instructions; structural/exact (5, 206); first (18, ('b', '852'), ('b', '844'))
PFENT_ITER_FindCluster | R8 readonly initialized iterator supplies first sector entry count | objdiff 99.81013; 237/237 instructions; structural/exact (0, 8); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
PFENT_ITER_FindCluster | R8 FAT hint first-cluster sentinel initialized in inline boundary | objdiff 99.81013; 237/237 instructions; structural/exact (0, 8); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
PFENT_ITER_FindCluster | R8 four compiled source attempts, initialized-field and hint-inline boundaries preserve8diffs; alternate geometryshift adds2instructions and rejected. Leadingdeclsearch36builds leaves8, baseline restored99.81013. Data24bytes remains100; no header/data edits.
inputChar__Q39textinput8tistring9DecolatedFw | R8 fresh fetch sourceequalorigin,125/136frame0x30. Firstrealconstruct65Hangulmode lacksinlinedstream index/count lifetime, initialNUL andunusednewlinecompare;targetcharregister4, counter6 starts0 andcount29mask. Noadjacentstackreloadproof orsizeoverlap0x81432ce4+0x220=confirmKana0x81432f04. Test shared translatorcounter/output-reference boundaries; no empty newline stubs orunsupportedvolatile.
inputChar__Q39textinput8tistring9DecolatedFw | R8 shared translation count initialized before mode dispatch and appended in Hangul | objdiff 90.132355; 125/136 instructions; structural/exact (18, 73); first (10, ('beq', '428'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 wide translation count shared across mode dispatch | objdiff 90.132355; 125/136 instructions; structural/exact (18, 73); first (10, ('beq', '428'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 bounded input array reference and readonly character reference | objdiff 90.132355; 125/136 instructions; structural/exact (18, 73); first (10, ('beq', '428'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 append character through advancing pointer and derive UTF16 count | objdiff 89.92647; 130/136 instructions; structural/exact (18, 87); first (10, ('beq', '448'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 converter handles newline literal then ordinary character append | objdiff 93.22794; 138/136 instructions; structural/exact (17, 75); first (10, ('beq', '480'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 converter newline append through bounded buffer and const character | objdiff 93.22794; 138/136 instructions; structural/exact (17, 75); first (10, ('beq', '480'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 direct newline normalization expresses target retained comparison | objdiff 89.91912; 130/136 instructions; structural/exact (16, 73); first (10, ('beq', '448'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 generic conversion append resets buffer length on newline | objdiff 91.06618; 135/136 instructions; structural/exact (17, 62); first (10, ('beq', '468'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 conversion append carries mutable stream length through newline reset | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 conversion newline clears previous text and resets stream length | objdiff 91.72794; 136/136 instructions; structural/exact (15, 60); first (63, ('b', '88'), ('b', '80'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 conversion buffer owns newline reset append and readonly length | objdiff 92.52941; 135/136 instructions; structural/exact (16, 61); first (10, ('beq', '468'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 conversion buffer keeps UTF16 sized length field | objdiff 91.64706; 135/136 instructions; structural/exact (17, 62); first (10, ('beq', '468'), ('beq', '472'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 conversion buffer newline clear is a real reusable stream method | objdiff 93.05147; 136/136 instructions; structural/exact (17, 60); first (63, ('b', '88'), ('b', '80'))
inputChar__Q39textinput8tistring9DecolatedFw | R8 thirteen distinct compiled trials, including natural pointer/count references and functional newline append/reset stream boundaries. Best93.60294/135vs136 stilladds live newline branch absenttarget and lacks targetpointer/zero ordering. No candidate retained: original converter semantics/boundary unresolved; no unused newline arg, empty stub, arbitrary volatile orsymbolresize introduced. Baseline125/136,90.132355 restored.
signcreate | R8 originfetched equalcurrent99.162895,221/frame0x50. First48AnmPanevtablelisr26vs25; relocationorder targetAnmPane,Button,Scroll,table,All versusoursAnmPane,table,Button,Scroll,All. Remaining32operands includeanimationCount22vs31 andanimatedentry25vs22. Metadata,constructorallocation/calls andbranchforms exact; noextentoverlap oradjacentstackvolatileproof. Test real iterator/animation entry lifetimes before register permutations.
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 immutable animation bound and force name scoped to pane setup | objdiff 98.12217; 221/221 instructions; structural/exact (0, 60); first (48, ('lis', 'r26, 0'), ('lis', 'r25, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 animation traversal explicit wide induction and UTF16 index view | objdiff 99.162895; 221/221 instructions; structural/exact (0, 32); first (48, ('lis', 'r26, 0'), ('lis', 'r25, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 pane metadata index uses proven bounded unsigned loop counter | objdiff 95.701355; 220/221 instructions; structural/exact (5, 184); first (5, ('li', 'r19, 0'), ('li', 'r14, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly animation entry reference lives across resource creation | objdiff 99.61539; 221/221 instructions; structural/exact (0, 13); first (49, ('lis', 'r24, 0'), ('lis', 'r27, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 animation bound and index declared together in natural for loop | objdiff 98.19005; 221/221 instructions; structural/exact (0, 58); first (48, ('lis', 'r26, 0'), ('lis', 'r25, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly animation reference with direct pane table lookup | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly animation reference with count declared after pane creation | objdiff 98.64253; 221/221 instructions; structural/exact (0, 53); first (49, ('lis', 'r24, 0'), ('lis', 'r27, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly animation slot pointer declared before pane loop and late bound | objdiff 98.64253; 221/221 instructions; structural/exact (0, 53); first (49, ('lis', 'r24, 0'), ('lis', 'r27, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 direct pane lookup with early declared readonly animation slot pointer | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly pane name array view across constructor branches | objdiff 96.8914; 222/221 instructions; structural/exact (5, 160); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly pane table view local to each logical pane iteration | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
signcreate | R8 retain readonly animation-slot reference instead of repeated table indexing, anddirect pane table lookup. Constreference is to pointer object, so actual animation pointer reloads across calls are preserved.99.162895->99.72851,221/221 instructionforms0,32->10 operands. Remaining4All/table constant-load relocation order and6animation-count22/entry31 swap. Leading3declsearch6builds nofurthergain. QuickGATE PASS55/56,data3468/3468,poolidentical,0globalregressions/forbidden/readability andtargetDOL.
TMCJPEGDEC_IdctBlock4x4 | R8 fresh fetch originequalscurrent98.01471,136/136frame0x120. First53columnpointerr6vs11 with42cyclicr6-r11operands, all instructionforms andfirst50exact. Firstpass provenautomaticunroll4rows. Newhypothesis secondpass pointerr11 is compiler-generated strength reduction from indexed tmp[idx], so its virtual lifetime begins after output/clamp locals instead of explicit column pointerdecl. Noextentoverlap0x814ef490+0x220=2x2start814ef6b0; noimmediate stackreloadproof,data0.
TMCJPEGDEC_IdctBlock4x4 | R8 indexed temporary buffer lets compiler reduce column input pointer | objdiff 100.0; 136/136 instructions; structural/exact (0, 0); first None
EXACT CANDIDATE /tmp/fz3-r8-candidates/TMCJPEGDEC_IdctBlock4x4_indexed_temporary_buffer_lets_compiler_reduce_column_input_pointer.txt
TMCJPEGDEC_IdctBlock4x4 | R8 natural descending signed column index and buffer offsets | objdiff 100.0; 136/136 instructions; structural/exact (0, 0); first None
EXACT CANDIDATE /tmp/fz3-r8-candidates/TMCJPEGDEC_IdctBlock4x4_natural_descending_signed_column_index_and_buffer_offsets.txt
TMCJPEGDEC_IdctBlock4x4 | R8 ascending iteration derives descending temporary and output index | objdiff 90.117645; 138/136 instructions; structural/exact (14, 107); first (10, ('lwz', 'r29, 0xc(r8)'), ('lwz', 'r28, 0xc(r8)'))
TMCJPEGDEC_IdctBlock4x4 | R8 EXACT on firstindexed-column attempt:98.01471->100.0,136/136diffs0; replace explicit columnpointer withtmp[idx],tmp[idx+8/16/24]. Compiler generates pointerlater atvirtualregisterorderneeded forr11, resolving all42operanddiffs. Naturaldescendingi variant also100, ascending3-i changes138 and rejected. QuickGATE PASSunit6/6code1804/1804vs5/6code1260/1804,data0,poolidentical,0globalregressions forbidden readability,correctDOL. This is automatic strength reduction, no volatile, helper, symbol orconfigchange.
signcreate | R8 freshfetch remote stillwithoutnewanimationreference; target221first51All/tableloadorder, six animation bound/slot operands remain; try index declaration before bound and natural readonly animation array view, following proven IDCT auto-generated address allocation.
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 animation counter declared before immutable loop bound | objdiff 98.64253; 221/221 instructions; structural/exact (0, 54); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 pane animation force metadata and bound scoped after index declaration | objdiff 98.57466; 221/221 instructions; structural/exact (0, 56); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly animation array input view uses compiler generated element address | objdiff 96.49321; 221/221 instructions; structural/exact (10, 62); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 direct pane field indexing lets compiler form shared row address | objdiff 94.81901; 224/221 instructions; structural/exact (15, 174); first (48, ('lis', 'r24, 0'), ('lis', 'r25, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 direct pane fields and immutable late animation count | objdiff 94.253395; 224/221 instructions; structural/exact (15, 172); first (48, ('lis', 'r24, 0'), ('lis', 'r25, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly pane row lookup owns masked index alias boundary | objdiff 99.38914; 221/221 instructions; structural/exact (0, 21); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly animation slot reference begins after resource name lookup | objdiff 96.42534; 222/221 instructions; structural/exact (4, 135); first (7, ('mr', 'r23, r3'), ('mr', 'r15, r3'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 readonly animation slot reference begins after transform creation | objdiff 98.61991; 222/221 instructions; structural/exact (4, 69); first (48, ('lis', 'r26, 0'), ('lis', 'r25, 0'))
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R8 resource and transform declarations precede readonly animation slot view | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
signcreate | R8 extra natural-index, animation array alias, declaration/lifetime and direct-field tests have no further gain beyondaccepted99.72851. Direct-field rewrite adds3instructions, late-bound reference adds1 orextra saved-register uses; readonly row helper worsens21operands. All rejected variants restored. Remaining exact-shape10operand diffs are4All/table relocation-load ordering and6bound/animation-slot22/31 register swap; no unsupporteddata fixes.
R8 pre-final remaining-attempt audit | SOGetInterfaceOpt | 5 distinct compiled scored attempts this round; no untried functions.
R8 pre-final remaining-attempt audit | PFENT_ITER_FindCluster | 4 distinct compiled scored attempts this round; no untried functions.
R8 pre-final remaining-attempt audit | inputChar__Q39textinput8tistring9DecolatedFw | 13 distinct compiled scored attempts this round; no untried functions.
R8 pre-final remaining-attempt audit | create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | 20 distinct compiled scored attempts this round; no untried functions.
R8 data ownership audit | owned .data/.rodata/.sdata/.ctors target symbols all100: entry_iterator24 bytes,tiString288,tiSignWindow3468;SOOption/IDCT noowned data. All5poolsidentical frominitial pool_diff; no symbolrename,extent,address,section-total orsharedheaderchange. Relocation gaps fromremainingfunctions remain codework. Clean full all-unit gate follows.
# R8 final clean full gate over all five owned units (non --quick)
```
full build: ok
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
[libs/RevoEX/src/so/SOOption] pool: IDENTICAL
[libs/RevoEX/src/so/SOOption] objdiff: code 816/1292 data None/None functions 3/4 fuzzy 99.9226 linked code 0
[libs/RevoEX/src/so/SOOption] instruction-exact functions: 3/4
[libs/RevoEX/src/so/SOOption] section .text size 1292 match 99.9226
[libs/RevoEX/src/so/SOOption] below 100: SOGetInterfaceOpt 99.78992
[libs/RevoEX/src/so/SOOption] baseline: code 816/1292 data None functions 3 fuzzy 99.9226
[libs/RVL_SDK/src/fa/pf_entry_iterator] pool: IDENTICAL
[libs/RVL_SDK/src/fa/pf_entry_iterator] objdiff: code 6932/7880 data 24/24 functions 15/16 fuzzy 99.9772 linked code 0
[libs/RVL_SDK/src/fa/pf_entry_iterator] instruction-exact functions: 15/16
[libs/RVL_SDK/src/fa/pf_entry_iterator] section .sdata size 24 match 100.0
[libs/RVL_SDK/src/fa/pf_entry_iterator] section .text size 7880 match 99.97716
[libs/RVL_SDK/src/fa/pf_entry_iterator] below 100: PFENT_ITER_FindCluster 99.81013
[libs/RVL_SDK/src/fa/pf_entry_iterator] baseline: code 6932/7880 data 24 functions 15 fuzzy 99.9772
[src/keyboard/tiString] pool: IDENTICAL
[src/keyboard/tiString] objdiff: code 4632/5176 data 288/288 functions 41/42 fuzzy 98.9629 linked code 0
[src/keyboard/tiString] instruction-exact functions: 41/42
[src/keyboard/tiString] section .data size 288 match 100.0
[src/keyboard/tiString] section .text size 5176 match 98.962906
[src/keyboard/tiString] below 100: inputChar__Q39textinput8tistring9DecolatedFw 90.132355
[src/keyboard/tiString] baseline: code 4632/5176 data 288 functions 41 fuzzy 98.9629
[src/keyboard/tiSignWindow] pool: IDENTICAL
[src/keyboard/tiSignWindow] objdiff: code 6300/7184 data 3468/3468 functions 55/56 fuzzy 99.9666 linked code 0
[src/keyboard/tiSignWindow] instruction-exact functions: 55/56
[src/keyboard/tiSignWindow] section .ctors size 4 match 100.0
[src/keyboard/tiSignWindow] section .data size 2672 match 100.0
[src/keyboard/tiSignWindow] section .rodata size 784 match 100.0
[src/keyboard/tiSignWindow] section .sdata size 8 match 100.0
[src/keyboard/tiSignWindow] section .text size 7184 match 99.96659
[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.72851
[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.8970
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] pool: IDENTICAL
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] objdiff: code 1804/1804 data None/None functions 6/6 fuzzy 100.0000 linked code 0
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] instruction-exact functions: 6/6
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] section .text size 1804 match 100.0
[libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var] baseline: code 1260/1804 data None functions 5 fuzzy 99.4013
regressions vs baseline: 0
global matched_code_percent: 89.86156 -> 89.87973
global fuzzy_match_percent: 99.53919 -> 99.53971
global complete_code_percent: 67.39544 -> 67.39544
global matched_data_percent: 99.36508 -> 99.36508
forbidden patterns added (net, per file): 0
readability warnings (net, per file; must be 0 in the final result): 0
GATE PASS
```
libs/RevoEX/src/so/SOOption | exact 3/4 -> 3/4 | code bytes 816 -> 816/1292 | data bytes 0 -> 0/0
R8 remaining | SOGetInterfaceOpt | 99.78992% | 119/119, frame0x30, five register operands remain: level25vs26 andoption28vs25; first5mr r25,r4 vsr26. rm/temp slots, branches, helper/load order exact. | 5 distinct compiled source attempts this round.
libs/RVL_SDK/src/fa/pf_entry_iterator | exact 15/16 -> 15/16 | code bytes 6932 -> 6932/7880 | data bytes 24 -> 24/24
R8 remaining | PFENT_ITER_FindCluster | 99.81013% | 237/237, frame0xa0, eight sharedconstant1 andentries-per-sector register operands remain; first39li r7,1 vsr8. Definitionvolatile wouldadd3loads andwasrejected, no extentoverlap. | 4 distinct compiled source attempts this round.
src/keyboard/tiString | exact 41/42 -> 41/42 | code bytes 4632 -> 4632/5176 | data bytes 288 -> 288/288
R8 remaining | inputChar__Q39textinput8tistring9DecolatedFw | 90.132355% | 125/136, frame0x30, missing original Hangul converter/index/count boundary andretainedunusednewlinecmp; allnewfunctionalbuilder candidates introduce extra livebranch ortemporaloperation ordering, rejected. | 13 distinct compiled source attempts this round.
src/keyboard/tiSignWindow | exact 55/56 -> 55/56 | code bytes 6300 -> 6300/7184 | data bytes 3468 -> 3468/3468
R8 remaining | create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | 99.72851% | 221/221, frame0x50,10operand differences: All-vtable/table address-load relocation order4 andanimation-count22vs31/slot31vs22 registerswap6. First51LISAll30vstable24; allotherconstructors, pointerread/call/order exact. | 20 distinct compiled source attempts this round.
libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var | exact 5/6 -> 6/6 | code bytes 1260 -> 1804/1804 | data bytes 0 -> 0/0
R8 final files: src/keyboard/tiSignWindow.cpp; libs/RVLMiddleware/TMC_JPEG/src/reschange/idct_resolution_change_var.c; tools/decomp-assist/fz3.attempts.md. Source commits8fbf59f0,1988244e. One new exact function and544matchedcodebytes, IDCTunit6/6code1804/1804data0. Signcreate99.162895->99.72851genuinefuzzyimprovement, exactcountunchanged. 45distinctcompiledsource trials and107declaration evaluations followingstructuraldiagnostics. Allfivepoolsidentical,data100, correctDOL,0globalregressions/forbidden/readability. No sourcechangesafterfullclean gate; finalcommit logonly. Uncertain: original Hangul helper/newline-processing structure andremaining SO/iterator/register constant-hoist choices; allacceptedbytes/state provedbygate. No untried openfunctions, no symbol/data/header/config changes, no Matching status switches orlinking claims.

View File

@@ -0,0 +1,57 @@
# mslmisc leaf attempts
Owned units: `src/scene/sdChannelTitle/iplSDChannelTitle.cpp`, `libs/NW4R/src/ut/ut_ArchiveFontBase.cpp`.
MSL checked via live report: only `MSL_Common/wprintf` incomplete — stays in misc1b's notes.
## DECODE: SDButton::setEventHandler retail dead-param (SOLVED)
orig's real decl was **1-arg** `setEventHandler(EventHandler*)`. Evidence:
- Every orig call site (title ×2, select ×4) emits a bare `bl` with only r3/r4 — never `li r5,0`.
- The 5-insn DEF (`lwz r3,0x60; lwz r12,0; lwz r12,0x38; mtctr; bctr`) forwards to `Manager::setEventHandler`, a 1-arg weak virtual — `optOut` was never consumed.
- `Button::setEventHandler` (a DIFFERENT class, genuine 2-arg impl at 0x8139C93C) DOES emit `li r5,0` in iplFocusObject — MWCC materializes default args, so SDButton's missing r5 means the decl never had it.
- The 2-arg mangle in symbols.txt was an author mislabel inherited from `Button`'s real 2-arg.
Fix (all kept): `iplSDButton.h` decl → `void setEventHandler(::gui::EventHandler* event);`; `iplSDButton.cpp` def → 1-arg; call sites in sdChannelTitle/sdChannelSelect → 1-arg; `config/43U/symbols.txt` line 4817 renamed `...8SDButtonFPQ23gui12EventHandlerPQ23gui12EventHandler` → `...8SDButtonFPQ23gui12EventHandler`. Flipped 5 fns to instruction-identical + all sdChannelTitle data sections to 100%.
Mechanism note: renaming a `.text` address in symbols.txt propagates through the splitter into orig's DEF name AND every caller's UND reloc name — the legit rename lever.
## UNSOLVED: enqueue*Notice leading dead-arg (r4)
`SDChannelSelect::enqueueChannelNotice(u32 controller, u32 page, u32 index, u32 value)` and
`enqueueStateNotice(u32 controller, u32 state, u32 type, u32)` (4×u32 each; defs build
`command.titleId = ((u64)page << 32) | index` — proven 4×u32, not u64).
orig call sites marshal r5/r6/r7 but **never write r4** (arg1 `controller` — dead param the
def bodies ignore; iplSDMemory callers DO materialize it). Same dead-arg family as
setEventHandler but on a LEADING arg — no decl form reproduces it:
- arg-count reduction shifts the marshal left (breaks r5/r6/r7 positions)
- defaulted params must be trailing
- `(u32,u64,u32)` still needs `li r4,0` for arg1
- `scene->mPage`/`mIndex`/`channel` as arg1 all emit real loads (`lwz`/`mr`) — orig has none
- r4 is call-clobbered at both sites (`bl findChannelObject`, `bl isReceiveScheduleStopped`)
so no "value already in r4" source expr exists
Residual = `+li r4,0` plus marshal-order (orig emits r6-before-r5 / addi-first) — scheduler family.
## TIE: flushSaveBeforeExit eval-order (98.59)
Insn+reloc-identical except a 6-word window: orig `lis r3` (smArg base→r3), `lwz r4,0x94` (stw-mgr),
`stw`, `lwz r4,0x28` (heap), `lwz r3,0x94` (flush receiver — reloaded LAST). Mine: base→r4,
receiver-load before heap-load. Orig evaluated the `flushAsync` ARG before the receiver reload.
Tried: `saveHeap` local (before/after stw, decl-init, separate assign — emits at-birth or at-use,
never between), `saveData`/`mgr` local (caches receiver → 5-insn form, wrong), nested
`flushAsync(System::getMem2App())` (same as original). All ~6-word identical or regression.
## TIE: ConstructOpAnalyzeGLGR 20-diff window (91.79)
239/239 insns — orig interleaves `lhz r31,0x1c` (sheetGlyphCount) + `lhz r23,0xe` (dataBlockCount)
mid-flag-chain (issued at birth, deep-callee homes); mine emits both at-use (`lhz r26/r25`,
~8 insns later). Same callee-web rotation family. Kept: flags-first reorder (24→20 diffs) +
the second `pGlgr = &font->glgr` assignment (removing it = 113 diffs). Decl-init variant no-op.
## Status
- iplSDChannelTitle: .text 99.9, all data sections 100% (baseline was data 12.1%). Three
sub-100 fns — all at the anomalies/ties above.
- ut_ArchiveFontBase: .text 98.5 — the 20-diff window.
- DOL sha1 `26116613f624061ba99c8d1a299aaa6efa85670d` verified. No shims; both units stay NonMatching.