Compare commits
32 Commits
mslmisc-cl
...
agent/w100
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50c607f457 | ||
|
|
d5133925f4 | ||
|
|
f26eeb4527 | ||
|
|
559687ce69 | ||
|
|
ff90063ef9 | ||
|
|
c1183780c2 | ||
|
|
2050ad7616 | ||
|
|
9077ef8c7a | ||
|
|
bc303bc36e | ||
|
|
5518cb16fd | ||
|
|
0c06b01c8d | ||
|
|
adc15fdf6f | ||
|
|
dea64a8c9c | ||
|
|
3cde45682d | ||
|
|
ae7cf34cab | ||
|
|
91cc177cb7 | ||
|
|
ecee6f01e4 | ||
|
|
28d3333887 | ||
|
|
2119935c1d | ||
|
|
c7896c3802 | ||
|
|
68c4c9aeac | ||
|
|
1b942565f7 | ||
|
|
a9705fa1a3 | ||
|
|
e1f0ef93a5 | ||
|
|
adcd8ca586 | ||
|
|
76d72f06ce | ||
|
|
b0474b6eac | ||
|
|
9ce28d272f | ||
|
|
771208ab77 | ||
|
|
cee13c5a0b | ||
|
|
1c974dbd49 | ||
|
|
bac1e5427a |
19
.github/workflows/readme-progress.yml
vendored
19
.github/workflows/readme-progress.yml
vendored
@@ -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
|
||||
|
||||
@@ -53,9 +53,9 @@ Progress
|
||||
<!-- progress:start -->
|
||||
| Decompiled | Matched | Linked | Data |
|
||||
|:---:|:---:|:---:|:---:|
|
||||
| 99.54% | 89.91% | 69.31% | 99.37% |
|
||||
| 99.57% | 90.47% | 70.31% | 99.37% |
|
||||
|
||||
units 949/1027 complete, functions 12326/12563 matched.
|
||||
units 952/1027 complete, functions 12351/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 -->
|
||||
|
||||
@@ -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
|
||||
@@ -103,7 +103,7 @@ AtermThread = .bss:0x810C0958; // type:object size:0x318 scope:local align:32
|
||||
Voices = .bss:0x810C0C80; // type:object size:0x1800 data:4byte
|
||||
sZeroMem = .bss:0x810C2480; // type:object size:0x100 data:byte
|
||||
s_player_thread_stack = .bss:0x810C2580; // type:object size:0x4000 scope:local
|
||||
lbl_810C6580 = .bss:0x810C6580; // type:object size:0x10
|
||||
lbl_810C6580 = .bss:0x810C6580; // type:object size:0xC
|
||||
layoutGatherDestructorRecord = .bss:0x810C6590; // type:object size:0xC data:4byte
|
||||
unInputedWCharColorDestructorRecord = .bss:0x810C659C; // type:object size:0xC data:4byte
|
||||
charColorDestructorRecord = .bss:0x810C65A8; // type:object size:0xC data:4byte
|
||||
@@ -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
|
||||
@@ -21841,7 +21841,7 @@ globalNames__Q23www9trasition = .sdata:0x81696300; // type:object size:0x8 scope
|
||||
@1425 = .sdata:0x81696308; // type:object size:0x1 scope:local
|
||||
gEnableDpd = .sdata:0x81696310; // type:object size:0x4 data:4byte
|
||||
globalNames__Q23www10wiisetting = .sdata:0x81696314; // type:object size:0x8
|
||||
lbl_8169631C = .sdata:0x8169631C; // type:object size:0x1
|
||||
@17315 = .sdata:0x8169631C; // type:object size:0x1 scope:local
|
||||
lbl_8169631D = .sdata:0x8169631D; // type:object size:0x8 data:string
|
||||
lbl_81696325 = .sdata:0x81696325; // type:object size:0x4 data:string
|
||||
lbl_81696329 = .sdata:0x81696329; // type:object size:0x8 data:string
|
||||
@@ -23829,7 +23829,7 @@ result$1126 = .sbss:0x81698E48; // type:object size:0x4 data:4byte
|
||||
soState = .sbss:0x81698E50; // type:object size:0x1 scope:local data:byte
|
||||
soError = .sbss:0x81698E54; // type:object size:0x4 scope:local data:4byte
|
||||
soRegistered = .sbss:0x81698E58; // type:object size:0x4 scope:local data:4byte
|
||||
soSocketRegistered = .sbss:0x81698E60; // type:object size:0x8 scope:local data:4byte
|
||||
soSocketRegistered = .sbss:0x81698E60; // type:object size:0x4 scope:local data:4byte
|
||||
sslRegistered = .sbss:0x81698E68; // type:object size:0x4 scope:local data:4byte
|
||||
l_initialized = .sbss:0x81698E6C; // type:object size:0x4 scope:local data:4byte
|
||||
VFipf_sys_set = .sbss:0x81698E70; // type:object size:0x4 scope:global data:4byte
|
||||
|
||||
@@ -927,7 +927,7 @@ config.libs = [
|
||||
Object(Matching, "keyboard/tiPkData.cpp", extra_cflags=["-O4,p"], shift_jis=False),
|
||||
Object(Matching, "keyboard/tiLanguageIndependentData.cpp", extra_cflags=["-O4,p"], shift_jis=False),
|
||||
Object(Matching, "keyboard/tiTextInputBase.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(NonMatching, "keyboard/MyTiManager.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(Matching, "keyboard/MyTiManager.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(Matching, "keyboard/MyTiInputForm.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(Matching, "keyboard/MyTiLetterForm.cpp", extra_cflags=["-O4,p"]),
|
||||
Object(Matching, "keyboard/MyTiBg.cpp", extra_cflags=["-O4,p"]),
|
||||
@@ -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"),
|
||||
@@ -1695,7 +1695,7 @@ config.libs = [
|
||||
Object(Matching, "fa/pf_cluster.c"),
|
||||
Object(Matching, "fa/pf_dir.c"),
|
||||
Object(Matching, "fa/pf_entry.c"),
|
||||
Object(NonMatching, "fa/pf_entry_iterator.c"),
|
||||
Object(Matching, "fa/pf_entry_iterator.c"),
|
||||
Object(NonMatching, "fa/pf_fat.c"),
|
||||
Object(Matching, "fa/pf_fat12.c"),
|
||||
Object(Matching, "fa/pf_fat16.c"),
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace textinput {
|
||||
public:
|
||||
Animation() : mfAnimationTime(0.0f), mbInAnimation(false), mbSE(false), mpAnimObserver(NULL) {}
|
||||
|
||||
#ifdef TIINPUTFORM_IMPLEMENTATION
|
||||
#if defined(TIINPUTFORM_IMPLEMENTATION) || defined(MYTIMANAGER_IMPLEMENTATION)
|
||||
virtual void startAnm(f32 start, f32 end, f32 duration, AnimObserver* observer, void* data);
|
||||
#else
|
||||
virtual void startAnm(AnimObserver*, f32, f32, f32, void*);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -38,6 +38,19 @@ namespace EGG {
|
||||
|
||||
virtual void calc(); // 0x30
|
||||
|
||||
#ifdef EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, u32 id); // 0x34
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, unsigned int id); // 0x38
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, const char* pName); // 0x3C
|
||||
|
||||
virtual bool prepareSound(nw4r::snd::SoundHandle* pHandle, u32 id); // 0x44
|
||||
virtual bool prepareSound(nw4r::snd::SoundHandle* pHandle, unsigned int id); // 0x44
|
||||
virtual bool prepareSound(nw4r::snd::SoundHandle* pHandle, const char* pName); // 0x48
|
||||
|
||||
virtual bool holdSound(nw4r::snd::SoundHandle* pHandle, u32 id); // 0x50
|
||||
virtual bool holdSound(nw4r::snd::SoundHandle* pHandle, unsigned int id); // 0x50
|
||||
virtual bool holdSound(nw4r::snd::SoundHandle* pHandle, const char* pName); // 0x58
|
||||
#else
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, u32 id) { return mSoundArchivePlayer.StartSound(pHandle, id); } // 0x34
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, unsigned int id) { return mSoundArchivePlayer.StartSound(pHandle, id); } // 0x38
|
||||
virtual bool startSound(nw4r::snd::SoundHandle* pHandle, const char* pName) NO_INLINE {
|
||||
@@ -66,6 +79,7 @@ namespace EGG {
|
||||
u32 id = changeNameToId(pName);
|
||||
return mSoundArchivePlayer.HoldSound(pHandle, id);
|
||||
} // 0x58
|
||||
#endif
|
||||
|
||||
u32 changeNameToId(const char* pName) { return mpArchive->ConvertLabelStringToSoundId(pName); }
|
||||
const char* changeIdToName(u32 id) { return mpArchive->GetSoundLabelString(id); }
|
||||
|
||||
@@ -19,6 +19,10 @@ namespace EGG {
|
||||
|
||||
~SoundHeapMgr() { destroySoundHeap(); }
|
||||
|
||||
#ifdef EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
virtual bool loadState(s32 id); // 0x08
|
||||
virtual s32 getCurrentLevel(); // 0x0C
|
||||
#else
|
||||
virtual bool loadState(s32 id) {
|
||||
#ifdef IPL_SOUND_MATCHING
|
||||
if (id > 0 && mHeap.GetCurrentLevel() >= id) {
|
||||
@@ -35,6 +39,7 @@ namespace EGG {
|
||||
} // 0x08
|
||||
|
||||
virtual s32 getCurrentLevel() { return mHeap.GetCurrentLevel(); } // 0x0C
|
||||
#endif
|
||||
|
||||
s32 saveState() { return mHeap.SaveState(); }
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#define EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
|
||||
#include <egg/core.h>
|
||||
|
||||
namespace EGG {
|
||||
|
||||
@@ -19,8 +19,13 @@ namespace nw4r {
|
||||
template <typename T>
|
||||
class AutoLock : private NonCopyable {
|
||||
public:
|
||||
#ifdef EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS
|
||||
explicit AutoLock(T& rLockObj);
|
||||
~AutoLock();
|
||||
#else
|
||||
explicit AutoLock(T& rLockObj) : mLockObj(rLockObj) { Lock(rLockObj); }
|
||||
~AutoLock() { Unlock(mLockObj); }
|
||||
#endif
|
||||
|
||||
private:
|
||||
T& mLockObj; // 0x00
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -10,14 +10,12 @@ static TMCHuffmanEntry readHuffmanEntry(const TMCHuffmanEntry* entries, u32 inde
|
||||
return entries[index];
|
||||
}
|
||||
|
||||
static TMCHuffmanEntry readHuffmanLimit(const TMCHuffmanEntry* entries) {
|
||||
TMCHuffmanEntry limit;
|
||||
limit.bitLength = entries->bitLength;
|
||||
limit.symbol = entries->symbol;
|
||||
return limit;
|
||||
static void readHuffmanLimit(const TMCHuffmanEntry* entries, TMCHuffmanEntry* limit) {
|
||||
limit->bitLength = entries->bitLength;
|
||||
limit->symbol = entries->symbol;
|
||||
}
|
||||
|
||||
static inline s32 decodeLongHuffman(s32 bitCount, const TMCHuffmanEntry* table, const u8* symbols, TMCCJPEGDecWork* work) {
|
||||
static inline s32 decodeLongHuffman(s32 bitCount, const TMCHuffmanEntry* table, const u8* symbols, TMCCJPEGDecWork* work, TMCHuffmanEntry* limit, TMCHuffmanEntry* decoded) {
|
||||
u32 bitData;
|
||||
u32 code;
|
||||
u32 length;
|
||||
@@ -51,17 +49,21 @@ static inline s32 decodeLongHuffman(s32 bitCount, const TMCHuffmanEntry* table,
|
||||
code |= (bitData >> bitCount) & 1;
|
||||
read_entry:
|
||||
{
|
||||
TMCHuffmanEntry decoded = readHuffmanLimit(entry);
|
||||
if (code > (u32)decoded.bitLength) {
|
||||
readHuffmanLimit(entry, limit);
|
||||
*decoded = *limit;
|
||||
if (code > (u32)decoded->bitLength) {
|
||||
continue;
|
||||
}
|
||||
code = code - entry->bitLength + entry->symbol;
|
||||
return symbols[code & 0xFF];
|
||||
{
|
||||
u32 relativeCode = code - entry->bitLength;
|
||||
u32 symbolIndex = relativeCode + entry->symbol;
|
||||
return symbols[symbolIndex & 0xFF];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static inline s32 decodeACHuffman(s32 bitCount, const TMCHuffmanEntry* entry, const u8* symbols, TMCCJPEGDecWork* work) {
|
||||
static inline s32 decodeACHuffman(s32 bitCount, const TMCHuffmanEntry* entry, const u8* symbols, TMCCJPEGDecWork* work, TMCHuffmanEntry* limit, TMCHuffmanEntry* decoded) {
|
||||
u32 bitData;
|
||||
u32 code;
|
||||
u32 length;
|
||||
@@ -94,18 +96,26 @@ static inline s32 decodeACHuffman(s32 bitCount, const TMCHuffmanEntry* entry, co
|
||||
code |= (bitData >> bitCount) & 1;
|
||||
read_entry:
|
||||
{
|
||||
TMCHuffmanEntry decoded = readHuffmanLimit(entry);
|
||||
if (code > (u32)decoded.bitLength) {
|
||||
readHuffmanLimit(entry, limit);
|
||||
*decoded = *limit;
|
||||
if (code > (u32)decoded->bitLength) {
|
||||
continue;
|
||||
}
|
||||
code = code - entry->bitLength + entry->symbol;
|
||||
return symbols[code & 0xFF];
|
||||
{
|
||||
u32 relativeCode = code - entry->bitLength;
|
||||
u32 symbolIndex = relativeCode + entry->symbol;
|
||||
return symbols[symbolIndex & 0xFF];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_ptr, TMCCJPEGDecWork* work) {
|
||||
TMCHuffmanEntry dcEntry;
|
||||
TMCHuffmanEntry dcDecoded;
|
||||
TMCHuffmanEntry dcLimit;
|
||||
TMCHuffmanEntry acDecoded;
|
||||
TMCHuffmanEntry acLimit;
|
||||
u8* huff_sym;
|
||||
const TMCHuffmanEntry* ac_fast;
|
||||
s32 idx;
|
||||
@@ -147,7 +157,7 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
} else {
|
||||
huff_sym = work->pDCHuffSym;
|
||||
huff_tbl = work->pDCHuffTbl;
|
||||
r = decodeLongHuffman(bit_pos, (const TMCHuffmanEntry*)huff_tbl, huff_sym, work);
|
||||
r = decodeLongHuffman(bit_pos, (const TMCHuffmanEntry*)huff_tbl, huff_sym, work, &dcLimit, &dcDecoded);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
@@ -207,7 +217,7 @@ s32 TMCJPEGDEC_decode_iquant(s32* block, u8* conv_row_ptr, u32* dc_predict_row_p
|
||||
r = acEntry.symbol;
|
||||
} else {
|
||||
bit_pos = work->bitCount;
|
||||
r = decodeACHuffman(bit_pos, (const TMCHuffmanEntry*)huff_tbl, huff_sym, work);
|
||||
r = decodeACHuffman(bit_pos, (const TMCHuffmanEntry*)huff_tbl, huff_sym, work, &acLimit, &acDecoded);
|
||||
if (r < 0) {
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ static u16 readU16(const u8* p, u16 byteOrder) {
|
||||
}
|
||||
|
||||
static u16 readExifU16(const u8* data, u16 byteOrder) {
|
||||
u32 value = data[0] | data[1] << 8;
|
||||
u16 value = data[0] | data[1] << 8;
|
||||
if (byteOrder == 0x4949) {
|
||||
return (u16)value;
|
||||
}
|
||||
@@ -246,9 +246,9 @@ static s32 TMCJPEGDEC_exif_parse(const u8* data, u32 size, TMCCJPEGDecExifData*
|
||||
u32 ifdOffset;
|
||||
const u8* entries;
|
||||
u16 remaining;
|
||||
u16 count;
|
||||
s32 entriesSize;
|
||||
u16 index;
|
||||
s32 entriesSize;
|
||||
u16 count;
|
||||
pInfo->thumbnailData = (u8*)data;
|
||||
pInfo->dataEnd = (u8*)data + size;
|
||||
pInfo->nextIfdOffset = 0;
|
||||
@@ -339,7 +339,7 @@ static s32 TMCJPEGDEC_exif_parse(const u8* data, u32 size, TMCCJPEGDecExifData*
|
||||
}
|
||||
|
||||
static void TMCJPEGDEC_IFD0_tag_parse(TMCCJPEGDecExifData* pInfo, u16 byteOrder, const u8* entry) {
|
||||
u16 tag;
|
||||
s32 tag;
|
||||
u16 type;
|
||||
|
||||
tag = readU16(entry, byteOrder);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -753,8 +753,7 @@ static int zi8InternalGetZH(ziGetParam* request, ZiChineseOptions* options, ziPt
|
||||
if (!componentTable) {
|
||||
componentCount = Zi8GetTableCount(1, 7, work);
|
||||
componentOrdinals = (ziU8*)Zi8GetTableAddress(1, 7, work);
|
||||
componentCursor = (ziU8*)Zi8GetTableAddress(1, 2, work);
|
||||
componentTable = componentCursor;
|
||||
componentTable = componentCursor = (ziU8*)Zi8GetTableAddress(1, 2, work);
|
||||
componentCursor += 8;
|
||||
--componentCount;
|
||||
componentIndex = componentCount;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -511,8 +511,8 @@ pf_s32 PFENT_ITER_FindCluster(PF_DIR_ENT* p_ent, pf_u32 cluster, pf_bool* p_is_f
|
||||
iter.ffd.cluster_link.buffer = PF_NULL;
|
||||
iter.log2_entries_per_sector = p_ent->p_vol->bpb.log2_bytes_per_sector - 5;
|
||||
iter.file_sector_index = sector_index;
|
||||
entries_per_sector = 1 << iter.log2_entries_per_sector;
|
||||
iter.offset_mask = entries_per_sector - 1;
|
||||
iter.offset_mask = (1U << iter.log2_entries_per_sector) - 1;
|
||||
entries_per_sector = 1U << iter.log2_entries_per_sector;
|
||||
iter.p_vol = p_ent->p_vol;
|
||||
iter.sector = p_ent->entry_sector;
|
||||
iter.offset = p_ent->entry_offset;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -397,6 +397,8 @@ s32 WADImportGetBlocks(char* path, MEMAllocator* allocator, WADLocation location
|
||||
s32 result;
|
||||
u32 fileOffset;
|
||||
WADFileEntry* allocatedFiles;
|
||||
void* fileNames;
|
||||
void* titleList;
|
||||
BOOL streamOpened;
|
||||
u32 transferId;
|
||||
u32 contentCount;
|
||||
@@ -406,9 +408,11 @@ s32 WADImportGetBlocks(char* path, MEMAllocator* allocator, WADLocation location
|
||||
u32 skipTitleMeta = flags & 4;
|
||||
WADFileHeader* fileHeader;
|
||||
|
||||
streamOpened = FALSE;
|
||||
fileOffset = 0;
|
||||
fileNames = 0;
|
||||
titleList = 0;
|
||||
allocatedFiles = 0;
|
||||
streamOpened = FALSE;
|
||||
memset(&workspace.unpackInfo, 0, sizeof(WADUnpackInfo));
|
||||
if (fileListOut != 0) {
|
||||
*fileListOut = 0;
|
||||
@@ -521,6 +525,12 @@ s32 WADImportGetBlocks(char* path, MEMAllocator* allocator, WADLocation location
|
||||
|
||||
cleanup:
|
||||
_WADFreeMemory(&workspace.unpackInfo, allocator);
|
||||
if (fileNames != 0) {
|
||||
_WADMemFree(allocator, fileNames);
|
||||
}
|
||||
if (titleList != 0) {
|
||||
_WADMemFree(allocator, titleList);
|
||||
}
|
||||
if ((fileListOut != 0) && (result != 0)) {
|
||||
if (allocatedFiles != 0) {
|
||||
_WADMemFree(allocator, allocatedFiles);
|
||||
@@ -535,7 +545,7 @@ cleanup:
|
||||
|
||||
static s32 WAD_815BFFA8(WADImportLoopArgs* args) {
|
||||
s32 fd = args->fd;
|
||||
s32 result = 0;
|
||||
s32 result;
|
||||
u32 remaining = args->size;
|
||||
WADImportTransfer* transfer = args->transfer;
|
||||
u32 bufferIndex = 0;
|
||||
@@ -561,7 +571,7 @@ static s32 WAD_815BFFA8(WADImportLoopArgs* args) {
|
||||
|
||||
s32 WADImportEx(char* path, MEMAllocator* allocator, WADLocation location, u32 offset, u32 flags,
|
||||
WADProcessCallback processCallback) {
|
||||
s32 result = 0;
|
||||
s32 result;
|
||||
ESHash* sharedContentHashes = 0;
|
||||
ESContentId* installedContentIds = 0;
|
||||
ESContentMeta* matchingContents = 0;
|
||||
@@ -1181,7 +1191,7 @@ static s32 WAD_815C1288(WADExportLoopArgs* args) {
|
||||
u32 remaining = args->size;
|
||||
u32 bufferIndex = 0;
|
||||
WADImportTransfer* transfer = args->transfer;
|
||||
s32 result = 0;
|
||||
s32 result;
|
||||
|
||||
for (; (remaining != 0) && (result == 0); bufferIndex ^= 1) {
|
||||
OSMutex* mutex;
|
||||
@@ -1257,6 +1267,7 @@ s32 WADBackupEx(u64 titleId, u32 flags, MEMAllocator* allocator, char* path, u32
|
||||
s32 contentExportStarted;
|
||||
s32 threadCreated = FALSE;
|
||||
s32 fileFd;
|
||||
WADBackupHeader* headerBlockHeader;
|
||||
|
||||
titleMetaSize = 0;
|
||||
contentDataSize = 0;
|
||||
@@ -1377,7 +1388,6 @@ s32 WADBackupEx(u64 titleId, u32 flags, MEMAllocator* allocator, char* path, u32
|
||||
result = 0;
|
||||
if (path == 0) {
|
||||
*sizeOut = totalSize + 0x340;
|
||||
result = 0;
|
||||
goto cleanup;
|
||||
}
|
||||
outputBuffer = _WADMemAlloc(allocator, 0x10000);
|
||||
@@ -1398,6 +1408,7 @@ s32 WADBackupEx(u64 titleId, u32 flags, MEMAllocator* allocator, char* path, u32
|
||||
if (result != 0) {
|
||||
goto cleanup;
|
||||
}
|
||||
headerBlockHeader = &headerBlock.header;
|
||||
paddedSize = sizeof(headerBlock);
|
||||
memset(&headerBlock, 0, paddedSize);
|
||||
if ((u32)WADWriteStream(&stream, &headerBlock, paddedSize) != paddedSize) {
|
||||
@@ -1414,12 +1425,12 @@ s32 WADBackupEx(u64 titleId, u32 flags, MEMAllocator* allocator, char* path, u32
|
||||
headerBlock.header.fileSize = fileDataSize;
|
||||
headerBlock.header.numFiles = fileCount;
|
||||
headerBlock.header.backupAreaLen = totalSize + 0x340;
|
||||
result = ES_GetDeviceId(&headerBlock.header.deviceId);
|
||||
result = ES_GetDeviceId(&headerBlockHeader->deviceId);
|
||||
if (result != 0) {
|
||||
goto cleanup;
|
||||
}
|
||||
if ((flags & 1) != 0) {
|
||||
memcpy(&headerBlock.header.cidx, &existingContentMask, sizeof(existingContentMask));
|
||||
memcpy(&headerBlockHeader->cidx, &existingContentMask, sizeof(existingContentMask));
|
||||
}
|
||||
if ((flags & 2) != 0) {
|
||||
u32 currentTitleLow;
|
||||
@@ -1442,7 +1453,7 @@ s32 WADBackupEx(u64 titleId, u32 flags, MEMAllocator* allocator, char* path, u32
|
||||
headerBlock.header.titleId = ((u64)currentTitleHigh << 32) | currentTitleLow;
|
||||
}
|
||||
if (_WADGetTransferId(transferMac) != 0) {
|
||||
memcpy(headerBlock.header.deviceMac, transferMac, sizeof(headerBlock.header.deviceMac));
|
||||
memcpy(headerBlockHeader->deviceMac, transferMac, sizeof(headerBlockHeader->deviceMac));
|
||||
}
|
||||
}
|
||||
SHA1Reset(hashContext);
|
||||
@@ -1683,9 +1694,13 @@ s32 WADBackupEx(u64 titleId, u32 flags, MEMAllocator* allocator, char* path, u32
|
||||
}
|
||||
}
|
||||
file_done:
|
||||
if (fileHeaderBuffer->flags[2] == 1) {
|
||||
fileFd = -1;
|
||||
}
|
||||
if (fileOpened) {
|
||||
NANDClose(&savedFile);
|
||||
}
|
||||
fileFd = -1;
|
||||
if (result != 0) {
|
||||
readSize = (fileHeaderBuffer->fileSize + 0x3F) & ~0x3F;
|
||||
totalSize -= readSize;
|
||||
@@ -2921,7 +2936,7 @@ static void _WADRandPad(void* buffer, u32 size) {
|
||||
|
||||
static s32 WAD_815C43E0(WADHashThreadArgs* args) {
|
||||
void* context = args->context;
|
||||
s32 result = 0;
|
||||
s32 result;
|
||||
u32 remaining = args->size;
|
||||
WADImportTransfer* transfer = args->transfer;
|
||||
u32 bufferIndex = 0;
|
||||
@@ -3524,6 +3539,9 @@ s32 WADImportDVDExForBS(const char* path, void* buffer, u32 bufferSize) {
|
||||
parts.titleMeta = readBuffer + sectionOffset;
|
||||
sectionOffset += (header.tmdSize + 0x3F) & ~0x3F;
|
||||
}
|
||||
if (header.contentSize != 0) {
|
||||
contentBuffer = readBuffer + sectionOffset;
|
||||
}
|
||||
contentBuffer = readBuffer + sectionOffset;
|
||||
remainingBufferSize = bufferSize - sectionOffset;
|
||||
if ((u32)sectionOffset > bufferSize) {
|
||||
|
||||
@@ -120,10 +120,11 @@ NWC24Err NWC24iMinutesToOSCalendarTime(OSCalendarTime* calendar, s32 minutes) {
|
||||
NWC24Err NWC24iDateToOSCalendarTime(OSCalendarTime* calendar, const NWC24Date* date) {
|
||||
BOOL isLeapYear;
|
||||
s32 days;
|
||||
const u16 year = date->year;
|
||||
|
||||
isLeapYear = 0;
|
||||
|
||||
calendar->year = date->year;
|
||||
calendar->year = year;
|
||||
calendar->mon = date->month - 1;
|
||||
calendar->mday = date->day;
|
||||
calendar->hour = date->hour;
|
||||
@@ -132,7 +133,7 @@ NWC24Err NWC24iDateToOSCalendarTime(OSCalendarTime* calendar, const NWC24Date* d
|
||||
calendar->msec = 0;
|
||||
calendar->usec = 0;
|
||||
calendar->yday = date->day + DAYS_OF_YEAR[date->month - 1] - 1;
|
||||
if (((date->year % 4 == 0 && date->year % 100 != 0) || date->year % 400 == 0)) {
|
||||
if (((year % 4 == 0 && year % 100 != 0) || year % 400 == 0)) {
|
||||
isLeapYear = 1;
|
||||
}
|
||||
if (isLeapYear && date->month > 2) {
|
||||
@@ -227,8 +228,9 @@ void ConvertDaysToDate(u16* year, u8* month, u8* day, s32 days) {
|
||||
for (;;) {
|
||||
s32 previousDays;
|
||||
u8 currentMonth;
|
||||
const u8* parsedMonth = month;
|
||||
previousDays = days;
|
||||
currentMonth = *month;
|
||||
currentMonth = *parsedMonth;
|
||||
if (currentMonth == 2 && IsLeapYear(*year)) {
|
||||
days -= 29;
|
||||
} else {
|
||||
|
||||
@@ -64,7 +64,7 @@ static NWC24Err ClearMBCEntry(MBCHeader* header, NWC24File* file, u32 offset);
|
||||
static NWC24Err MountVFMBox(NWC24MBoxType type);
|
||||
static NWC24Err CopyMsgObjToMBCFmt(const NWC24MsgObjPrivate* msg, MBCEntry* entry);
|
||||
static NWC24Err CopyMsgObjToPrvFmt(const MBCEntry* entry, NWC24MsgObjPrivate* msg) NO_INLINE;
|
||||
BOOL NWC24iIsMsgObjReadable(const MBCEntry* entry) NO_INLINE;
|
||||
BOOL NWC24iIsMsgObjReadable(MBCEntry* entry) NO_INLINE;
|
||||
NWC24Err NWC24CreateVF(const char* path, u32 size);
|
||||
|
||||
static inline NWC24Err MakeCtrlPath(char* path, NWC24MBoxType type) {
|
||||
@@ -221,7 +221,7 @@ NWC24Err NWC24GetMsgObj(NWC24MsgObj* msg, NWC24MBoxType type, u32 id) {
|
||||
return result;
|
||||
}
|
||||
|
||||
BOOL NWC24iIsMsgObjReadable(const MBCEntry* entry) {
|
||||
BOOL NWC24iIsMsgObjReadable(MBCEntry* entry) {
|
||||
if (!(entry->type & 0x200000))
|
||||
return FALSE;
|
||||
if (entry->type & 0xFE000000)
|
||||
|
||||
@@ -430,14 +430,17 @@ static NWC24Err CheckMsgObject(const NWC24MsgObjPrivate* msg) {
|
||||
return NWC24_OK;
|
||||
}
|
||||
|
||||
static inline u32 Base64StorageSize(const u32* byteCount) {
|
||||
return (*byteCount * 4 + 2) / 3 + *byteCount / 57 * 2 + 4;
|
||||
}
|
||||
|
||||
static NWC24Err CheckMsgBoxSpace(const NWC24MsgObjPrivate* msg, NWC24MBoxType type) {
|
||||
u32 total = 0;
|
||||
u32 textSize = 0;
|
||||
s32 index;
|
||||
NWC24Err err;
|
||||
for (index = 0; index < msg->numAttached; ++index) {
|
||||
u32 size = msg->attachedSize[index];
|
||||
total += (size * 4 + 2) / 3 + size / 57 * 2 + 4;
|
||||
total += Base64StorageSize(&msg->attachedSize[index]);
|
||||
}
|
||||
switch (msg->encoding) {
|
||||
case NWC24_ENC_7BIT:
|
||||
|
||||
@@ -817,6 +817,7 @@ done:
|
||||
|
||||
NWC24Err NWC24iSetMsgSubjectBase64(NWC24MsgObj* msg, const u16* subject, u32 subjectSize, NWC24EncodingRegion region, u16 alternative, u8* work,
|
||||
u32 workSize, NWC24Charset charset, char* charsetName) {
|
||||
const u8* encodedInput = work;
|
||||
u8* second;
|
||||
u32 secondSize;
|
||||
u32 workHalf;
|
||||
@@ -844,7 +845,7 @@ NWC24Err NWC24iSetMsgSubjectBase64(NWC24MsgObj* msg, const u16* subject, u32 sub
|
||||
default: goto done;
|
||||
}
|
||||
}
|
||||
result = NWC24EncodeWord(second, secondSize, &outputLength, charsetName, 0x40, 'B', work, workHalf - 1);
|
||||
result = NWC24EncodeWord(second, secondSize, &outputLength, charsetName, 0x40, 'B', (u8*)encodedInput, workHalf - 1);
|
||||
switch (result) { case NWC24_OK: break; default: goto done; }
|
||||
{
|
||||
sourceOffset = subjectLength;
|
||||
@@ -872,7 +873,7 @@ NWC24Err NWC24iSetMsgSubjectBase64(NWC24MsgObj* msg, const u16* subject, u32 sub
|
||||
default: goto done;
|
||||
}
|
||||
}
|
||||
result = NWC24EncodeWord(second + total, secondSize - total, &outputLength, charsetName, 0x40, 'B', work, workHalf - 1);
|
||||
result = NWC24EncodeWord(second + total, secondSize - total, &outputLength, charsetName, 0x40, 'B', (u8*)encodedInput, workHalf - 1);
|
||||
switch (result) { case NWC24_OK: break; default: goto done; }
|
||||
sourceOffset += subjectLength;
|
||||
total = total + outputLength - 1;
|
||||
|
||||
@@ -138,9 +138,9 @@ int SOGetSockName(int socket, void* address) {
|
||||
int size;
|
||||
int result;
|
||||
s32 rm;
|
||||
SOSockAddr* addr;
|
||||
SOSockAddr* reply;
|
||||
NameRequest* request;
|
||||
SOSockAddr* reply;
|
||||
SOSockAddr* addr;
|
||||
addr=address;
|
||||
if((result=SOiPrepare(NULL,&rm))==0) {
|
||||
if(!addr || addr->len>8 || addr->len<8) result=-28;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -64,6 +64,7 @@ public:
|
||||
class AppearMemoState : public State {
|
||||
public:
|
||||
AppearMemoState() : mTime(0.0f) {}
|
||||
virtual ~AppearMemoState();
|
||||
Manager::StateType getStateType();
|
||||
void create();
|
||||
void init();
|
||||
@@ -1229,6 +1230,8 @@ Manager::StateType EditMemoState::getStateType() {
|
||||
|
||||
inline State::~State() {}
|
||||
|
||||
AppearMemoState::~AppearMemoState() {}
|
||||
|
||||
Manager::StateType AppearMemoState::getStateType() {
|
||||
return Manager::ST_Appearing;
|
||||
}
|
||||
@@ -1242,3 +1245,48 @@ Manager::StateType DispMemoState::getStateType() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
inline void textinput::util::Animation::startAnm(f32 start, f32 end, f32 duration, AnimObserver* observer, void* data) {
|
||||
mfStartPoint = start;
|
||||
mfEndPoint = end;
|
||||
mfAnimationTime = duration;
|
||||
mfCurrentFrame = 0.0f;
|
||||
mbInAnimation = true;
|
||||
mpAnimObserver = observer;
|
||||
mpData = data;
|
||||
mbSE = false;
|
||||
if (observer) observer->onAnmEvent(AnimObserver::AE_0, data);
|
||||
}
|
||||
|
||||
inline void textinput::util::Animation::calc() {
|
||||
if (mbInAnimation) {
|
||||
if (mfCurrentFrame < mfAnimationTime) {
|
||||
mfCurrentFrame = 1.0f + mfCurrentFrame;
|
||||
} else {
|
||||
if (mbInAnimation && mpAnimObserver) {
|
||||
mpAnimObserver->onAnmEvent(AnimObserver::AE_1, mpData);
|
||||
}
|
||||
mbInAnimation = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
inline f32 textinput::util::Animation::getValue() {
|
||||
return hermiteInterporation(mfCurrentFrame, 0.0f, mfStartPoint, 0.0f, mfAnimationTime, mfEndPoint, 0.0f);
|
||||
}
|
||||
|
||||
inline bool textinput::util::Animation::isActive() {
|
||||
return mbInAnimation;
|
||||
}
|
||||
|
||||
inline void textinput::util::Animation::setSEFlag(bool flag) {
|
||||
mbSE = flag;
|
||||
}
|
||||
|
||||
inline bool textinput::util::Animation::isSEFlag() {
|
||||
return mbSE;
|
||||
}
|
||||
|
||||
inline void textinput::util::Animation::stop() {
|
||||
mbInAnimation = false;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
for (; paneIndex < 25; ++paneIndex) {
|
||||
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,18 +249,18 @@ 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;
|
||||
}
|
||||
++paneIndex;
|
||||
} while (paneIndex < 25);
|
||||
}
|
||||
init();
|
||||
}
|
||||
|
||||
|
||||
@@ -111,12 +111,13 @@ void WithZi::init() {
|
||||
|
||||
void WithZi::clearCandidates() {
|
||||
if (mbDictionaryOpen != 0) {
|
||||
u16* const candidates = CandidatesBuffer;
|
||||
mInputLength = 0;
|
||||
mCandidateCount = 0;
|
||||
memset(ElementBuffer, 0, 0x1fe);
|
||||
memset(CandidatesBuffer, 0, 0x200);
|
||||
memset(CandidatesBuffer + 0x100, 0, 0x1fe);
|
||||
memset(CandidatesBuffer + 0x200, 0, 0x200);
|
||||
memset(candidates, 0, 0x200);
|
||||
memset(candidates + 0x100, 0, 0x1fe);
|
||||
memset(candidates + 0x200, 0, 0x200);
|
||||
memset(CandidatedWord, 0, 0x1400);
|
||||
memset(&mSearch, 0, sizeof(mSearch) + sizeof(mSearchState));
|
||||
mSearch.language = getPredictLanguage();
|
||||
@@ -125,7 +126,7 @@ void WithZi::clearCandidates() {
|
||||
mSearch.context = 1;
|
||||
mSearch.getOptions = 0x81;
|
||||
mSearch.elements = reinterpret_cast<wchar_t*>(ElementBuffer);
|
||||
mSearch.candidates = reinterpret_cast<wchar_t*>(&CandidatesBuffer[0x200]);
|
||||
mSearch.candidates = reinterpret_cast<wchar_t*>(&candidates[0x200]);
|
||||
mSearch.maxCandidates = 0x28;
|
||||
mSearch.elementCount = 0;
|
||||
mSearch.firstCandidate = 0;
|
||||
@@ -510,12 +511,14 @@ scanDone:
|
||||
}
|
||||
|
||||
u32 WithZi::setElementBuffer() {
|
||||
u16* elements;
|
||||
u16* candidates;
|
||||
u16 inputCharacter;
|
||||
u32 count = 0;
|
||||
memset(ElementBuffer, 0, 0x1fe);
|
||||
memset(&CandidatesBuffer[0x100], 0, 0x1fe);
|
||||
u16* elements = ElementBuffer;
|
||||
u16* candidates = CandidatesBuffer;
|
||||
u16 inputCharacter;
|
||||
elements = ElementBuffer;
|
||||
candidates = CandidatesBuffer;
|
||||
while ((inputCharacter = candidates[static_cast<u16>(count)]) != 0 && static_cast<u16>(count) < 0xff) {
|
||||
u16 index = count;
|
||||
elements[index] = inputCharacter;
|
||||
|
||||
@@ -1557,6 +1557,15 @@ namespace ipl {
|
||||
}
|
||||
}
|
||||
|
||||
static inline math::VEC2 scaledPageOffset(const math::VEC2& source, f32 factor) {
|
||||
const f32 vertical = source.y * factor;
|
||||
const f32 horizontal = source.x * factor;
|
||||
math::VEC2 scaled;
|
||||
scaled.y = vertical;
|
||||
scaled.x = horizontal;
|
||||
return scaled;
|
||||
}
|
||||
|
||||
void Address::onPreviousPage() {
|
||||
switch (mState) {
|
||||
case STATE_NORMAL:
|
||||
@@ -1586,10 +1595,7 @@ namespace ipl {
|
||||
mPage = PAGE_MAX - 1;
|
||||
mNextPageNum = 0;
|
||||
mbCover = false;
|
||||
math::VEC2 offset;
|
||||
offset.y = sPageOffset.y * PAGE_MAX;
|
||||
offset.x = sPageOffset.x * PAGE_MAX;
|
||||
add_translate(mpLayout->FindPaneByName("N_note_base"), offset);
|
||||
add_translate(mpLayout->FindPaneByName("N_note_base"), scaledPageOffset(sPageOffset, PAGE_MAX));
|
||||
mpLayout->getAnim(4)->setAnmType(0);
|
||||
mpLayout->getAnim(4)->play();
|
||||
set_page_text("T_nmbr_b", mPage + 1);
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -69,6 +69,13 @@ namespace ipl {
|
||||
SDMemory::~SDMemory() {}
|
||||
|
||||
void SDMemory::create(EGG::Heap* heap, nand::LayoutFile* layoutFile, SDChannelSelect* channelSelect) {
|
||||
s32 cachedTitleCount;
|
||||
const savedata::Manager* saveData;
|
||||
nw4r::lyt::TextBox* textBox;
|
||||
layout::Animator* scrollAnimator;
|
||||
ControlPaneEventHandler* controlEvent;
|
||||
TitlePaneEventHandler* titleEvent;
|
||||
DialogPaneEventHandler* dialogEvent;
|
||||
mpSDChannelSelect = channelSelect;
|
||||
|
||||
mpMainLayout = new layout::Object(heap, layoutFile, "arc", "mn_DialogWindow_ChChange_a.brlyt");
|
||||
@@ -89,7 +96,7 @@ namespace ipl {
|
||||
mpMainLayout->getAnim(5)->initAnmFrame();
|
||||
mpMainLayout->getAnim(8)->initAnmFrame();
|
||||
|
||||
nw4r::lyt::TextBox* textBox = static_cast<nw4r::lyt::TextBox*>(mpMainLayout->FindPaneByName("T_Dialog_00"));
|
||||
textBox = static_cast<nw4r::lyt::TextBox*>(mpMainLayout->FindPaneByName("T_Dialog_00"));
|
||||
textBox->SetString(System::getMessage(0xB0));
|
||||
textBox = static_cast<nw4r::lyt::TextBox*>(mpMainLayout->FindPaneByName("TextBox_05"));
|
||||
textBox->SetString(System::getMessage(0xBB));
|
||||
@@ -143,8 +150,8 @@ namespace ipl {
|
||||
textBox = static_cast<nw4r::lyt::TextBox*>(mpTitleLayout->FindPaneByName("TextBox_07"));
|
||||
textBox->SetString(System::getMessage(0xBA));
|
||||
|
||||
const savedata::Manager* saveData = System::getSaveData();
|
||||
s32 cachedTitleCount = 0;
|
||||
saveData = System::getSaveData();
|
||||
cachedTitleCount = 0;
|
||||
for (s32 i = 0; i < 48; ++i) {
|
||||
if (saveData->getTitleCacheEntry(i) == 0) {
|
||||
break;
|
||||
@@ -153,10 +160,12 @@ namespace ipl {
|
||||
}
|
||||
if (cachedTitleCount >= 5) {
|
||||
mpTitleLayout->FindPaneByName("N_Btn_3")->SetVisible(false);
|
||||
mpTitleLayout->FindPaneByName("N_Btn_4")->SetVisible(true);
|
||||
nw4r::lyt::Pane* expandedButton = mpTitleLayout->FindPaneByName("N_Btn_4");
|
||||
expandedButton->SetVisible(true);
|
||||
mDisplayMode = 4;
|
||||
} else {
|
||||
mpTitleLayout->FindPaneByName("N_Btn_3")->SetVisible(true);
|
||||
nw4r::lyt::Pane* compactButton = mpTitleLayout->FindPaneByName("N_Btn_3");
|
||||
compactButton->SetVisible(true);
|
||||
mpTitleLayout->FindPaneByName("N_Btn_4")->SetVisible(false);
|
||||
mDisplayMode = 3;
|
||||
}
|
||||
@@ -195,7 +204,7 @@ namespace ipl {
|
||||
mpDialogLayout->getAnim(11)->initAnmFrame();
|
||||
mpDialogLayout->getAnim(8)->initAnmFrame();
|
||||
mpDialogLayout->getAnim(18)->initAnmFrame();
|
||||
layout::Animator* scrollAnimator = mpDialogLayout->getAnim(18);
|
||||
scrollAnimator = mpDialogLayout->getAnim(18);
|
||||
scrollAnimator->initFrame();
|
||||
scrollAnimator->restart();
|
||||
|
||||
@@ -210,7 +219,7 @@ namespace ipl {
|
||||
mpDialogLayout->finishBinding();
|
||||
mpProgressLayout->getAnim(0)->initAnmFrame();
|
||||
|
||||
ControlPaneEventHandler* controlEvent = new ControlPaneEventHandler(this);
|
||||
controlEvent = new ControlPaneEventHandler(this);
|
||||
mpPaneManagers[0] = new gui::PaneManager(controlEvent, mpMainLayout->getDrawInfo(), NULL, NULL);
|
||||
mpPaneManagers[0]->setupScene(mpMainLayout);
|
||||
mpPaneManagers[0]->setAllComponentTriggerTarget(false);
|
||||
@@ -218,7 +227,7 @@ namespace ipl {
|
||||
mpPaneManagers[0]->setTriggerTarget(mpMainLayout->FindPaneByName(sControlPaneNames[i]), true);
|
||||
}
|
||||
|
||||
TitlePaneEventHandler* titleEvent = new TitlePaneEventHandler(this);
|
||||
titleEvent = new TitlePaneEventHandler(this);
|
||||
mpPaneManagers[1] = new gui::PaneManager(titleEvent, mpTitleLayout->getDrawInfo(), NULL, NULL);
|
||||
mpPaneManagers[1]->setupScene(mpTitleLayout);
|
||||
mpPaneManagers[1]->setAllComponentTriggerTarget(false);
|
||||
@@ -233,7 +242,7 @@ namespace ipl {
|
||||
}
|
||||
}
|
||||
|
||||
DialogPaneEventHandler* dialogEvent = new DialogPaneEventHandler(this);
|
||||
dialogEvent = new DialogPaneEventHandler(this);
|
||||
mpPaneManagers[2] = new gui::PaneManager(dialogEvent, mpDialogLayout->getDrawInfo(), NULL, NULL);
|
||||
mpPaneManagers[2]->setupScene(mpDialogLayout);
|
||||
mpPaneManagers[2]->setAllComponentTriggerTarget(false);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
@@ -3458,7 +3458,11 @@ namespace ipl {
|
||||
break;
|
||||
}
|
||||
|
||||
if (event == 0) {
|
||||
switch (event) {
|
||||
default: return;
|
||||
case 0: break;
|
||||
}
|
||||
{
|
||||
if (mpScene->mState == 1) {
|
||||
if (System::getFader()->getStatus() == EGG::Fader::PREPARE_OUT) {
|
||||
if (con != NULL) {
|
||||
@@ -3504,8 +3508,6 @@ namespace ipl {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -34,7 +34,7 @@ struct AOSSAccessPoint {
|
||||
u8 bssid[6];
|
||||
u16 capabilities;
|
||||
u32 rateCount;
|
||||
u8 rates[12];
|
||||
u8 rates[16];
|
||||
u32 beaconPeriod;
|
||||
u32 mode;
|
||||
};
|
||||
@@ -84,7 +84,7 @@ void* AOSSi_Alloc(u32 size) {
|
||||
}
|
||||
|
||||
void AOSSi_Free(void* block) {
|
||||
if (releaseMemory != NULL) {
|
||||
if (releaseMemory) {
|
||||
releaseMemory(0, block, 0);
|
||||
}
|
||||
}
|
||||
@@ -129,15 +129,15 @@ int AOSSi_EndLocal(void) {
|
||||
int AOSSi_WLANGetBSSList(struct AOSSAccessPointList** output) {
|
||||
int result = -1;
|
||||
int startupRetries = 0;
|
||||
int scanRetries = 0;
|
||||
int cleanupRetries = 0;
|
||||
WDScanParam scan ATTRIBUTE_ALIGN(32);
|
||||
WD_Info info ATTRIBUTE_ALIGN(32);
|
||||
int unlockRetries = 0;
|
||||
int driver;
|
||||
u8* buffer;
|
||||
WD_Info info ATTRIBUTE_ALIGN(32);
|
||||
WDScanParam scan;
|
||||
int cleanupRetries = 0;
|
||||
int scanRetries = 0;
|
||||
u8 macAddress[6];
|
||||
if (allocateMemory == NULL || releaseMemory == NULL) {
|
||||
if (!allocateMemory || !releaseMemory) {
|
||||
return -1;
|
||||
}
|
||||
driver = NCDLockWirelessDriver();
|
||||
@@ -157,7 +157,7 @@ startup:
|
||||
memcpy(macAddress, info.MAC, 6);
|
||||
}
|
||||
buffer = AOSSi_Alloc(0x3200);
|
||||
if (buffer != NULL) {
|
||||
if (buffer) {
|
||||
memset(buffer, 0, 0x3200);
|
||||
scan.channelBit = info.enableChannel;
|
||||
scan.maxChannelTime = 40;
|
||||
@@ -178,37 +178,37 @@ startup:
|
||||
count = *(u16*)buffer;
|
||||
if (count != 0) {
|
||||
list = AOSSi_Alloc(sizeof(*list) + (count - 1) * sizeof(struct AOSSAccessPoint));
|
||||
if (list == NULL) {
|
||||
if (!list) {
|
||||
result = -1;
|
||||
break;
|
||||
}
|
||||
list->count = count;
|
||||
descriptor = (WDBssDesc*)&buffer[2];
|
||||
for (index = 0; index < count; ++index) {
|
||||
struct AOSSAccessPoint* accessPoint = &list->accessPoints[index];
|
||||
int rate;
|
||||
int rateCount = 0;
|
||||
accessPoint->ssidLength = descriptor->ssidLength;
|
||||
memcpy(accessPoint->ssid, descriptor->ssid, 32);
|
||||
accessPoint->channel = descriptor->channel;
|
||||
memcpy(accessPoint->bssid, descriptor->bssid, 6);
|
||||
int rateCount;
|
||||
list->accessPoints[index].ssidLength = descriptor->ssidLength;
|
||||
memcpy(list->accessPoints[index].ssid, descriptor->ssid, 32);
|
||||
list->accessPoints[index].channel = descriptor->channel;
|
||||
memcpy(list->accessPoints[index].bssid, descriptor->bssid, 6);
|
||||
rateCount = 0;
|
||||
for (rate = 0; rate < 12; ++rate) {
|
||||
if (descriptor->rateSet.support & supportedRates[rate].mask) {
|
||||
accessPoint->rates[rateCount] = supportedRates[rate].value;
|
||||
list->accessPoints[index].rates[rateCount] = supportedRates[rate].value;
|
||||
if (descriptor->rateSet.basic & supportedRates[rate].mask) {
|
||||
accessPoint->rates[rateCount] |= 128;
|
||||
list->accessPoints[index].rates[rateCount] |= 128;
|
||||
}
|
||||
++rateCount;
|
||||
}
|
||||
}
|
||||
accessPoint->rateCount = rateCount;
|
||||
accessPoint->beaconPeriod = descriptor->beaconPeriod;
|
||||
list->accessPoints[index].rateCount = rateCount;
|
||||
list->accessPoints[index].beaconPeriod = descriptor->beaconPeriod;
|
||||
if ((descriptor->capabilities & 3) == 1) {
|
||||
accessPoint->mode = 1;
|
||||
list->accessPoints[index].mode = 1;
|
||||
} else if ((descriptor->capabilities & 3) == 2) {
|
||||
accessPoint->mode = 2;
|
||||
list->accessPoints[index].mode = 2;
|
||||
} else {
|
||||
accessPoint->mode = 0;
|
||||
list->accessPoints[index].mode = 0;
|
||||
}
|
||||
descriptor = (WDBssDesc*)((u16*)descriptor + descriptor->length);
|
||||
}
|
||||
@@ -222,7 +222,7 @@ startup:
|
||||
}
|
||||
if (++scanRetries > 10) {
|
||||
list = AOSSi_Alloc(sizeof(*list));
|
||||
if (list == NULL) {
|
||||
if (!list) {
|
||||
result = -1;
|
||||
break;
|
||||
}
|
||||
@@ -236,31 +236,29 @@ startup:
|
||||
AOSSi_Free(buffer);
|
||||
}
|
||||
cleanup:
|
||||
if (WD_Cleanup() != 0) {
|
||||
while (WD_Cleanup() != 0) {
|
||||
if (cleanupRetries > 10) {
|
||||
result = -1;
|
||||
goto unlock;
|
||||
}
|
||||
++cleanupRetries;
|
||||
AOSSi_SleepMs(10);
|
||||
goto cleanup;
|
||||
}
|
||||
unlock:
|
||||
if (NCDUnlockWirelessDriver(driver) != 0) {
|
||||
while (NCDUnlockWirelessDriver(driver) != 0) {
|
||||
if (unlockRetries > 10) {
|
||||
result = -1;
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
++unlockRetries;
|
||||
AOSSi_SleepMs(10);
|
||||
goto unlock;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
int AOSSi_WLANConnect(struct AOSSConnection* connection, struct AOSSConnectionStatus* status) {
|
||||
int retries = 0;
|
||||
int result = 0;
|
||||
int result;
|
||||
WD_Info info ATTRIBUTE_ALIGN(32);
|
||||
NCDIfConfig* interfaceConfig = &AOSSi_NcdIfConfig;
|
||||
NCDIpConfig* ipConfig;
|
||||
@@ -288,6 +286,7 @@ int AOSSi_WLANConnect(struct AOSSConnection* connection, struct AOSSConnectionSt
|
||||
}
|
||||
interfaceConfig->netif.wireless.config.manual.ssidLength = (u8)connection->ssidLength;
|
||||
memcpy(interfaceConfig->netif.wireless.config.manual.ssid, connection->ssid, connection->ssidLength);
|
||||
result = 0;
|
||||
ipConfig = &AOSSi_NcdIpConfig;
|
||||
memset(ipConfig, 0, sizeof(*ipConfig));
|
||||
ipConfig->adjust.maxTransferUnit = 1300;
|
||||
@@ -321,13 +320,14 @@ int AOSSi_WLANConnect(struct AOSSConnection* connection, struct AOSSConnectionSt
|
||||
}
|
||||
}
|
||||
if (result == 0) {
|
||||
u32 ssidLength;
|
||||
status->connected = 1;
|
||||
if (WD_GetInfo(&info) == 0) {
|
||||
status->channel = info.channel;
|
||||
}
|
||||
status->ssidLength = interfaceConfig->netif.wireless.config.manual.ssidLength;
|
||||
memcpy(status->ssid, interfaceConfig->netif.wireless.config.manual.ssid,
|
||||
interfaceConfig->netif.wireless.config.manual.ssidLength);
|
||||
ssidLength = interfaceConfig->netif.wireless.config.manual.ssidLength;
|
||||
status->ssidLength = ssidLength;
|
||||
memcpy(status->ssid, interfaceConfig->netif.wireless.config.manual.ssid, ssidLength);
|
||||
} else {
|
||||
status->connected = 0;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -914,7 +914,8 @@ void CArGBAOdh::cdj_c_setQuantizationTable(SArCDJ_OdhMaster* master, u32 quality
|
||||
for (i = 0; i < 64; i++) {
|
||||
temp = ((const u16*)gArAANScales)[i];
|
||||
temp *= quantization[table * 64 + i];
|
||||
master->quantizationTables[table * 64 + i] = 0x4000000 / temp;
|
||||
temp = 0x4000000 / temp;
|
||||
master->quantizationTables[table * 64 + i] = temp;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
107
tools/decomp-assist/fz1.r2.final-gate.txt
Normal file
107
tools/decomp-assist/fz1.r2.final-gate.txt
Normal 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
|
||||
129
tools/decomp-assist/fz1.r2.report.md
Normal file
129
tools/decomp-assist/fz1.r2.report.md
Normal 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
File diff suppressed because it is too large
Load Diff
@@ -801,3 +801,692 @@ 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.
|
||||
|
||||
# Round 4: fresh origin/main after KPAD reset and continuation landed
|
||||
Initial all-unit quick gate PASS. Pools checked explicitly first: address57/57, SD101/101, KPAD0/0. All owned data100%; no rename or extent edit needed. Current round uses new combinations of lifetime/alias boundaries and inline temporaries, rather than replaying prior variants.
|
||||
|
||||
## src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main adcd8ca586dc4ad15c62df304e560a7c974f1c12. Initial assembly diagnosis: (19, 323) structural/positional differences; instructions 820/820
|
||||
Remote source equals tested HEAD; still open 97.44634%. Structural diagnosis: 820/820; frame/branch shape agrees, layout/event lifetime and floating/register scheduling remain. Probe heap and owner const views before allocation tuning.
|
||||
- name immutable scene heap once for all layout allocations: (24, 793) structural/positional; instructions 821/820; restored.
|
||||
- construct GUI handler objects through named parent view: (19, 323) structural/positional; instructions 820/820; restored.
|
||||
- read completed code layout through const object view for label setup: build failed ^ # (10184) return value expected ### mwcceppc.exe Compiler: # 317: } # Warning: ^ # (10184) return value expected ### mwcceppc.exe Compiler: # 438: nw4r::lyt::Pane* textPane = codeLayout->getNW4RLyt()->GetRootPane()->FindPaneByName("T_crd_btn_00", true); # Error: ^ # (10248) function call '[const ipl::layout::Object].getNW4RLyt()' does not # match # 'ipl::layout::Object::getNW4RLyt()' (non-static) # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main adcd8ca586dc4ad15c62df304e560a7c974f1c12. Initial assembly diagnosis: (10, 68) structural/positional differences; instructions 82/84
|
||||
Remote source equals tested HEAD; still open 88.03571%. Structural diagnosis: 82/84; identical stack buffer extent, name/display pointer addresses should remain live across pane lookup; cache-copy source/destination order differs.
|
||||
- combine mutable String and friend-record references: (20, 45) structural/positional; instructions 81/84; restored.
|
||||
- combine String view with reusable pane/text temporaries: (10, 39) structural/positional; instructions 83/84; restored.
|
||||
- name cached friend source and destination before copy: (10, 68) structural/positional; instructions 82/84; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit update_friendinfo__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main adcd8ca586dc4ad15c62df304e560a7c974f1c12. Initial assembly diagnosis: (2, 2) structural/positional differences; instructions 38/38
|
||||
Remote source equals tested HEAD; still open 99.42105%. Structural diagnosis: 38/38; sole two differences exchange memcpy source and destination addi order, not register-only. Test typed inputs and narrower local boundaries.
|
||||
- source create-id pointer declared after name-copy call: (2, 2) structural/positional; instructions 38/38; restored.
|
||||
- mutable string view and const create-id view combined: (2, 2) structural/positional; instructions 38/38; restored.
|
||||
- initialize friend-id destination pointer at memcpy boundary: (2, 2) structural/positional; instructions 38/38; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err
|
||||
Fetch origin/main adcd8ca586dc4ad15c62df304e560a7c974f1c12. Initial assembly diagnosis: (1, 30) structural/positional differences; instructions 76/75
|
||||
Remote source equals tested HEAD; still open 98.666664%. Structural diagnosis: 76/75; extra initialized default retained for unrecognized error; target leaves value unspecified. No uninitialized-value trial allowed; check safe selection boundary and local scope.
|
||||
- safe default initialized at error-message buffer declaration: (2, 45) structural/positional; instructions 77/75; restored.
|
||||
- switch collapsed to initialized default with network override: (12, 29) structural/positional; instructions 67/75; restored.
|
||||
- message pointer is immutable after exhaustive safe error selection: (1, 30) structural/positional; instructions 76/75; restored.
|
||||
|
||||
# Round 4: fresh origin/main after KPAD reset and continuation landed
|
||||
Initial all-unit quick gate PASS. Pools checked explicitly first: address57/57, SD101/101, KPAD0/0. All owned data100%; no rename or extent edit needed. Current round uses new combinations of lifetime/alias boundaries and inline temporaries, rather than replaying prior variants.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect create__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main 68c4c9aeac0b0f28264f43f7c301ab20d873fb12. Initial assembly diagnosis: (4, 39) structural/positional differences; instructions 145/146
|
||||
Remote source equals tested HEAD; still open 97.73972%. Structural diagnosis: 145/146; earlier duration diagnosis was incomplete. Actual missing instruction is BS2-manager reload at loop-body entry; target has independent global and string bases, source reuses condition pointer. Frame matches; test loop boundaries first.
|
||||
- explicit endless loop with state-eight exit: (9, 40) structural/positional; instructions 145/146; restored.
|
||||
- name BS2 polling manager at each condition evaluation: build failed ne\iplSceneManager.h:14 # Z:\mnt\drive2\projects\wii-ipl-workers\data-d5\include\iplSceneUI.h:11 # Z:\mnt\drive2\projects\wii-ipl-workers\data- # d5\src\scene\sdChannelSelect\iplSDChannelSelect.cpp:6) ### mwcceppc.exe Compiler: # File: src\scene\sdChannelSelect\iplSDChannelSelect.cpp # --------------------------------------------------------- # 243: BS2Manager* manager; # Error: ^^^^^^^^^^ # (10140) undefined identifier 'BS2Manager' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- goto polling loop separates state query and update blocks: (4, 39) structural/positional; instructions 145/146; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main 68c4c9aeac0b0f28264f43f7c301ab20d873fb12. Initial assembly diagnosis: (4, 143) structural/positional differences; instructions 170/171
|
||||
Remote source equals tested HEAD; still open 99.15205%. Structural diagnosis: 170/171; branch form requires second success beq8 plus b failure; compaction count r8 vsr6. Direct switch with scope/default termination and counter order are distinct structural levers.
|
||||
- switch with natural final default fallthrough: (8, 143) structural/positional; instructions 172/171; restored.
|
||||
- switch default before explicit success arms: (58, 107) structural/positional; instructions 171/171; restored.
|
||||
- reverse error compaction count declaration lifetimes: (4, 142) structural/positional; instructions 170/171; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main 68c4c9aeac0b0f28264f43f7c301ab20d873fb12. Initial assembly diagnosis: (2, 4) structural/positional differences; instructions 101/101
|
||||
Remote source equals tested HEAD; still open 97.81188%. Structural diagnosis: equal instruction counts; only threshold load/count store scheduling plus loop register lifetimes. Real output-buffer/operand views change alias scope without volatile casts.
|
||||
- postincrement count before checking usage: (2, 4) structural/positional; instructions 101/101; restored.
|
||||
- threshold-first source comparison operand order: (6, 9) structural/positional; instructions 101/101; restored.
|
||||
- name output array views independently of count pointer: (2, 4) structural/positional; instructions 101/101; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main 68c4c9aeac0b0f28264f43f7c301ab20d873fb12. Initial assembly diagnosis: (2, 4) structural/positional differences; instructions 102/102
|
||||
Remote source equals tested HEAD; still open 97.833336%. Structural diagnosis: equal instruction counts; only threshold load/count store scheduling plus loop register lifetimes. Real output-buffer/operand views change alias scope without volatile casts.
|
||||
- postincrement count before checking usage: (2, 4) structural/positional; instructions 102/102; restored.
|
||||
- threshold-first source comparison operand order: (6, 9) structural/positional; instructions 102/102; restored.
|
||||
- name output array views independently of count pointer: (2, 4) structural/positional; instructions 102/102; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main 68c4c9aeac0b0f28264f43f7c301ab20d873fb12. Initial assembly diagnosis: (2, 22) structural/positional differences; instructions 126/126
|
||||
Remote source equals tested HEAD; still open 97.29365%. Structural diagnosis: equal instruction counts; only threshold load/count store scheduling plus loop register lifetimes. Real output-buffer/operand views change alias scope without volatile casts.
|
||||
- postincrement count before checking usage: (2, 22) structural/positional; instructions 126/126; restored.
|
||||
- threshold-first source comparison operand order: (6, 27) structural/positional; instructions 126/126; restored.
|
||||
- name output array views independently of count pointer: (2, 22) structural/positional; instructions 126/126; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl
|
||||
Fetch origin/main c7896c380230bd05f4f8c011166e96451c9eabfb. Initial assembly diagnosis: (8, 16) structural/positional differences; instructions 361/361
|
||||
Remote source equals tested HEAD; still open 97.55125%. Structural diagnosis: equal instruction counts; only threshold load/count store scheduling plus loop register lifetimes. Real output-buffer/operand views change alias scope without volatile casts.
|
||||
- postincrement count before checking usage: (8, 16) structural/positional; instructions 361/361; restored.
|
||||
- threshold-first source comparison operand order: (24, 36) structural/positional; instructions 361/361; restored.
|
||||
- name output array views independently of count pointer: (8, 16) structural/positional; instructions 361/361; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main c7896c380230bd05f4f8c011166e96451c9eabfb. Initial assembly diagnosis: (2, 2) structural/positional differences; instructions 35/35
|
||||
Remote source equals tested HEAD; still open 99.65714%. Structural diagnosis: 35/35; target loads heap before manager; source loads manager first. Ref/pointer object input boundary may affect allocator/alias assumptions.
|
||||
- save manager reference view after heap pointer definition: (2, 2) structural/positional; instructions 35/35; restored.
|
||||
- save manager reference before heap definition: (2, 2) structural/positional; instructions 35/35; restored.
|
||||
- heap reference view evaluated at flush boundary: (2, 2) structural/positional; instructions 35/35; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect calcCommon__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main 2119935c1dd8033630087deb598defc52f48d619. Initial assembly diagnosis: (0, 0) structural/positional differences; instructions 108/108
|
||||
|
||||
Baseline-report correction: build/43U/report.json was stale despite a fresh gate, because gate generates a temporary report. Regenerated exact-name baseline directly with objdiff-cli before resuming SD work; current live gate remains90/94,117/129,21/29. No matched functions edited.
|
||||
|
||||
# Round 4: fresh origin/main after KPAD reset and continuation landed
|
||||
Initial all-unit quick gate PASS. Pools checked explicitly first: address57/57, SD101/101, KPAD0/0. All owned data100%; no rename or extent edit needed. Current round uses new combinations of lifetime/alias boundaries and inline temporaries, rather than replaying prior variants.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect calcCommon__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main 2119935c1dd8033630087deb598defc52f48d619. Initial assembly diagnosis: (0, 0) structural/positional differences; instructions 108/108
|
||||
|
||||
Fresh-build baseline correction: SD calcCommon, initializeNormalPage and selectChannel are ALREADY exact on origin/main. Header commit bac1e542 changed SDButton setter declaration to one argument before this round. Initial quick gate used stale compiled SD object; building the owned SD object updated those matches. Skip all3; do not count inherited improvements. Live baseline is SD120/129.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj
|
||||
Fetch origin/main ecee6f01e4ea2ca8f49a69d6259e21a60000ce7e. Initial assembly diagnosis: (23, 68) structural/positional differences; instructions 233/233
|
||||
Remote source equals tested HEAD; still open 93.4721%. Structural diagnosis: 233/233; target matrix input/scissor float scheduling differs. Constructor boundaries and geometry input/declaration order first.
|
||||
- separate uninitialized transformed input from vector constructor: (27, 72) structural/positional; instructions 233/233; restored.
|
||||
- swap framebuffer scalar declaration order: (23, 76) structural/positional; instructions 233/233; restored.
|
||||
- source scale division uses immutable scale vector reference: (59, 220) structural/positional; instructions 239/233; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface
|
||||
Fetch origin/main ecee6f01e4ea2ca8f49a69d6259e21a60000ce7e. Initial assembly diagnosis: (3, 109) structural/positional differences; instructions 143/144
|
||||
Remote source equals tested HEAD; still open 99.236115%. Structural diagnosis: 144/144; target branch target/event guard and scene/controller lifetimes differ. Read-only component/immutable scene-pointer input boundaries tested before registers.
|
||||
- normal event dispatch uses named immutable boolean: (3, 109) structural/positional; instructions 143/144; restored.
|
||||
- input component viewed as const during name lookup: build failed 5\src\scene\sdChannelSelect\iplSDChannelSelect.cpp:6) ### mwcceppc.exe Compiler: # File: src\scene\sdChannelSelect\iplSDChannelSelect.cpp # --------------------------------------------------------- # 3447: const char* paneName = component->getPane()->GetName(); # Error: ^ # (10248) function call '[const ipl::gui::PaneComponent].getPane()' does not # match # 'gui::PaneComponent::getPane()' (non-static) # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- normal-event owner stored in const pointer binding: (28, 128) structural/positional; instructions 137/144; restored.
|
||||
|
||||
## src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (19, 323) structural/positional differences; instructions 820/820
|
||||
Remote source equals tested HEAD; still open 97.44634%. Structural diagnosis: correct constness: NW4R layout getter requires mutable object; bind pointer const instead without changing layout.
|
||||
- immutable layout-pointer binding instead of const-pointee view: (52, 596) structural/positional; instructions 812/820; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect create__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (4, 39) structural/positional differences; instructions 145/146
|
||||
Remote source equals tested HEAD; still open 97.73972%. Structural diagnosis: correct manager type bs2::Manager; target has separate body/condition pointer loads.
|
||||
- name correctly typed BS2 polling manager at condition boundary: (4, 39) structural/positional; instructions 145/146; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect onEventDerived__Q43ipl5scene32@unnamed@iplSDChannelSelect_cpp@33SDChannelSelectButtonEventHandlerFUlUlPCQ33ipl10controller9Interface
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (3, 109) structural/positional differences; instructions 143/144
|
||||
Remote source equals tested HEAD; still open 99.236115%. Structural diagnosis: Fresh setter header resolved prior register differences. Now only143/144, targetbeq8+b end versus ours bne end. Apply faithful switch dispatch boundary.
|
||||
- switch event with explicit default return before normal block: (0, 0) structural/positional; instructions 144/144; candidate kept.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (0, 9) structural/positional differences; instructions 19/19
|
||||
Remote source equals tested HEAD; still open 96.57895%. Structural diagnosis: 19/19; target double calibration and half-height coefficients reuse their input registers; prior named scalar input fixed reset. Test true coefficient lifetimes/operand order, same frame.
|
||||
- name double calibration value then multiply scale in place: (0, 13) structural/positional; instructions 19/19; restored.
|
||||
- reuse half-height coefficient variable as height product: build failed e/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 # ------------------------------------- # 360: f32 x = src->x * halfHeight; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. ; restored.
|
||||
- name all calibration coefficients with original literal order: (0, 13) structural/positional; instructions 19/19; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADSetSensorHeight
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (0, 7) structural/positional differences; instructions 52/52
|
||||
Remote source equals tested HEAD; still open 99.23077%. Structural diagnosis: 52/52; base-array pointer r4 versus targetr3, squared-height/zero floating registers. No stack reread evidence. Test typed array input and local declaration boundary.
|
||||
- unsigned immutable array index before controller lookup: (0, 7) structural/positional; instructions 52/52; restored.
|
||||
- const array-base pointer binding before index addition: (0, 7) structural/positional; instructions 52/52; restored.
|
||||
- reuse zero input and squared-height declaration before pointer: (0, 9) structural/positional; instructions 52/52; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (2, 35) structural/positional differences; instructions 101/101
|
||||
Remote source equals tested HEAD; still open 97.27723%. Structural diagnosis: 101/101; squared magnitude and target/circle weights float SSA lifetimes differ. All state outputs retained, same loop/frame.
|
||||
- name acceleration X/Y squared components before square-root: (2, 35) structural/positional; instructions 101/101; restored.
|
||||
- immutable normal vector value loaded before target-component assignments: (29, 89) structural/positional; instructions 105/101; restored.
|
||||
- name circle interpolation weight at declaration boundary: (12, 67) structural/positional; instructions 100/101; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD read_kpad_acc
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (16, 66) structural/positional differences; instructions 400/400
|
||||
Remote source equals tested HEAD; still open 98.15%. Structural diagnosis: 400/400; clamp/smooth helper limits and vector-copy lifetimes cause float/register scheduling differences. Probe helper input ownership and temporary scope.
|
||||
- name core acceleration clamp limit before axis updates: (32, 96) structural/positional; instructions 400/400; restored.
|
||||
- extension previous vector declared with top-level previous vectors: (16, 66) structural/positional; instructions 400/400; restored.
|
||||
- switch sample formats listed by high formats before low formats: (16, 66) structural/positional; instructions 400/400; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD select_1obj_first
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (2, 26) structural/positional differences; instructions 109/109
|
||||
Remote source equals tested HEAD; still open 98.348625%. Structural diagnosis: 109/109; target geometry coefficient lifetimes and vector store scheduling differ. Coefficient-first multiplication proved exact for continuation; test here too.
|
||||
- name horizontal and vertical tangent-normal product inputs: (2, 26) structural/positional; instructions 109/109; restored.
|
||||
- distance coefficient first in geometry offset multiplication: (2, 26) structural/positional; instructions 109/109; restored.
|
||||
- declare candidate geometry output vectors before object coordinates: (13, 33) structural/positional; instructions 109/109; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD calc_dpd_variable
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (14, 45) structural/positional differences; instructions 250/250
|
||||
Remote source equals tested HEAD; still open 94.82%. Structural diagnosis: 250/250; filter weights and projected vector temporaries drive FP scheduling. Test limit lifetimes and vector ordering.
|
||||
- dist filter named limit before magnitude normalization: (14, 46) structural/positional; instructions 250/250; restored.
|
||||
- pos filter normalized delta stored through two separate scalar temporaries: (14, 45) structural/positional; instructions 250/250; restored.
|
||||
- place delta vector declaration before point vector: (40, 71) structural/positional; instructions 250/250; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADRead
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (11, 89) structural/positional differences; instructions 459/459
|
||||
Remote source equals tested HEAD; still open 97.52723%. Structural diagnosis: 459/459; polling state and sample loop/register lifetimes differ. No uninitialized output introduced, preserve sampling semantics.
|
||||
- available counter assignment after pointer declarations: (11, 89) structural/positional; instructions 459/459; restored.
|
||||
- immutable core buttons mask when forming button state: (11, 89) structural/positional; instructions 459/459; restored.
|
||||
- live sample and output pointer declarations precede saved sample: (11, 89) structural/positional; instructions 459/459; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADInit
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (9, 81) structural/positional differences; instructions 185/185
|
||||
Remote source equals tested HEAD; still open 96.51351%. Structural diagnosis: 185/185; many controller/rotation initialization register ties. Named diagonal/calibration scalar lifetimes worked for reset; retain ordinary storage and loops.
|
||||
- reference diagonal squared components named inside loop: (9, 83) structural/positional; instructions 185/185; restored.
|
||||
- sensor conversion distance declared separately from reusable center offset: (9, 81) structural/positional; instructions 185/185; restored.
|
||||
- controller ring initialization uses named data-array pointer: (11, 82) structural/positional; instructions 185/185; restored.
|
||||
|
||||
## src/scene/sdChannelSelect/iplSDChannelSelect handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (4, 143) structural/positional differences; instructions 170/171
|
||||
Remote source equals tested HEAD; still open 99.15205%. Structural diagnosis: Same branch lever just matched handler. Test explicit success destinations before default failure, preserving shared postprocessing.
|
||||
- separate explicit success jumps to common title-list block: (4, 143) structural/positional; instructions 170/171; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (0, 9) structural/positional differences; instructions 19/19
|
||||
Remote source equals tested HEAD; still open 96.57895%. Structural diagnosis: Correct C declaration scope. Keep half-height coefficient variable live through its multiply, as target does.
|
||||
- reuse half coefficient after all leading scalar declarations: (0, 10) structural/positional; instructions 19/19; restored.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (2, 35) structural/positional differences; instructions 101/101
|
||||
Remote source equals tested HEAD; still open 97.27723%. Structural diagnosis: Target overwrites initial magnitude float register with smoothing weight; source separate temporary may prevent coalescing. This scalar is dead before smoothing assignment.
|
||||
- reuse acceleration magnitude as interpolation scale after normalization: (2, 35) structural/positional; instructions 101/101; restored.
|
||||
|
||||
Round4 exact candidate: button-handler onEventDerived144/144, ctxdiff0 and exact-name objdiff100. Explicit switch guard for event0 emits targetbeq8+b end. Fresh baselineSD120/129 ->121/129, code28152 ->28728. All-unit quick gatePASS, DOLcorrect, poolsidentical,0 regressions/patterns/style. Existing3 setter matches inherited from origin/main are excluded from claimed gain.
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADSetSensorHeight
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (0, 7) structural/positional differences; instructions 52/52
|
||||
Remote source equals tested HEAD; still open 99.23077%. Structural diagnosis: Remaining diff is7 pure registers; prior namedzero+declaration placement reduced4 floating differences, leaving only base-pointer coloring. Try definition-level scalar const, never volatility.
|
||||
- immutable channel parameter at function definition: (0, 7) structural/positional; instructions 52/52; restored.
|
||||
- immutable height parameter at function definition: (0, 7) structural/positional; instructions 52/52; restored.
|
||||
- both sensor-height scalar inputs immutable: (0, 7) structural/positional; instructions 52/52; restored.
|
||||
- Last register search with real named zero and squared-height declarations: declaration block: | KPADInside* kpad; | f32 halfHeightSquared; | f32 zero; | f32 halfHeight; | f32 barOffsetX; | f32 barDiagonal; | f32 halfWidthSquared; | f32 halfWidth; | f32 negativeSensorHeight; | f32 barDiagonalSquared; | start (0, 9) | improved (0, 7) | improved (0, 3) | best (0, 3) after 70 builds; kept in source: | KPADInside* kpad; | f32 barDiagonalSquared; | f32 halfHeightSquared; | f32 halfHeight; | f32 barOffsetX; | f32 barDiagonal; | f32 halfWidthSquared; | f32 halfWidth; | f32 negativeSensorHeight; | f32 zero; |
|
||||
|
||||
## libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos
|
||||
Fetch origin/main 91cc177cb74e645bb7cd47991aa232fb6061bfcc. Initial assembly diagnosis: (0, 9) structural/positional differences; instructions 19/19
|
||||
Remote source equals tested HEAD; still open 96.57895%. Structural diagnosis: Same19/19 leaf structure. Final register-only search names the double literal separately from its scale product, as the target reuses that register. Previous round had only an anonymous double constant.
|
||||
- Last register search with named double calibration input: declaration block: | f64 correction; | f64 scaled; | f32 height; | f32 half; | f32 halfHeight; | f32 aspect; | f32 x; | f32 y; | start (0, 13) | improved (0, 12) | best (0, 12) after 75 builds; kept in source: | f32 aspect; | f64 scaled; | f32 height; | f32 half; | f32 halfHeight; | f64 correction; | f32 x; | f32 y; |
|
||||
|
||||
## Round4 final full clean gate and remaining-function audit
|
||||
Full non-quick gate over all3 units PASS; DOL SHA1 26116613f624061ba99c8d1a299aaa6efa85670d; all pools identical;0 regressions,0 forbidden additions,0 readability warnings. Owned data100%, no symbol name/extent edits. Remaining function ELF extents end before/equal next symbol. Stack adjacent store/reload proof pairs []; no definition-level volatile justified.
|
||||
src/scene/address/iplAddressEdit: fresh exact 90 ->90/94; code 23044 ->23044/27112; data 2560 ->2560/2560.
|
||||
src/scene/sdChannelSelect/iplSDChannelSelect: fresh exact 120 ->121/129; code 28152 ->28728/33828; data 2960 ->2960/2960.
|
||||
libs/RVL_SDK/src/kpad/KPAD: fresh exact 21 ->21/29; code 6756 ->6756/13056; data 8032 ->8032/8032.
|
||||
SD prompt baseline117 was stale; fresh origin/main compiled baseline120 includes3 setter matches inherited from bac1e542, excluded from worker gain. Worker gain is handler only120 ->121. Retained source diff only switch/event guard. Uncertainty remains on unsupported NWC24 error defaults; safe initialization retained instead of reproducing unspecified target values. All20 remaining functions have at least3 successful distinct source trials in this round, failed builds excluded.
|
||||
- src/scene/address/iplAddressEdit create__Q33ipl5scene11AddressEditFv 97.44634%; 3 successful distinct source trials; layout construction lifetime/register scheduling; same820 instructions.
|
||||
- src/scene/address/iplAddressEdit get_friendinfo__Q33ipl5scene11AddressEditFv 88.03571%; 3 successful 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 successful distinct source trials; memcpy source/destination address evaluation order,38/38.
|
||||
- src/scene/address/iplAddressEdit set_err_msg__Q33ipl5scene11AddressEditFPwUl8NWC24Err 98.666664%; 3 successful 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 successful distinct source trials; BS2 polling body omits separate manager reload,145/146; loop/inline getter boundaries remain.
|
||||
- src/scene/sdChannelSelect/iplSDChannelSelect handleSDTitleListResult__Q33ipl5scene15SDChannelSelectFv 99.15205%; 4 successful distinct source trials; beq-plus-branch dispatch and compaction count coloring,170/171.
|
||||
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.81188%; 3 successful distinct source trials; threshold load hoisted before count store,101/101.
|
||||
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesFromNandUsage__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.833336%; 3 successful distinct source trials; threshold load hoisted before count store,102/102.
|
||||
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesByChannelOrder__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.29365%; 3 successful distinct source trials; threshold/count schedule plus loop coloring,126/126.
|
||||
- src/scene/sdChannelSelect/iplSDChannelSelect collectTitlesBySpecialChannels__Q33ipl5scene15SDChannelSelectFPClPClPUxPcPUl 97.55125%; 3 successful distinct source trials; four repeated threshold/count schedules,361/361.
|
||||
- src/scene/sdChannelSelect/iplSDChannelSelect flushSaveDataAndMountSD__Q33ipl5scene15SDChannelSelectFv 99.65714%; 3 successful distinct source trials; save manager/heap argument load order,35/35.
|
||||
- src/scene/sdChannelSelect/iplSDChannelSelect setChannelScissor__Q33ipl5scene15SDChannelSelectCFPCQ33ipl5scene12SDChannelObj 93.4721%; 3 successful distinct source trials; matrix/scissor floating operand scheduling and temporaries,233/233.
|
||||
- libs/RVL_SDK/src/kpad/KPAD KPADGetProjectionPos 96.57895%; 3 successful distinct source trials; floating calibration coefficient registers and multiply operands,19/19; named double calibration search best12 differences restored.
|
||||
- libs/RVL_SDK/src/kpad/KPAD KPADSetSensorHeight 99.23077%; 6 successful distinct source trials; base-array register r4 versusr3 plus zero/squared-height float registers,52/52; scalar const inputs unchanged, declaration search best3 restored.
|
||||
- libs/RVL_SDK/src/kpad/KPAD calc_acc_horizon 97.27723%; 4 successful distinct source trials; magnitude/interpolation and circle float-register lifetimes,101/101; scalar reuse did not change coloring.
|
||||
- libs/RVL_SDK/src/kpad/KPAD read_kpad_acc 98.15%; 3 successful distinct source trials; clamp/smoothing inline boundaries and floating scheduling,400/400.
|
||||
- libs/RVL_SDK/src/kpad/KPAD select_1obj_first 98.348625%; 3 successful distinct source trials; geometry floating lifetimes and paired stores,109/109.
|
||||
- libs/RVL_SDK/src/kpad/KPAD calc_dpd_variable 94.82%; 3 successful distinct source trials; smoothing/projected geometry floating scheduling,250/250.
|
||||
- libs/RVL_SDK/src/kpad/KPAD KPADRead 97.52723%; 3 successful distinct source trials; sample loop/polling temporaries and branch scheduling,459/459.
|
||||
- libs/RVL_SDK/src/kpad/KPAD KPADInit 96.51351%; 3 successful distinct source trials; controller/ring initialization and floating scheduling,185/185.
|
||||
Final authority lines:
|
||||
```
|
||||
[src/scene/address/iplAddressEdit] instruction-exact functions: 90/94
|
||||
[src/scene/sdChannelSelect/iplSDChannelSelect] instruction-exact functions: 121/129
|
||||
[libs/RVL_SDK/src/kpad/KPAD] instruction-exact functions: 21/29
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
1449
tools/decomp-assist/fz20.attempts.md
Normal file
1449
tools/decomp-assist/fz20.attempts.md
Normal file
File diff suppressed because it is too large
Load Diff
871
tools/decomp-assist/fz21.attempts.md
Normal file
871
tools/decomp-assist/fz21.attempts.md
Normal file
@@ -0,0 +1,871 @@
|
||||
# fz21, zi8cgetc
|
||||
|
||||
Baseline source equals fetched origin/main at start. Object build succeeded; pool_diff reports identical empty narrow-string pools. Fresh objdiff: 5/8 exact functions, code 4168/47816, data 144/536. Open functions in address order: ZiMatchZHSpelling, zi8InternalGetZH, Zi8GetElementCount.
|
||||
|
||||
Structural diagnosis: ZiMatchZHSpelling 121/121 instructions, same frame/branches/stack offsets, 29 register-only differences. Zi8GetElementCount 115/115 instructions, same frame/branches/stack offsets, 13 register-only differences. Engine has matching instruction count but displaced control flow and stack/local differences; inspect the first structural divergence before allocation.
|
||||
|
||||
Data audit: named ziTones/ziPuncts/zi8tones already pair exactly, 24/24 bytes. extab/extabindex pair exactly, 120/120 bytes. Remaining 392 bytes are four compiler-generated switch tables, source @2795/@2794/@2793/@2792 at offsets 0/44/88/248, target jumptable_8166AA88/8166AAB4/8166AAE0/8166AB80 with sizes 44/44/160/144. No extent error or user-defined symbol rename exists; generated table labels are unstable compiler internals and entries relocate into the unmatched engine. No symbols.txt changes justified.
|
||||
|
||||
- s01 ZiMatchZHSpelling: scope result and candidate length as named match state; insns 126/121, structural/exact diffs (27, 117), fuzzy 93.380165, data 24. Restored pending gates.
|
||||
|
||||
- s02 ZiMatchZHSpelling: count candidate before initializing result; insns 121/121, structural/exact diffs (2, 30), fuzzy 97.19009, data 144. Restored pending gates.
|
||||
|
||||
- s03 ZiMatchZHSpelling: make leading spelling scan pointer-based; insns 124/121, structural/exact diffs (35, 113), fuzzy 87.75207, data 24. Restored pending gates.
|
||||
|
||||
- s04 ZiMatchZHSpelling: declare incoming candidate pointer immutable; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, data 144. Restored pending gates.
|
||||
|
||||
- s05 ZiMatchZHSpelling: initialize both spaced buffers through one chained assignment; insns 120/121, structural/exact diffs (5, 96), fuzzy 97.95868, data 72. Restored pending gates.
|
||||
|
||||
- s06 ZiMatchZHSpelling: test spellingLength before candidate pointer; insns 121/121, structural/exact diffs (4, 31), fuzzy 97.14876, data 144. Restored pending gates.
|
||||
|
||||
- s07 ZiMatchZHSpelling: keep candidate length in a named single-field state; insns 122/121, structural/exact diffs (22, 85), fuzzy 97.66942, data 24. Restored pending gates.
|
||||
|
||||
- s08 ZiMatchZHSpelling: keep match result in a named single-field state; insns 125/121, structural/exact diffs (31, 119), fuzzy 94.900826, data 24. Restored pending gates.
|
||||
|
||||
- s09 ZiMatchZHSpelling: use one spelling-buffer aggregate; insns 121/121, structural/exact diffs (33, 40), fuzzy 98.71075, data 144. Restored pending gates.
|
||||
|
||||
- s10 ZiMatchZHSpelling: scope candidate character count initialization in declaration; insns 121/121, structural/exact diffs (2, 30), fuzzy 97.19009, data 144. Restored pending gates.
|
||||
|
||||
- s11 ZiMatchZHSpelling: set mismatch result through conditional expression; insns 124/121, structural/exact diffs (16, 116), fuzzy 95.6033, data 24. Restored pending gates.
|
||||
|
||||
- s12 ZiMatchZHSpelling: return successful constant after successful phonetic traversal; insns 120/121, structural/exact diffs (7, 53), fuzzy 96.07438, data 72. Restored pending gates.
|
||||
|
||||
- g01 zi8InternalGetZH: split charset helper into scoped byte local after short-circuit input test; insns 10679/10676, structural/exact diffs (10275, 10604), fuzzy 93.25862, data 24. Restored pending gates.
|
||||
|
||||
- g02 zi8InternalGetZH: use explicit else-if charset helper branch; insns 10675/10676, structural/exact diffs (7283, 9381), fuzzy 95.689865, data 72. Restored pending gates.
|
||||
|
||||
- g03 zi8InternalGetZH: test charset mask through a switch; insns 10676/10676, structural/exact diffs (8992, 10094), fuzzy 95.6805, data 144. Restored pending gates.
|
||||
|
||||
- g04 zi8InternalGetZH: use readonly options view for engine input; BUILD FAIL put, work)) goto engine_finish;
|
||||
# Error: ^
|
||||
# (10209) illegal implicit conversion from 'const struct *' to
|
||||
# 'struct *'
|
||||
# Too many errors printed, aborting program
|
||||
|
||||
User break, cancelled...
|
||||
ninja: build stopped: subcommand failed.
|
||||
. Restored pending gates.
|
||||
|
||||
- g05 zi8InternalGetZH: make table-count presence comparisons explicit; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, data 144. Restored pending gates.
|
||||
|
||||
- c01 Zi8GetElementCount: use integer result count until byte return; insns 115/115, structural/exact diffs (2, 13), fuzzy 98.391304, data 144. Restored pending gates.
|
||||
|
||||
- c02 Zi8GetElementCount: test definition-level volatile separator hypothesis, rejected: target only saves across a helper call, so immediate reload evidence is absent; insns 117/115, structural/exact diffs (4, 107), fuzzy 97.608696, data 72. Restored pending gates.
|
||||
|
||||
- c03 Zi8GetElementCount: initialize result count before cursors as separate statements; insns 115/115, structural/exact diffs (2, 14), fuzzy 98.347824, data 144. Restored pending gates.
|
||||
|
||||
- c04 Zi8GetElementCount: group element indices as named cursor state; insns 138/115, structural/exact diffs (56, 136), fuzzy 69.791306, data 24. Restored pending gates.
|
||||
|
||||
- c05 Zi8GetElementCount: use unsigned integer element count parameter; BUILD FAIL 3) identifier 'Zi8GetElementCount(unsigned short *, unsigned char,
|
||||
# unsigned char, void *)' redeclared as 'unsigned char (unsigned short *,
|
||||
# unsigned int, unsigned char, void *)'
|
||||
# Too many errors printed, aborting program
|
||||
|
||||
User break, cancelled...
|
||||
ninja: build stopped: subcommand failed.
|
||||
. Restored pending gates.
|
||||
|
||||
- c06 Zi8GetElementCount: use immutable input view for character reads; insns 116/115, structural/exact diffs (1, 109), fuzzy 98.391304, data 24. Restored pending gates.
|
||||
|
||||
- c07 Zi8GetElementCount: fold equal latin bound into range expression; insns 111/115, structural/exact diffs (10, 93), fuzzy 94.64348, data 72. Restored pending gates.
|
||||
|
||||
- c08 Zi8GetElementCount: count each consumed input at a common block before the branch; insns 115/115, structural/exact diffs (0, 14), fuzzy 99.26087, data 144. Restored pending gates.
|
||||
|
||||
- c09 Zi8GetElementCount: save separator in a one-element character array; insns 115/115, structural/exact diffs (0, 13), fuzzy 99.347824, data 144. Restored pending gates.
|
||||
|
||||
- c10 Zi8GetElementCount: save separator in a union field; insns 115/115, structural/exact diffs (0, 13), fuzzy 99.347824, data 144. Restored pending gates.
|
||||
|
||||
- c11 Zi8GetElementCount: use separate zero initialization in cursor traversal order; insns 115/115, structural/exact diffs (2, 14), fuzzy 98.347824, data 144. Restored pending gates.
|
||||
|
||||
- c12 Zi8GetElementCount: scan next spaced element with continue; insns 116/115, structural/exact diffs (8, 55), fuzzy 98.347824, data 72. Restored pending gates.
|
||||
|
||||
- c13 Zi8GetElementCount: retain byte result via explicit cast from integer count; insns 115/115, structural/exact diffs (2, 13), fuzzy 98.391304, data 144. Restored pending gates.
|
||||
|
||||
- c14 Zi8GetElementCount: use preincrement results consistently for input and result advances; insns 115/115, structural/exact diffs (0, 13), fuzzy 99.347824, data 144. Restored pending gates.
|
||||
|
||||
- s13 ZiMatchZHSpelling: use readonly spelling view in prefix comparison; insns 122/121, structural/exact diffs (7, 120), fuzzy 97.71901, data 24. Restored pending gates.
|
||||
|
||||
- s14 ZiMatchZHSpelling: use countdown prefix loop with independent byte index; insns 126/121, structural/exact diffs (32, 118), fuzzy 93.33058, data 72. Restored pending gates.
|
||||
|
||||
- s15 ZiMatchZHSpelling: place match result initialization next to its declaration; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, data 144. Restored pending gates.
|
||||
|
||||
- s16 ZiMatchZHSpelling: reverse operand order of prefix equality; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, data 144. Restored pending gates.
|
||||
|
||||
- s17 ZiMatchZHSpelling: use explicit unsigned phonetic index decrement; insns 122/121, structural/exact diffs (8, 69), fuzzy 97.80991, data 72. Restored pending gates.
|
||||
|
||||
- s18 ZiMatchZHSpelling: use early match return before phonetic fallback; insns 123/121, structural/exact diffs (4, 98), fuzzy 97.06612, data 72. Restored pending gates.
|
||||
|
||||
- g06 zi8InternalGetZH: use const options view in both private matching helpers; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, data 144. Restored pending gates.
|
||||
|
||||
- g07 zi8InternalGetZH: use unsigned sublanguage value for traditional-mask expression; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, data 144. Restored pending gates.
|
||||
|
||||
- g08 zi8InternalGetZH: initialize match aggregate explicitly before local engine initialization; insns 10669/10676, structural/exact diffs (10210, 10645), fuzzy 95.679375, data 72. Restored pending gates.
|
||||
|
||||
- g09 zi8InternalGetZH: separate phrase mask and value array initialization; insns 10694/10676, structural/exact diffs (10404, 10657), fuzzy 94.52595, data 24. Restored pending gates.
|
||||
|
||||
Declaration-order searches after structural diagnosis: ZiMatchZHSpelling, 52 built orders, best structural/exact (0,29); Zi8GetElementCount, 13 built orders, best (0,13). Neither kept source changes.
|
||||
|
||||
Coverage audit: all three remaining functions have at least three distinct successfully compiled source-level trials in this run. ZiMatchZHSpelling s01-s18, 18 compiled; zi8InternalGetZH g01-g03/g05-g09, 8 compiled plus rejected compile failure g04; Zi8GetElementCount c01-c04/c06-c14, 13 compiled plus rejected compile failure c05. All restored. Source byte-identical to the initial checkout; no gate-passing improvement or new exact function found. No source commit warranted.
|
||||
|
||||
Engine first instruction-count displacement is after traditional charset helper: source emits an extra mr before return-byte conversion in the case-2 branch. Scoped temporary, split branch and switch expression each worsened overall code or data. Const view did not change the output when propagated consistently. The target function extent ends precisely at Zi8NewMatchPhonetic; no overlap correction is justified.
|
||||
|
||||
Final full clean gate:
|
||||
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] objdiff: code 4168/47816 data 144/536 functions 5/8 fuzzy 96.4008 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] instruction-exact functions: 5/8
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .data size 392 match None
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sbss2 size 8 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sdata2 size 16 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .text size 47816 match 96.40079
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extab size 48 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extabindex size 72 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: ZiMatchZHSpelling 98.80165
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: zi8InternalGetZH 95.99054
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: Zi8GetElementCount 99.347824
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] baseline: code 4168/47816 data 144 functions 5 fuzzy 96.4008
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 89.97868 -> 89.97868
|
||||
global fuzzy_match_percent: 99.54133 -> 99.54133
|
||||
global complete_code_percent: 69.30851 -> 69.30851
|
||||
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
|
||||
```
|
||||
|
||||
Instruction-exact functions 5/8 -> 5/8; matched code 4168/47816 -> 4168/47816; matched data 144/536 -> 144/536. Full build and target DOL SHA1 pass; zero regressions and zero forbidden/readability additions. Exact-count increase and unit completion remain unmet. No commits. Only this attempts log changed.
|
||||
|
||||
# HIGH continuation, four units
|
||||
|
||||
Fresh origin fetch and object builds: owned sources equal origin/main. zi8cgetc exact 5/8, code 4168/47816, data 144/536; zmtkey 3/4, code 1488/2216, data 60/60; zconvert 3/4, code 1380/2208, data 112/112; tiPcKeyboard 140/141, code 28064/28484, data 18548/18564. Every unit's pool_diff passed before source work.
|
||||
|
||||
Structural diagnosis: getKeyLayout 182/182 instructions, language and tableCount r26/r27 swap only, 16 diffs; ConvertUC2Key 207/207, work/key r27/r28 swap only, 18 diffs. setTranslateMode has one extra initialization move, 106/105, otherwise identical operations. Target leaves its mapped-mode register undefined for out-of-enum inputs. Uninitialized values are forbidden, so retain defined behavior in every experiment. No definition-level volatile evidence in these three target functions. Symbol extents stop at their neighbours, no function-size correction justified.
|
||||
|
||||
- HIGH m01 Zi8getKeyLayout: declare builtin data as pointer to const; insns 182/182, structural/exact diffs (0, 16), fuzzy 99.53297, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m02 Zi8getKeyLayout: declare custom table as pointer to const; insns 182/182, structural/exact diffs (0, 16), fuzzy 99.53297, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m03 Zi8getKeyLayout: declare copied custom characters as pointer to const; insns 183/182, structural/exact diffs (5, 140), fuzzy 98.81868, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH m04 Zi8getKeyLayout: use all three readonly table views; insns 183/182, structural/exact diffs (5, 140), fuzzy 98.81868, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH m05 Zi8getKeyLayout: decode high byte before low byte in table output; insns 182/182, structural/exact diffs (6, 24), fuzzy 96.84066, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m06 Zi8getKeyLayout: place count and index in a single declaration; insns 182/182, structural/exact diffs (0, 16), fuzzy 99.53297, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m07 Zi8getKeyLayout: use explicit independent total for builtin character summation; insns 182/182, structural/exact diffs (2, 4), fuzzy 99.28571, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m08 Zi8getKeyLayout: read char count through a const local value; insns 181/182, structural/exact diffs (6, 63), fuzzy 98.65385, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH v01 Zi8ConvertUC2Key: use const conversion range view; insns 207/207, structural/exact diffs (0, 18), fuzzy 99.565216, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH v02 Zi8ConvertUC2Key: use const conversion-entry view throughout table walk; insns 207/207, structural/exact diffs (0, 18), fuzzy 99.565216, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH v03 Zi8ConvertUC2Key: use const conversion table view; insns 207/207, structural/exact diffs (0, 18), fuzzy 99.565216, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH v04 Zi8ConvertUC2Key: use readonly mapped character array; insns 208/207, structural/exact diffs (13, 53), fuzzy 99.08212, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH v05 Zi8ConvertUC2Key: use readonly views for all conversion inputs; insns 208/207, structural/exact diffs (13, 53), fuzzy 99.08212, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH v06 Zi8ConvertUC2Key: use named key-result structure; BUILD FAIL are/eZiText/src/clib && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zconvert.d build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zconvert.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zconvert.c # ------------------------------------------------------- # 129: ziU16 index, count, first, last; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- HIGH v07 Zi8ConvertUC2Key: decode mapped key through independent const entry bytes; BUILD FAIL .py build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zconvert.d build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zconvert.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zconvert.c # ------------------------------------------------------- # 157: const ziU8* keyBytes = (const ziU8*)table + key + (character - first) * 2 + 8; # Error: ^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- HIGH v08 Zi8ConvertUC2Key: initialize key in fallback branches rather than before calls; insns 207/207, structural/exact diffs (4, 35), fuzzy 98.62319, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH m09 Zi8getKeyLayout: use char-count storage for lookup validation before summation; insns 182/182, structural/exact diffs (2, 4), fuzzy 99.28571, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m10 Zi8getKeyLayout: test table availability directly, retain tableCount only for summation; insns 180/182, structural/exact diffs (6, 111), fuzzy 98.84615, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH m11 Zi8getKeyLayout: initialize character total before loop then start key index independently; insns 182/182, structural/exact diffs (1, 16), fuzzy 99.23077, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m12 Zi8getKeyLayout: use lookup count storage with independent result sum and grouped locals; insns 182/182, structural/exact diffs (2, 4), fuzzy 99.28571, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m13 Zi8getKeyLayout: load lookup table count before conditional path selection; insns 182/182, structural/exact diffs (0, 22), fuzzy 99.36813, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH m14 Zi8getKeyLayout: use signed halfword lookup and sum with unsigned reads; insns 182/182, structural/exact diffs (3, 16), fuzzy 98.62637, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH k01 setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode: map translation through a const input parameter; insns 106/105, structural/exact diffs (1, 99), fuzzy 99.04762, code 28064, data 18548. Restored pending gates.
|
||||
|
||||
- HIGH k02 setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode: map mode with an inline lambda-free typed helper returning defined fallback; insns 107/105, structural/exact diffs (6, 89), fuzzy 98.0, code 27408, data 18548. Restored pending gates.
|
||||
|
||||
- HIGH k03 setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode: initialize mapped mode to direct before explicit valid switch; insns 106/105, structural/exact diffs (1, 101), fuzzy 99.04762, code 28064, data 18548. Restored pending gates.
|
||||
|
||||
- HIGH k04 setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode: select current ABC state as a defined invalid-input fallback; insns 106/105, structural/exact diffs (5, 97), fuzzy 95.2381, code 28064, data 18548. Restored pending gates.
|
||||
|
||||
- HIGH k05 setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode: use signed mapped mode, preserve comparison conversion; insns 106/105, structural/exact diffs (1, 99), fuzzy 99.04762, code 28064, data 18548. Restored pending gates.
|
||||
|
||||
- HIGH k06 setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode: scope mapping and command input in an initialized mode-state aggregate; insns 106/105, structural/exact diffs (23, 101), fuzzy 87.48572, code 28064, data 18548. Restored pending gates.
|
||||
|
||||
- HIGH sH01 ZiMatchZHSpelling: initialize result before const candidate-length declaration; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH sH02 ZiMatchZHSpelling: initialize result and candidate length in declaration order without const; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH sH03 ZiMatchZHSpelling: declare function work pointer immutable; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH sH04 ZiMatchZHSpelling: choose mismatch through a single equality after terminator guard; insns 123/121, structural/exact diffs (6, 109), fuzzy 97.06612, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- HIGH sH05 ZiMatchZHSpelling: scope prefix scan index to the scan; insns 124/121, structural/exact diffs (10, 122), fuzzy 92.85124, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- HIGH sH06 ZiMatchZHSpelling: short-circuit matching work after explicit prefix-success check; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH v09 Zi8ConvertUC2Key: keep key in named initialized conversion result; BUILD FAIL b && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zconvert.d build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zconvert.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zconvert.c # ------------------------------------------------------- # 133: result.result.key = 0; # Error: ^ # (10393) 'result' is not a member of class 'struct ' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- HIGH v10 Zi8ConvertUC2Key: read direct table character through separate readonly byte view; insns 213/207, structural/exact diffs (23, 207), fuzzy 93.87923, code 1380, data 32. Restored pending gates.
|
||||
|
||||
- HIGH v11 Zi8ConvertUC2Key: change key storage to unsigned int while retaining narrow uses; insns 205/207, structural/exact diffs (11, 130), fuzzy 98.333336, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH v12 Zi8ConvertUC2Key: use signed key storage while retaining narrow uses; insns 205/207, structural/exact diffs (11, 130), fuzzy 98.333336, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH v13 Zi8ConvertUC2Key: read big-endian key low byte before high byte; insns 207/207, structural/exact diffs (2, 22), fuzzy 98.54589, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH v14 Zi8ConvertUC2Key: combine the two address steps for the table-selected key; insns 207/207, structural/exact diffs (0, 18), fuzzy 99.565216, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH v15 Zi8ConvertUC2Key: initialize result to key-not-found only in table paths; insns 208/207, structural/exact diffs (10, 139), fuzzy 98.115944, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH cH01 Zi8GetElementCount: use unsigned-short result count with explicit byte read; insns 115/115, structural/exact diffs (2, 13), fuzzy 98.391304, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH02 Zi8GetElementCount: preserve count as signed byte converted for return; insns 115/115, structural/exact diffs (2, 13), fuzzy 98.391304, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH03 Zi8GetElementCount: use a const element-count input parameter; insns 115/115, structural/exact diffs (2, 13), fuzzy 98.391304, code 3548, data 72. Restored pending gates.
|
||||
|
||||
- HIGH cH04 Zi8GetElementCount: initialize result and spaced index as declarations before starting Latin scan; insns 115/115, structural/exact diffs (4, 57), fuzzy 97.565216, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH05 Zi8GetElementCount: assign result count from completed element index at return; insns 115/115, structural/exact diffs (0, 1), fuzzy 99.95652, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH06 Zi8GetElementCount: put spaced-character range test before decrement decision; insns 115/115, structural/exact diffs (4, 17), fuzzy 99.24348, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH07 Zi8GetElementCount: count consumed inputs using a single increment at the common path; insns 114/115, structural/exact diffs (11, 32), fuzzy 97.91304, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- HIGH vA01 Zi8ConvertUC2Key: name function work context as local view before calls; insns 213/207, structural/exact diffs (26, 206), fuzzy 95.019325, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH vA02 Zi8ConvertUC2Key: make local context pointer immutable; insns 213/207, structural/exact diffs (26, 206), fuzzy 95.019325, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH vA03 Zi8ConvertUC2Key: use local language identifier view before helper calls; insns 214/207, structural/exact diffs (70, 202), fuzzy 91.68116, code 1380, data 32. Restored pending gates.
|
||||
|
||||
- HIGH mA01 Zi8getKeyLayout: name function work context as local view before calls; insns 186/182, structural/exact diffs (10, 176), fuzzy 97.10439, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH mA02 Zi8getKeyLayout: make local context pointer immutable; insns 186/182, structural/exact diffs (10, 176), fuzzy 97.10439, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH mA03 Zi8getKeyLayout: use local language identifier view before helper calls; insns 186/182, structural/exact diffs (34, 180), fuzzy 97.2033, code 1488, data None. Restored pending gates.
|
||||
|
||||
- HIGH cH08 Zi8GetElementCount: return result count through byte conversion; insns 115/115, structural/exact diffs (1, 13), fuzzy 98.86957, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH09 Zi8GetElementCount: return result count through a wider character conversion; insns 115/115, structural/exact diffs (1, 13), fuzzy 98.86957, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH10 Zi8GetElementCount: use result count for remaining input loop bound; insns 115/115, structural/exact diffs (0, 14), fuzzy 99.304344, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH11 Zi8GetElementCount: start the result count from the initialized element index; insns 115/115, structural/exact diffs (0, 14), fuzzy 99.304344, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH12 Zi8GetElementCount: group element index and count initialization first; insns 115/115, structural/exact diffs (1, 14), fuzzy 98.82609, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH cH13 Zi8GetElementCount: return explicit conditional count when input traversal completed; insns 121/115, structural/exact diffs (8, 27), fuzzy 94.13043, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- HIGH cH14 Zi8GetElementCount: scope result count only around the spaced traversal; insns 119/115, structural/exact diffs (9, 114), fuzzy 91.9913, code 4168, data 24. Restored pending gates.
|
||||
|
||||
HIGH data audit: zmtkey and zconvert already 100% data. tiPcKeyboard has 16 unpaired .bss bytes: target lbl_810C6580 versus compiler-generated source @6381, source size 12. Relocations from sendInputWChar/onPressedCaps/onKey/updateInput/refreshState all pass this object as the third argument to __register_global_object. Runtime NMWException.h proves DestructorChain is three pointers, 12 bytes; target 16-byte extent includes four alignment bytes before layoutGatherDestructorRecord at 810C6590. The source symbol is a compiler-generated ordinal, not a real source-defined mangled name. No name change is justified under the allowed rename policy. Addresses and section totals remain untouched. Existing data/rodata/sdata/sdata2/sbss already match fully. zi8cgetc's remaining four switch tables target unmatched engine destinations; named ordinary data and exception tables pair fully.
|
||||
|
||||
- HIGH vV01 Zi8ConvertUC2Key: define table pointer volatile, target stw/lwz at 5b4/5b8 proves stack reload; insns 207/207, structural/exact diffs (0, 18), fuzzy 99.565216, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH vV02 Zi8ConvertUC2Key: define mapped pointer volatile, target stw/lwz at 7b8/7bc proves stack reload; insns 207/207, structural/exact diffs (0, 18), fuzzy 99.565216, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH vV03 Zi8ConvertUC2Key: define both proven stack-reloaded pointer locals volatile; insns 207/207, structural/exact diffs (0, 18), fuzzy 99.565216, code 1380, data 112. Restored pending gates.
|
||||
|
||||
- HIGH vV04 Zi8ConvertUC2Key: combine const mapped data view with proven volatile pointer storage; insns 208/207, structural/exact diffs (13, 53), fuzzy 99.08212, code 1380, data 64. Restored pending gates.
|
||||
|
||||
- HIGH mW01 Zi8getKeyLayout: store lookup/total as ziU32 with explicit original halfword reads; insns 180/182, structural/exact diffs (7, 116), fuzzy 98.07692, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH mW02 Zi8getKeyLayout: store lookup/total as ziS32 with explicit original halfword reads; insns 180/182, structural/exact diffs (7, 116), fuzzy 98.07692, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH mW03 Zi8getKeyLayout: store lookup/total as unsigned long with explicit original halfword reads; insns 180/182, structural/exact diffs (7, 116), fuzzy 98.07692, code 1488, data 24. Restored pending gates.
|
||||
|
||||
- HIGH mW04 Zi8getKeyLayout: store lookup/total as ziS16 with explicit original halfword reads; insns 182/182, structural/exact diffs (3, 16), fuzzy 98.62637, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH mW05 Zi8getKeyLayout: use key-character count as unsigned int with narrow loop-bound read; insns 182/182, structural/exact diffs (6, 46), fuzzy 97.77473, code 1488, data 60. Restored pending gates.
|
||||
|
||||
- HIGH mW06 Zi8getKeyLayout: decode output as a const dictionary word pointer; insns 186/182, structural/exact diffs (12, 181), fuzzy 94.33517, code 1488, data None. Restored pending gates.
|
||||
|
||||
- HIGH gH01 zi8InternalGetZH: read traditional charset mask as a byte-valued result; insns 10676/10676, structural/exact diffs (9079, 10068), fuzzy 95.98117, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH gH02 zi8InternalGetZH: express simplified charset flag test as two explicit early decisions; insns 10675/10676, structural/exact diffs (9194, 10136), fuzzy 95.68893, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- HIGH gH03 zi8InternalGetZH: preserve charset masks using a scoped readonly helper result; insns 10679/10676, structural/exact diffs (10275, 10604), fuzzy 93.25862, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- HIGH gH04 zi8InternalGetZH: use readonly charset lookup-table views; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH gH05 zi8InternalGetZH: use unsigned ordinal table-count test; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH gH06 zi8InternalGetZH: initialize first-pass phase flags adjacent to declarations; insns 10667/10676, structural/exact diffs (9769, 10419), fuzzy 95.17272, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- HIGH gH07 zi8InternalGetZH: initialize only entry phase flags at their declaration, preserve every retry reset; insns 10676/10676, structural/exact diffs (9142, 10097), fuzzy 95.85847, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- HIGH v16 Zi8ConvertUC2Key: use a named result field initialized after declarations; insns 212/207, structural/exact diffs (31, 206), fuzzy 95.521736, code 1380, data 32. Restored pending gates.
|
||||
|
||||
HIGH audit corrections: gH06 incorrectly removed later retry resets as well as entry assignments, so its measurement is invalid and excluded from distinct-attempt counts. gH07 repeats the intended change while preserving every later reset. v06/v07/v09 were compiler-rejected transformations; v16 corrects the result-field transformation. mW06 scoped the actual custom character pointer but left an unnecessary outer initialized pointer; restored and excluded, no such object retained.
|
||||
|
||||
cH05 increases fuzzy to 99.95652% and fixes the register allocation of the counters but returns elementIndex rather than count, leaving the count calculation dead. It still differs at its return instruction and would retain dead arithmetic solely for codegen. Rejected under source-quality requirements; not a candidate for a commit. The truthful source retains its returned count.
|
||||
|
||||
Proven volatile check revised: ConvertUC2Key does have immediate table-pointer and mapped-pointer store/reload pairs at target 5b4/5b8 and 7b8/7bc. Source already emits both. vV01-vV03 applied definition-level volatile only to those proven pointer objects; output remained 207/207 with the same 18 register differences. The const-data/volatile-pointer combination added an instruction and was restored.
|
||||
|
||||
HIGH declaration-order search Zi8GetElementCount:
|
||||
```
|
||||
declaration block:
|
||||
ziU8 spacedIndex;
|
||||
ziU8 elementIndex;
|
||||
ziU8 count;
|
||||
ziWChar spacedElements[256];
|
||||
struct { ziWChar separator; } savedState;
|
||||
start (0, 13)
|
||||
best (0, 13) after 23 builds; source restored; best order was:
|
||||
ziU8 spacedIndex;
|
||||
ziU8 elementIndex;
|
||||
ziU8 count;
|
||||
ziWChar spacedElements[256];
|
||||
struct { ziWChar separator; } savedState;
|
||||
```
|
||||
|
||||
HIGH declaration-order search ZiMatchZHSpelling:
|
||||
```
|
||||
declaration block:
|
||||
ziWChar* candidateCursor;
|
||||
ziWChar* spellingCursor;
|
||||
int index;
|
||||
int matches;
|
||||
int candidateLength;
|
||||
ziWChar spacedSpelling[64];
|
||||
ziWChar spacedCandidate[64];
|
||||
start (0, 29)
|
||||
best (0, 29) after 52 builds; source restored; best order was:
|
||||
ziWChar* candidateCursor;
|
||||
ziWChar* spellingCursor;
|
||||
int index;
|
||||
int matches;
|
||||
int candidateLength;
|
||||
ziWChar spacedSpelling[64];
|
||||
ziWChar spacedCandidate[64];
|
||||
```
|
||||
|
||||
HIGH declaration-order search Zi8getKeyLayout:
|
||||
```
|
||||
declaration block:
|
||||
ziU16 tableCount;
|
||||
ziU8 numKeys;
|
||||
ziU8* dataAddress;
|
||||
ziUserKeyMap* customTable;
|
||||
ziU16 charCount;
|
||||
ziU16 keyIndex;
|
||||
ziWChar* keyChars;
|
||||
start (0, 16)
|
||||
best (0, 16) after 52 builds; source restored; best order was:
|
||||
ziU16 tableCount;
|
||||
ziU8 numKeys;
|
||||
ziU8* dataAddress;
|
||||
ziUserKeyMap* customTable;
|
||||
ziU16 charCount;
|
||||
ziU16 keyIndex;
|
||||
ziWChar* keyChars;
|
||||
```
|
||||
|
||||
HIGH declaration-order search Zi8ConvertUC2Key:
|
||||
```
|
||||
declaration block:
|
||||
ziU16 key = 0;
|
||||
ziU16 index, count, first, last;
|
||||
ziConversionTable* table;
|
||||
ziWChar* mapped;
|
||||
ziConversionRange* ranges;
|
||||
ziConversionEntry* entry;
|
||||
start (0, 18)
|
||||
best (0, 18) after 36 builds; source restored; best order was:
|
||||
ziU16 key = 0;
|
||||
ziU16 index, count, first, last;
|
||||
ziConversionTable* table;
|
||||
ziWChar* mapped;
|
||||
ziConversionRange* ranges;
|
||||
ziConversionEntry* entry;
|
||||
```
|
||||
|
||||
HIGH data extent correction: lbl_810C6580 is the third argument to __register_global_object in six matched keyboard functions; Runtime/include/NMWException.h defines DestructorChain as three 4-byte pointers, so its real size is 12 bytes, not 16. Corrected only size 0x10 -> 0xC, same .bss address 810C6580, no name change. The following layoutGatherDestructorRecord remains at 810C6590. Four trailing alignment bytes stay unowned; validate that .bss section size remains 16. This is a type correction, not a function extent change or a match claim.
|
||||
|
||||
HIGH corrected extent verification: fresh extraction now records lbl_810C6580 size 12, .bss size still 16. tiPcKeyboard matched data increases 18548/18564 -> 18564/18564, all other section totals unchanged, code remains 28064/28484 and exact functions 140/141. No symbol rename or source trick was needed. This is the sole retained improvement.
|
||||
|
||||
HIGH completion audit: all six open functions received at least three distinct successfully compiled source trials. Every code candidate was restored. Four declaration-order searches covered 23/52/52/36 orders for GetElementCount/MatchZHSpelling/getKeyLayout/ConvertUC2Key, with no accepted ordering. The invalid gH06 transformation and mW06 unnecessary outer pointer are excluded. Compiler-rejected candidates are excluded. None of the six code functions became exact; all remain open. setTranslateMode cannot match this target using the tested defined fallbacks; target behavior for invalid enums remains unspecified, and no uninitialized source was introduced.
|
||||
|
||||
HIGH final full clean gate over all four units:
|
||||
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] objdiff: code 4168/47816 data 144/536 functions 5/8 fuzzy 96.4008 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] instruction-exact functions: 5/8
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .data size 392 match None
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sbss2 size 8 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sdata2 size 16 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .text size 47816 match 96.40079
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extab size 48 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extabindex size 72 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: ZiMatchZHSpelling 98.80165
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: zi8InternalGetZH 95.99054
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: Zi8GetElementCount 99.347824
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] baseline: code 4168/47816 data 144 functions 5 fuzzy 96.4008
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] objdiff: code 1488/2216 data 60/60 functions 3/4 fuzzy 99.8466 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] instruction-exact functions: 3/4
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] section .text size 2216 match 99.84657
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] section extab size 24 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] section extabindex size 36 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] below 100: Zi8getKeyLayout 99.53297
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zmtkey] baseline: code 1488/2216 data 60 functions 3 fuzzy 99.8466
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] objdiff: code 1380/2208 data 112/112 functions 3/4 fuzzy 99.8370 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] instruction-exact functions: 3/4
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] section .rodata size 32 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] section .text size 2208 match 99.83696
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] section extab size 32 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] section extabindex size 48 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] below 100: Zi8ConvertUC2Key 99.565216
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zconvert] baseline: code 1380/2208 data 112 functions 3 fuzzy 99.8370
|
||||
[src/keyboard/tiPcKeyboard] pool: IDENTICAL
|
||||
[src/keyboard/tiPcKeyboard] objdiff: code 28064/28484 data 18564/18564 functions 140/141 fuzzy 99.9860 linked code 0
|
||||
[src/keyboard/tiPcKeyboard] instruction-exact functions: 140/141
|
||||
[src/keyboard/tiPcKeyboard] section .bss size 16 match 100.0
|
||||
[src/keyboard/tiPcKeyboard] section .ctors size 4 match 100.0
|
||||
[src/keyboard/tiPcKeyboard] section .data size 12576 match 100.0
|
||||
[src/keyboard/tiPcKeyboard] section .rodata size 5816 match 100.0
|
||||
[src/keyboard/tiPcKeyboard] section .sbss size 8 match 100.0
|
||||
[src/keyboard/tiPcKeyboard] section .sdata size 136 match 100.0
|
||||
[src/keyboard/tiPcKeyboard] section .sdata2 size 8 match 100.0
|
||||
[src/keyboard/tiPcKeyboard] section .text size 28484 match 99.985954
|
||||
[src/keyboard/tiPcKeyboard] below 100: setTranslateMode__Q49textinput8keyboard6pctype4BaseFQ59textinput8keyboard6pctype4Base13TranslateMode 99.04762
|
||||
[src/keyboard/tiPcKeyboard] baseline: code 28064/28484 data 18548 functions 140 fuzzy 99.9860
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.32564 -> 90.32564
|
||||
global fuzzy_match_percent: 99.55189 -> 99.55189
|
||||
global complete_code_percent: 69.30851 -> 69.30851
|
||||
global matched_data_percent: 99.36508 -> 99.36596
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
note: config touched: config/43U/symbols.txt (orchestrator reviews every config/symbols change)
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
HIGH before -> after, instruction-exact/code/data bytes: zi8cgetc 5/4168/144 -> 5/4168/144; zmtkey 3/1488/60 -> 3/1488/60; zconvert 3/1380/112 -> 3/1380/112; tiPcKeyboard 140/28064/18548 -> 140/28064/18564. The gate passes, DOL SHA1 is exact, no regressions. The required instruction-exact count increase is still unmet. The retained data correction makes keyboard data 100% without changing section size or any code.
|
||||
|
||||
## MAX continuation, 2026-10-02
|
||||
|
||||
HEAD 5518cb16fda3091c727d974aacf477a2cf89b74a; fetched origin/main; owned sources and symbol config equal origin/main. No source changes carried from XHIGH. Parked zmtkey/zconvert/tiPcKeyboard excluded.
|
||||
|
||||
Baseline quick gate:
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] objdiff: code 4168/47816 data 144/536 functions 5/8 fuzzy 96.4008 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] instruction-exact functions: 5/8
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .data size 392 match None
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sbss2 size 8 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sdata2 size 16 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .text size 47816 match 96.40079
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extab size 48 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extabindex size 72 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: ZiMatchZHSpelling 98.80165
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: zi8InternalGetZH 95.99054
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: Zi8GetElementCount 99.347824
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] baseline: code 4168/47816 data 144 functions 5 fuzzy 96.4008
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] pool: IDENTICAL
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] objdiff: code 10376/10604 data 192/192 functions 24/25 fuzzy 99.8491 linked code 0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] instruction-exact functions: 24/25
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .data size 168 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .sbss size 8 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .sdata size 16 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .text size 10604 match 99.84911
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] below 100: NWC24iIsMsgObjReadable 92.98245
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] baseline: code 10376/10604 data 192 functions 24 fuzzy 99.8491
|
||||
[libs/RVL_SDK/src/fa/pf_cache] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/pf_cache] objdiff: code 6464/7396 data None/None functions 35/36 fuzzy 99.7755 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_cache] instruction-exact functions: 35/36
|
||||
[libs/RVL_SDK/src/fa/pf_cache] section .text size 7396 match 99.77555
|
||||
[libs/RVL_SDK/src/fa/pf_cache] below 100: PFCACHE_DoWriteNumSectorAndFreeIfNeeded 98.21889
|
||||
[libs/RVL_SDK/src/fa/pf_cache] baseline: code 6464/7396 data None functions 35 fuzzy 99.7755
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.40604 -> 90.40604
|
||||
global fuzzy_match_percent: 99.56056 -> 99.56056
|
||||
global complete_code_percent: 70.30611 -> 70.30611
|
||||
global matched_data_percent: 99.36596 -> 99.36596
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
All three pools checked first: IDENTICAL (0/0, 8/8, 0/0).
|
||||
|
||||
MAX spelling diagnosis: 121/121 instructions, same 0x130 frame, array positions 0x88/0x8, branch operands and inline call boundaries. Only consistent coloring differs: candidate r27->r28, spelling r22->r23, length parameter r23->r24, work r28->r29, match r29->r27, candidateLength r24->r22. Function extent 0x1e4 ends exactly at next engine. No immediate stack store/reload; volatile unproven and excluded.
|
||||
|
||||
- MAX sM01 ZiMatchZHSpelling: keep candidate length as declared unsigned word returned by the counting helper; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM02 ZiMatchZHSpelling: keep prefix status as unsigned integer Boolean; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM03 ZiMatchZHSpelling: keep both prefix status and candidate count unsigned; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM04 ZiMatchZHSpelling: compute candidate length through a signed count conversion; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM05 ZiMatchZHSpelling: reuse prefix index as candidate length after prefix comparison; insns 122/121, structural/exact diffs (4, 92), fuzzy 97.31405, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX sM06 ZiMatchZHSpelling: initialize candidate cursor from incoming candidate before initial length call; insns 122/121, structural/exact diffs (1, 116), fuzzy 97.975204, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX sM07 ZiMatchZHSpelling: hold candidate length as signed long; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM08 ZiMatchZHSpelling: scope candidate length around both prefix and phonetic processing; insns 125/121, structural/exact diffs (16, 123), fuzzy 91.818184, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- MAX sM09 ZiMatchZHSpelling: use caller-saved count result with a signed helper return declaration; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM10 ZiMatchZHSpelling: use a Boolean-byte prefix status with explicit full-word return; insns 122/121, structural/exact diffs (4, 98), fuzzy 97.06612, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX sM11 ZiMatchZHSpelling: use halfword candidate character count; insns 121/121, structural/exact diffs (1, 29), fuzzy 98.34711, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM12 ZiMatchZHSpelling: use narrow candidate character count matching space-helper argument; insns 121/121, structural/exact diffs (1, 29), fuzzy 98.34711, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM13 ZiMatchZHSpelling: reuse incoming candidate for phonetic traversal instead of a second pointer; insns 121/121, structural/exact diffs (0, 31), fuzzy 98.67769, code 4168, data 96. Restored pending gates.
|
||||
|
||||
- MAX sM14 ZiMatchZHSpelling: reuse incoming spelling for phonetic traversal instead of a second pointer; insns 121/121, structural/exact diffs (0, 34), fuzzy 98.59504, code 4168, data 96. Restored pending gates.
|
||||
|
||||
- MAX sM15 ZiMatchZHSpelling: derive prefix failure status from the compared candidate character; insns 134/121, structural/exact diffs (23, 122), fuzzy 87.181816, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- MAX sM16 ZiMatchZHSpelling: scope candidate length to initial declaration and prefix status separately; insns 125/121, structural/exact diffs (16, 123), fuzzy 91.818184, code 4168, data 24. Restored pending gates.
|
||||
|
||||
MAX spelling declaration search after 16 source trials: declaration block: | ziWChar* candidateCursor; | ziWChar* spellingCursor; | int index; | int matches; | int candidateLength; | ziWChar spacedSpelling[64]; | ziWChar spacedCandidate[64]; | start (0, 29) | best (0, 29) after 52 builds; source restored; best order was: | ziWChar* candidateCursor; | ziWChar* spellingCursor; | int index; | int matches; | int candidateLength; | ziWChar spacedSpelling[64]; | ziWChar spacedCandidate[64]; |
|
||||
|
||||
MAX engine diagnosis: target/source 10676/10676 instructions, frame 0x4e0 and all local stack offsets identical. No neighbour overlap (0xa6d0 ends at Zi8NewMatchPhonetic). After branch-aware alignment and register normalization, the known residual structural stream comprises 12 extra and 10 missing return-register copies plus two missing halfword conversions. These are real code-generation differences; the four generated switch-table relocations refer into this inexact function, so their .data gap is code work. Prior width/cast correction alone grows by two instructions.
|
||||
|
||||
- MAX gM01 zi8InternalGetZH: spell traditional charset result as an explicit nonzero bit test; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM02 zi8InternalGetZH: invert traditional charset branch around the shared range reset; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM03 zi8InternalGetZH: perform traditional charset short-circuit through nested negative guard; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM04 zi8InternalGetZH: make component cursor a const pointer to const record data for read-only traversal; BUILD FAIL ext/src/clib/zi8cgetc.d build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zi8cgetc.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zi8cgetc.c # ------------------------------------------------------- # 757: componentTable = componentCursor; # 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. . Restored pending gates.
|
||||
|
||||
- MAX gM05 zi8InternalGetZH: give component cursor definition volatile storage shown by immediate stack reload after assignment; BUILD FAIL ddleware/eZiText/src/clib/zi8cgetc.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zi8cgetc.c # ------------------------------------------------------- # 2106: &componentIndex, &componentCursor, work)) { # Error: ^ # (10209) illegal implicit conversion from 'unsigned char *volatile *' to # 'unsigned char **' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- MAX gM06 zi8InternalGetZH: give frequency cursor definition volatile storage shown by immediate stack reload after table call; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM07 zi8InternalGetZH: narrow paired code returns and order masks on the left; insns 10678/10676, structural/exact diffs (10222, 10519), fuzzy 96.090294, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX gM08 zi8InternalGetZH: consume counted table address through one assignment to both cursor and table; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM09 zi8InternalGetZH: emit context character after advancing the emitted-word count separately; insns 10673/10676, structural/exact diffs (9040, 10045), fuzzy 95.96759, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX gM11 zi8InternalGetZH: use signed full-word result for phonetic-code interface without changing casts; insns 10676/10676, structural/exact diffs (9080, 10068), fuzzy 95.99054, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM12 zi8InternalGetZH: declare phonetic and context record tables as const input arrays; BUILD FAIL are/eZiText/src/clib/zi8cgetc.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zi8cgetc.c # ------------------------------------------------------- # 874: match.phon[0], match.phon2[0], charset, work)) candidateStatus = 1; # Error: ^ # (10209) illegal implicit conversion from 'const unsigned char *' to # 'void *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- MAX gM10 zi8InternalGetZH: keep options parameter read-only in engine and private phonetic helper; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM13 zi8InternalGetZH: group all match scalars at their first use through initialized local declarations; insns 10676/10676, structural/exact diffs (7830, 9407), fuzzy 96.202415, code 4168, data 144. Restored pending gates.
|
||||
|
||||
MAX retained gM08: combine cursor/table initialization into the natural chained assignment. The two pointers intentionally receive the same dictionary address. Engine fuzzy 95.99054 -> 96.27482, instruction count still 10676/10676; no new exact function. Quick authority gate PASS, all exact functions preserved, data 144/536 unchanged, pool identical, DOL exact, no regressions/forbidden/readability failures.
|
||||
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] objdiff: code 4168/47816 data 144/536 functions 5/8 fuzzy 96.6547 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] instruction-exact functions: 5/8
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .data size 392 match None
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sbss2 size 8 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sdata2 size 16 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .text size 47816 match 96.65468
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extab size 48 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extabindex size 72 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: ZiMatchZHSpelling 98.80165
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: zi8InternalGetZH 96.27482
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: Zi8GetElementCount 99.347824
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] baseline: code 4168/47816 data 144 functions 5 fuzzy 96.4008
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.40604 -> 90.40604
|
||||
global fuzzy_match_percent: 99.56056 -> 99.56462
|
||||
global complete_code_percent: 70.30611 -> 70.30611
|
||||
global matched_data_percent: 99.36596 -> 99.36596
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
- MAX gM14 zi8InternalGetZH: on chained-table baseline, narrow both paired phonetic codes to target halfword width; insns 10678/10676, structural/exact diffs (8713, 9803), fuzzy 96.492134, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX gM15 zi8InternalGetZH: narrow paired codes and express simplified charset as separate branches; insns 10678/10676, structural/exact diffs (7258, 9196), fuzzy 96.048615, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX gM16 zi8InternalGetZH: narrow paired codes and express traditional charset as separate branches; insns 10678/10676, structural/exact diffs (7250, 9196), fuzzy 96.048615, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX gM17 zi8InternalGetZH: keep all table addresses as byte-pointer interface returns within this unit; BUILD FAIL zi8cgetc.d build/43U/src/libs/RVLMiddleware/eZiText/src/clib/zi8cgetc.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zi8cgetc.c # ------------------------------------------------------- # 2648: phoneticOffsets = Zi8GetTableAddress(1, 13, work); # Error: ^ # (10209) illegal implicit conversion from 'unsigned char *' to # 'unsigned short *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- MAX gM18 zi8InternalGetZH: use native int return for secondary matcher while preserving byte truncation; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM19 zi8InternalGetZH: chained initialization of frequency table and its starting cursor; insns 10682/10676, structural/exact diffs (10304, 10644), fuzzy 95.96422, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- MAX gM20 zi8InternalGetZH: replace phrase-pattern union integer member with native unsigned-long member; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM21 zi8InternalGetZH: correct phonetic-code return to ziU16 on chained table baseline; insns 10678/10676, structural/exact diffs (8713, 9803), fuzzy 96.492134, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX gM22 zi8InternalGetZH: use explicit narrow conversion at every returned format-version test; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM23 zi8InternalGetZH: split successful table presence and format-version conditions into nested checks; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM24 zi8InternalGetZH: spell primary matcher branch failure with an explicit byte comparison; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM25 zi8InternalGetZH: scope the option pointer as a read-only local view; BUILD FAIL ibs/RVLMiddleware/eZiText/src/clib/zi8cgetc.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zi8cgetc.c # ------------------------------------------------------- # 2312: charsetFilter, output, work)) goto engine_finish; # Error: ^ # (10209) illegal implicit conversion from 'const struct *' to # 'struct *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- MAX gM04 zi8InternalGetZH: make component cursor a const pointer to const record data for read-only traversal; BUILD FAIL bs/RVLMiddleware/eZiText/src/clib/zi8cgetc.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zi8cgetc.c # ------------------------------------------------------- # 756: tTable = componentCursor = (ziU8*)Zi8GetTableAddress(1, 2, work); # 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. . Restored pending gates.
|
||||
|
||||
- MAX gM05 zi8InternalGetZH: give component cursor definition volatile storage shown by immediate stack reload after assignment; insns 10676/10676, structural/exact diffs (7556, 9311), fuzzy 96.27482, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX gM12 zi8InternalGetZH: declare phonetic and context record tables as const input arrays; BUILD FAIL eware/eZiText/src/clib/zi8cgetc.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\eZiText\src\clib\zi8cgetc.c # ------------------------------------------------------- # 1619: phraseOrdinal, &candidateOrdinal, 0, work)) continue; # 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. . Restored pending gates.
|
||||
|
||||
MAX GetElementCount diagnosis: source/target 115/115 instructions, 0x230 frame and array/separator offsets identical, branch forms and all operand orders equal. Consistent count/elementCount r28/r27 swap gives 13 differences. No store followed immediately by reload at helper boundary (the saved separator reload follows a call), so no volatile. Extent 0x1cc reaches next symbol exactly. Prior return-elementIndex variation had one return-register difference, worth following with explicit count synchronization and initialization-order trials. Fetched origin/main again; still open.
|
||||
|
||||
- MAX cM01 Zi8GetElementCount: return the consumed-input index equivalent to the separately counted inputs; insns 115/115, structural/exact diffs (0, 1), fuzzy 99.95652, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX cM02 Zi8GetElementCount: synchronize consumed count from input index at return; insns 116/115, structural/exact diffs (3, 22), fuzzy 98.434784, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX cM03 Zi8GetElementCount: assign returned count from consumed index in the return expression; insns 116/115, structural/exact diffs (3, 22), fuzzy 98.434784, code 4168, data 72. Restored pending gates.
|
||||
|
||||
- MAX cM04 Zi8GetElementCount: initialize input traversal before result count in the chained zero assignment; insns 115/115, structural/exact diffs (0, 14), fuzzy 99.26087, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX cM05 Zi8GetElementCount: initialize result count last in source order of the chain; insns 115/115, structural/exact diffs (0, 14), fuzzy 99.21739, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX cM06 Zi8GetElementCount: start chained input indices at zero through result count assignment; insns 115/115, structural/exact diffs (0, 14), fuzzy 99.21739, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX cM07 Zi8GetElementCount: hold input element index as wider unsigned integer with explicit byte reads; insns 115/115, structural/exact diffs (1, 13), fuzzy 98.86957, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX cM08 Zi8GetElementCount: preserve incoming element limit as a const local byte; insns 116/115, structural/exact diffs (1, 108), fuzzy 98.478264, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- MAX cM09 Zi8GetElementCount: derive count through consumed index only when the loop exits through its limit; insns 121/115, structural/exact diffs (9, 32), fuzzy 93.347824, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- MAX cM10 Zi8GetElementCount: restore saved separator through an ordinary scalar instead of single-field state; insns 113/115, structural/exact diffs (8, 106), fuzzy 97.48695, code 4168, data 24. Restored pending gates.
|
||||
|
||||
- MAX cM11 Zi8GetElementCount: split the input-limit and character-remaining loop conditions without changing order; insns 115/115, structural/exact diffs (10, 56), fuzzy 92.17391, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX cM12 Zi8GetElementCount: return promoted consumed count through an enum-typed local; insns 115/115, structural/exact diffs (2, 13), fuzzy 98.391304, code 4168, data 144. Restored pending gates.
|
||||
|
||||
MAX GetElementCount declaration search: declaration block: | ziU8 spacedIndex; | ziU8 elementIndex; | ziU8 count; | ziWChar spacedElements[256]; | start (0, 13) | best (0, 13) after 13 builds; source restored; best order was: | ziU8 spacedIndex; | ziU8 elementIndex; | ziU8 count; | ziWChar spacedElements[256];
|
||||
cM01 returns the equivalent elementIndex but leaves an unused count variable; rejected as an artificial partial improvement, not retained. Explicit synchronization adds an instruction and regresses exception data. All remaining candidates restored.
|
||||
|
||||
MAX NWC24iIsMsgObjReadable diagnosis: fetched origin/main, source unchanged there; open 92.98245%. 57/57 instructions, identical 0x10 frame, same branches, calls, field offsets and expression operands after prologue. Target saves LR/r31 and copies the input before loading type; source schedules the type load/mask through those three prologue operations. No immediate stack reload or neighbour overlap (0xe4 ends at next public function). Remaining unit data already 192/192 including corrected MountInfo extent; no data changes needed. Prior readonly views and full-body helper did not change this scheduling.
|
||||
|
||||
- MAX nM01 NWC24iIsMsgObjReadable: use an opaque constant input and explicit typed readonly mailbox view; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM02 NWC24iIsMsgObjReadable: use private message-object view for common type/app/LED header fields; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM03 NWC24iIsMsgObjReadable: use signed shift of readable type bit instead of mask predicate; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM04 NWC24iIsMsgObjReadable: scope read type and subsequent validation in explicit positive branch; insns 57/57, structural/exact diffs (15, 50), fuzzy 85.789474, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM05 NWC24iIsMsgObjReadable: make first type validity mask an enum-valued flag constant; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM06 NWC24iIsMsgObjReadable: use whole unsigned type word local for initial three type predicates only; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM07 NWC24iIsMsgObjReadable: return the Boolean app-mask comparison through an explicit local result; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM08 NWC24iIsMsgObjReadable: delay independent app/LED readonly view setup until after first type test; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
MAX PFCACHE_DoWriteNumSectorAndFreeIfNeeded diagnosis: fetched origin/main, still open 98.21889%. Both 233 instructions, same 0x30 frame, same saved GPRs and all branches. Only third overlap block differs at instructions 136-144: target reloads page start, recomputes num_sector+sector despite cached r31 request end, computes last_sector before success/remaining bookkeeping; source reuses r31 and reconstructs last sector from page start + overlap. No immediate stack store/reload for these scalars, so volatile is unproven. Extent 0x3a4 ends exactly at DoFlushCache. No data sections/pool in this unit. Try real signedness, input const qualification, transient-helper boundaries and range-variable structure before register search.
|
||||
|
||||
- MAX pM01 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: compute last sector using unsigned-int request operands rather than page cancellation; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM02 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: compute last sector with reversed request addition and decrement grouped into count; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM03 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: group last-sector decrement into starting sector; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM04 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: make input head pointer read-only because this routine never replaces it; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM05 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: preserve source buffer as const at every memory-copy call; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM06 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: compute overlap and last sector using unsigned-int transient arithmetic; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.53648, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM07 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: derive last sector before overlap using the page-relative count expression; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM08 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: declare half-open request end as a block-local named range value after memcpy; insns 232/233, structural/exact diffs (14, 106), fuzzy 98.62661, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM09 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: reuse existing end-buffer arithmetic without a whole-sector last variable; insns 232/233, structural/exact diffs (14, 107), fuzzy 98.45493, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM10 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: compute last sector from overlap before remainder-count mutation; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM11 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: keep overlap count in a signed integer but convert at sector bookkeeping; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM12 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: keep last-sector value in a signed integer but preserve sector subtraction; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM13 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: read page sector through const page view for both overlap calculations; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM14 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: order rest-sector update before success update in the right overlap; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM15 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: calculate the last-sector buffer offset directly as overlap minus one; insns 230/233, structural/exact diffs (17, 107), fuzzy 97.48927, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM16 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: keep overlap calculation inside a named range descriptor; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM17 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper isolates request-end calculation from overlap arithmetic; insns 234/233, structural/exact diffs (17, 108), fuzzy 97.48927, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM18 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper uses a named half-open end local; insns 234/233, structural/exact diffs (17, 108), fuzzy 97.48927, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM19 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper keeps a signed 32-bit endpoint result; insns 234/233, structural/exact diffs (17, 108), fuzzy 97.48927, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM20 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper groups count decrement before start; insns 234/233, structural/exact diffs (17, 108), fuzzy 97.48927, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM21 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper combines with direct overlap-count expression; insns 234/233, structural/exact diffs (17, 108), fuzzy 97.48927, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM22 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper receives page start and overlap instead of request input; insns 233/233, structural/exact diffs (5, 8), fuzzy 97.91846, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM23 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper isolates request-end calculation from overlap arithmetic; allow normal helper inlining at this function boundary; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM24 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper uses a named half-open end local; allow normal helper inlining at this function boundary; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM25 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper keeps a signed 32-bit endpoint result; allow normal helper inlining at this function boundary; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM26 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper groups count decrement before start; allow normal helper inlining at this function boundary; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM27 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper combines with direct overlap-count expression; allow normal helper inlining at this function boundary; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM28 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: inline last-sector helper receives page start and overlap instead of request input; allow normal helper inlining at this function boundary; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM29 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression num_sector - (p_page->sector - sector); insns 234/233, structural/exact diffs (15, 107), fuzzy 97.74678, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM30 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression (sector - p_page->sector) + num_sector; insns 234/233, structural/exact diffs (16, 107), fuzzy 97.6824, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM31 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression num_sector + (sector - p_page->sector); insns 234/233, structural/exact diffs (16, 107), fuzzy 97.6824, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM32 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression p_page->size - (p_page->sector + (p_page->size - num_sector) - sector); insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM33 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression p_page->size + (num_sector + sector - (p_page->sector + p_page->size)); insns 234/233, structural/exact diffs (16, 107), fuzzy 97.6824, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM34 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression (num_sector + sector - (p_page->sector + p_page->size)) + p_page->size; insns 234/233, structural/exact diffs (16, 107), fuzzy 97.6824, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM35 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression num_sector - (p_page->sector + p_page->size - sector) + p_page->size; insns 234/233, structural/exact diffs (16, 107), fuzzy 97.6824, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM36 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: use natural equivalent sector-overlap expression (num_sector - p_page->sector) + sector; insns 234/233, structural/exact diffs (16, 107), fuzzy 97.6824, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX nM09 NWC24iIsMsgObjReadable: match a mutable mailbox-entry input view rather than the guessed const formal; insns 57/57, structural/exact diffs (0, 0), fuzzy 100.0, code 10604, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM10 NWC24iIsMsgObjReadable: use a readonly pointer value to the mutable mailbox entry; insns 57/57, structural/exact diffs (0, 0), fuzzy 100.0, code 10604, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM11 NWC24iIsMsgObjReadable: retain full entry constness while qualifying pointer value itself; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM12 NWC24iIsMsgObjReadable: introduce a common typed header view with the proven shared leading fields; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM13 NWC24iIsMsgObjReadable: use an inline common-header validation helper for the first readable type bit only; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
- MAX nM14 NWC24iIsMsgObjReadable: keep the app-id equality operation in its own inline read-only view helper; insns 57/57, structural/exact diffs (4, 5), fuzzy 92.98245, code 10376, data 192. Restored pending gates.
|
||||
|
||||
MAX exact nM09: NWC24iIsMsgObjReadable input was guessed pointer-to-const; the target was compiled with mutable MBCEntry*. Removing const only from this function declaration and definition moves the first type load/mask after LR/r31 saves exactly as target. 57/57 instructions, ctxdiff 0, 100% objdiff; whole unit 24/25 -> 25/25, code 10376/10604 -> 10604/10604, data unchanged 192/192. nM10 pointer-value const is also exact; use simpler nM09. All call sites already pass mutable MBCEntry*, no shared header change. Quick gate PASS, DOL exact, pools identical and zero regressions.
|
||||
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] pool: IDENTICAL
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] objdiff: code 10604/10604 data 192/192 functions 25/25 fuzzy 100.0000 linked code 0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] instruction-exact functions: 25/25
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .data size 168 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .sbss size 8 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .sdata size 16 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .text size 10604 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] baseline: code 10376/10604 data 192 functions 24 fuzzy 99.8491
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.40604 -> 90.41365
|
||||
global fuzzy_match_percent: 99.56056 -> 99.56516
|
||||
global complete_code_percent: 70.30611 -> 70.30611
|
||||
global matched_data_percent: 99.36596 -> 99.36596
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
- MAX pM37 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: match a mutable source-buffer formal from the older cache API; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM38 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: read volume geometry through a const formal and retain explicit mutable driver call; insns 233/233, structural/exact diffs (17, 62), fuzzy 92.44635, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM39 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: model memory-copy source as a mutable opaque pointer in this unit only; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM40 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: scope overlap and last-sector locals directly in the partial-page branch; BUILD FAIL "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/fa/pf_cache.d build/43U/src/libs/RVL_SDK/src/fa/pf_cache.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\fa\pf_cache.c # --------------------------------------- # 610: pf_u32 num_overlap = p_page->size - ((p_page->sector + p_page->size) - (num_sector + sector)); # Error: ^^^^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed. . Restored pending gates.
|
||||
|
||||
- MAX pM40 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: scope overlap and last-sector locals directly in the partial-page branch; insns 233/233, structural/exact diffs (4, 9), fuzzy 98.21889, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM41 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: scope an initialized last requested sector after the copy; insns 232/233, structural/exact diffs (15, 228), fuzzy 95.40772, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM42 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: derive a half-open request endpoint with wide intermediate arithmetic; insns 235/233, structural/exact diffs (17, 229), fuzzy 94.356224, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX pM43 PFCACHE_DoWriteNumSectorAndFreeIfNeeded: derive overlap and last sector from a wide request endpoint local; insns 237/233, structural/exact diffs (15, 235), fuzzy 93.042915, code 6464, data None. Restored pending gates.
|
||||
|
||||
- MAX sM17 ZiMatchZHSpelling: declare candidate input const at the function definition and convert only for legacy helpers; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM18 ZiMatchZHSpelling: declare spelling input const at the function definition and convert only for legacy helper; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM19 ZiMatchZHSpelling: declare both candidate and spelling input arrays readonly; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM20 ZiMatchZHSpelling: give count helper a readonly word prototype while keeping matching input mutable; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM21 ZiMatchZHSpelling: give readonly candidate and count helper consistent const-qualified word types; insns 121/121, structural/exact diffs (0, 29), fuzzy 98.80165, code 4168, data 144. Restored pending gates.
|
||||
|
||||
- MAX sM22 ZiMatchZHSpelling: declare initial candidate length immutable after its one assignment; insns 121/121, structural/exact diffs (2, 30), fuzzy 97.19009, code 4168, data 144. Restored pending gates.
|
||||
|
||||
MAX cache structural follow-up: 43 distinct natural source trials, plus compiler-rejected unscoped declaration attempt. Mutable-buffer and readonly-head views preserve 9 differences; readonly volume regresses allocation/scheduling (62 differences). The closest fuzzy alternative pM08 has 232/233 instructions and greater branch-aware structural distance (14 vs 4), so reject it rather than trade the target instruction structure for a percentage gain. Wider arithmetic adds real instructions and is rejected. All cache source trials restored. No stack proof permits volatile.
|
||||
|
||||
MAX spelling follow-up after mailbox input-qualifier match: formal const candidate/spelling, consistent readonly count-helper prototype, and initialized immutable candidate length were all compiled. Const views reproduce the same 29 register differences. Local count scope changes instruction structure. Source restored; no proven volatile local evidence.
|
||||
|
||||
MAX final data proof: zi8cgetc .data is exactly 392 bytes in both objects, four compiler-generated switch tables, all 98 relocations resolve inside zi8InternalGetZH. No ordinary data symbol needs a real-name rename; these remain code work. Exception sections and the 16-byte constants/8-byte zero object are exact. NWC24MBoxCtrl has byte-identical ordinary strings and real MountInfo extent, matched data192/192; extracted trailing alignment remains unowned in source sections. pf_cache has no allocated non-code sections. No config or shared-header changes made.
|
||||
|
||||
MAX cache declaration search after structural/type/helper trials: declaration block: | PF_CACHE_PAGE* p_page = PF_NULL; | pf_s32 err; | pf_u32 num_rest_sector = num_sector; | pf_u8* p_sbuf; | pf_u8* p_ebuf; | pf_u32 num_overlap; | pf_u32 last_sector; | start (4, 9) | best (4, 9) after 52 builds; source restored; best order was: | PF_CACHE_PAGE* p_page = PF_NULL; | pf_s32 err; | pf_u32 num_rest_sector = num_sector; | pf_u8* p_sbuf; | pf_u8* p_ebuf; | pf_u32 num_overlap; | pf_u32 last_sector;
|
||||
MAX coverage ZiMatchZHSpelling: 22 distinct successfully compiled source trials.
|
||||
MAX coverage zi8InternalGetZH: 21 distinct successfully compiled source trials.
|
||||
MAX coverage Zi8GetElementCount: 12 distinct successfully compiled source trials.
|
||||
MAX coverage NWC24iIsMsgObjReadable: 14 distinct successfully compiled source trials.
|
||||
MAX coverage PFCACHE_DoWriteNumSectorAndFreeIfNeeded: 43 distinct successfully compiled source trials.
|
||||
|
||||
Coverage complete: no untried owned function. NWC24iIsMsgObjReadable is exact and committed; all other mailbox trials restored. pf_cache source byte-identical to its MAX start. Spelling/GetElementCount source unchanged. The sole retained engine change is one natural chained table/cursor assignment; the engine remains open, and structural return-copy/conversion differences are not labelled a pure register tie.
|
||||
|
||||
MAX final full (non-quick) gate, all three owned units:
|
||||
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] objdiff: code 4168/47816 data 144/536 functions 5/8 fuzzy 96.6547 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] instruction-exact functions: 5/8
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .data size 392 match None
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sbss2 size 8 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .sdata2 size 16 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section .text size 47816 match 96.65468
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extab size 48 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] section extabindex size 72 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: ZiMatchZHSpelling 98.80165
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: zi8InternalGetZH 96.27482
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] below 100: Zi8GetElementCount 99.347824
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zi8cgetc] baseline: code 4168/47816 data 144 functions 5 fuzzy 96.4008
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] pool: IDENTICAL
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] objdiff: code 10604/10604 data 192/192 functions 25/25 fuzzy 100.0000 linked code 0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] instruction-exact functions: 25/25
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .data size 168 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .sbss size 8 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .sdata size 16 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] section .text size 10604 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MBoxCtrl] baseline: code 10376/10604 data 192 functions 24 fuzzy 99.8491
|
||||
[libs/RVL_SDK/src/fa/pf_cache] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/fa/pf_cache] objdiff: code 6464/7396 data None/None functions 35/36 fuzzy 99.7755 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_cache] instruction-exact functions: 35/36
|
||||
[libs/RVL_SDK/src/fa/pf_cache] section .text size 7396 match 99.77555
|
||||
[libs/RVL_SDK/src/fa/pf_cache] below 100: PFCACHE_DoWriteNumSectorAndFreeIfNeeded 98.21889
|
||||
[libs/RVL_SDK/src/fa/pf_cache] baseline: code 6464/7396 data None functions 35 fuzzy 99.7755
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.40604 -> 90.41365
|
||||
global fuzzy_match_percent: 99.56056 -> 99.56516
|
||||
global complete_code_percent: 70.30611 -> 70.30611
|
||||
global matched_data_percent: 99.36596 -> 99.36596
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
GATE PASS
|
||||
```
|
||||
|
||||
MAX before -> after, instruction-exact/code/data bytes: zi8cgetc 5/4168/144 -> 5/4168/144 (engine fuzzy 95.99054 -> 96.27482); NWC24MBoxCtrl 24/10376/192 -> 25/10604/192; pf_cache 35/6464/0 -> 35/6464/0 (no data sections). Full GATE PASS, exact DOL SHA1, pools identical, zero regressions and forbidden/readability failures. Owned instruction-exact total 64/69 -> 65/69. Local source commits: 25fabf7b and 93e82b61.
|
||||
Remaining open functions, with all source attempts exhausted this MAX round: ZiMatchZHSpelling98.80165% (29 register differences); zi8InternalGetZH96.27482% (return copies, missing halfword conversions, allocation); Zi8GetElementCount99.347824% (13 register differences); PFCACHE_DoWriteNumSectorAndFreeIfNeeded98.21889% (9 third-overlap arithmetic/scheduling differences). The correct engine temporary boundaries and paired phonetic-code interface widths remain uncertain. No new symbol rename/extent adjustment or linking investigation was needed.
|
||||
@@ -1562,3 +1562,990 @@ 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.
|
||||
|
||||
# R9 XHIGH continued, fresh origin/main branch
|
||||
Initial HEAD 76d72f06ce72601ba50236376319984c3e70f2af; origin adcd8ca586dc4ad15c62df304e560a7c974f1c12. Four owned units only; IDCT/pf_volume/eZiText excluded.
|
||||
libs/RevoEX/src/so/SOOption | initial pool | POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
libs/RevoEX/src/so/SOOption | initial pool | POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
libs/RVL_SDK/src/fa/pf_entry_iterator | initial pool | POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
src/keyboard/tiString | initial pool | POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
src/keyboard/tiSignWindow | initial pool | POOL IDENTICAL up to 30 (mine=30 base=30)
|
||||
SOGetInterfaceOpt | R9 fetch origin/main adcd8ca5 source equal. First5 level25 vs26, then option28 vs25;119/119 frame0x30, stackslots0xc/8, branch shape and pointer arithmetic/inline OptionLength boundary all exact. No stack-store/reload volatility proof or extent overlap; all owned data empty. New scalar-reference/response-helper and local lifetime experiments before register-only search.
|
||||
SOGetInterfaceOpt | R9 unsigned allocation size and response length as byte extents | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 level and option scalar parameters immutable at definition | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 scoped selector copies taken after preparation and before validation | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 readonly scalar input references in selector helper | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 readonly option selector reference alone in command helper | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 readonly protocol level reference alone in command helper | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 typed reply buffer inline accessor boundary | objdiff 98.94958; 119/119 instructions; structural/exact (0, 24); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 typed returned length inline accessor boundary | objdiff 99.07563; 119/119 instructions; structural/exact (0, 22); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 returned length and reply locals scoped to successful allocation | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and reply descriptors scoped to successful allocation | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command helper gets input selectors through aggregate const view | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 vector base and byte lengths assigned through typed descriptor helper | objdiff 96.193275; 119/119 instructions; structural/exact (6, 25); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 successful request payload pointers accessed by actual struct fields | objdiff 97.5042; 119/119 instructions; structural/exact (5, 10); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
PFENT_ITER_FindCluster | R9 fresh fetch 68c4c9ae, sourceequal. First39 li r7,1 vstargetr8;237/237/frame0xa0, eight constant1/entries-per-sector operands. All branches/local offsets/load/store/inline LoadEntry identical. Immediate iter.index reload alreadypresent, prior volatile adds3 loads; no new volatile. Extent endsatRetreat, data24/24. Test natural left-shift entry index and typed count initialization before declsearch.
|
||||
PFENT_ITER_FindCluster | R9 file entry index computed with shift rather than sector multiplication | objdiff 98.945145; 237/237 instructions; structural/exact (2, 9); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
|
||||
PFENT_ITER_FindCluster | R9 entry mask helper derives count and mask from readonly geometry | objdiff 98.48101; 237/237 instructions; structural/exact (2, 26); first (2, ('stw', 'r0, 0xa4(r1)'), ('li', 'r6, 0'))
|
||||
PFENT_ITER_FindCluster | R9 entry count helper keeps shift operand unsigned | objdiff 99.81013; 237/237 instructions; structural/exact (0, 8); first (39, ('li', 'r7, 1'), ('li', 'r8, 1'))
|
||||
PFENT_ITER_FindCluster | R9 local count and first-cluster sentinel grouped as geometry values | BUILD FAIL -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RVL_SDK/src/fa/pf_entry_iterator.c -o build/43U/src/libs/RVL_SDK/src/fa && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVL_SDK/src/fa/pf_entry_iterator.d build/43U/src/libs/RVL_SDK/src/fa/pf_entry_iterator.d ### mwcceppc.exe Compiler: # File: libs\RVL_SDK\src\fa\pf_entry_iterator.c # ------------------------------------------------ # 513: iter.log2_geometry.entries_per_sector = p_ent->p_vol->bpb.log2_bytes_per_sector - 5; # Error: ^ # (10393) 'log2_geometry' is not a member of class 'struct PFITER_ENT_ITER' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
PFENT_ITER_FindCluster | R9 shift count temporary uses natural byte geometry before iterator storage | objdiff 98.48101; 237/237 instructions; structural/exact (2, 26); first (2, ('stw', 'r0, 0xa4(r1)'), ('li', 'r6, 0'))
|
||||
PFENT_ITER_FindCluster | R9 offset mask initialized before persistent entries-per-sector value | objdiff 100.0; 237/237 instructions; structural/exact (0, 0); first None
|
||||
create | R9 fresh origin c7896c38 sourceequal.221/221/frame0x50. First51 LIS Allvtable30vstable24; four relocation-address load-order diffs, six animation count22vs31 and slot31vs22 register operands. All calls/constructors/pane switch/loop forms otherwiseexact; readonly animation-slotreference gain preserved. No adjacentstackreload/extentoverlap, owneddata3468/3468. Test early type input, const table fields and helper/scopes before declsearch.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 pane type read before metadata row address | objdiff 99.38914; 221/221 instructions; structural/exact (0, 21); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 switch type input directly indexes table | objdiff 99.38914; 221/221 instructions; structural/exact (0, 21); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 metadata row constructed before empty pane result | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 constructor switch source order 2,0,1 | objdiff 99.63801; 221/221 instructions; structural/exact (2, 14); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
PFENT_ITER_FindCluster | R9 breakthrough: initialize offset_mask directly from shifted geometry before declaring the persistent entries_per_sector value. Compiler CSE retains identical 237-instruction scheduling but chooses shared1=r8 and shiftedentrycount=r7, resolving all eight operands. Natural dependency/statement order lever, no header/type/volatile or data change. New source saved for gate.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 constructor switch source order 1,2,0 | objdiff 99.24435; 222/221 instructions; structural/exact (8, 158); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
SOGetInterfaceOpt | R9 thirteen compiled new source constructs; leading declsearch: declaration block: | s32 rm; | int temporary; | int size; | int result; | InterfaceOption* request; | InterfaceCommand* command; | int* returnedLength; | u8* reply; | start (0, 5) | best (0, 5) after 70 builds; source restored; best order was: | s32 rm; | int temporary; | int size; | int result; | InterfaceOption* request; | InterfaceCommand* command; | int* returnedLength; | u8* reply; | . No improvement; baseline source restored.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 constructor switch source order 1,0,2 | objdiff 99.17647; 222/221 instructions; structural/exact (8, 158); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 constructor switch source order 0,2,1 | objdiff 99.049774; 222/221 instructions; structural/exact (6, 159); first (50, ('lis', 'r28, 0'), ('lis', 'r29, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 constructor switch source order 0,1,2 | objdiff 99.06335; 222/221 instructions; structural/exact (8, 160); first (50, ('lis', 'r28, 0'), ('lis', 'r29, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 immutable type field on pane table metadata | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
inputChar | R9 fresh fetch c7896c38, sourceequal125/136/frame0x30. First branch10offset differs only due shorter Hangulblock; first real instruction65 initializer/count/newline compare/indexed append absent. Target carries countzero r6 through shift,indexed store,increment, mask u16return; initialNUL before cmplwi ch10 retaineddead compare. Kana/cursor methods exactshape; no volatile proof, extent0x220 endsatconfirmKana. Data288/288. Test const input/buffer/helper stream ownership and natural newline conversion variants; keep semantic operations, no empty helpers/stubs/dummy state.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 immutable animation count field in pane table | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 immutable force animation target pointer in pane table | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 immutable animation pointer slots at metadata definition | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 metadata selector and count immutable fields together | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation count initialized before force target from same metadata | objdiff 99.69683; 221/221 instructions; structural/exact (4, 11); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 loop count unsigned temporary derived through const field reference | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation index wide with explicit UTF16 lookup and comparison | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation count shares binding state with force target | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 count declared at outer pane iteration but assigned after pane construction | objdiff 99.61539; 221/221 instructions; structural/exact (0, 14); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 force target declared at outer pane iteration with retained count lifetime | objdiff 99.54751; 221/221 instructions; structural/exact (0, 17); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 allocation buffer declared once for all constructor cases | objdiff 98.86878; 221/221 instructions; structural/exact (0, 46); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 pane row type query in readonly inline boundary | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
|
||||
R9 exact entry iterator candidate quick full-build authority gate:
|
||||
```
|
||||
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 7880/7880 data 24/24 functions 16/16 fuzzy 100.0000 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] instruction-exact functions: 16/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 100.0
|
||||
[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.9666
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.02490 -> 90.05654
|
||||
global fuzzy_match_percent: 99.54210 -> 99.54217
|
||||
global complete_code_percent: 69.30851 -> 69.30851
|
||||
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
|
||||
```
|
||||
R9 accepted PFENT_ITER_FindCluster 100.0%, ctxdiff0/237instructions, wholeunit16/16/code7880/7880/data24/24; all four pools identical,0globalregressions/forbidden/readability, correctDOL. Only two source initialization lines changed; no configure/header/config/data changes.
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime level,length,option,reply | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime level,length,reply,option | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime option,level,length,reply | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime option,length,level,reply | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime option,length,reply,level | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime length,level,option,reply | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime length,level,reply,option | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime length,option,level,reply | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime length,option,reply,level | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime length,reply,level,option | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 command and response statements by actual lifetime length,reply,option,level | objdiff 99.85714; 119/119 instructions; structural/exact (2, 3); first (5, ('mr', 'r28, r4'), ('mr', 'r26, r4'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 UTF16 character passed as const reference into indexed append helper | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 UTF16 output bounded array reference and immutable pointer helper | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 literal conversion buffer uses output array member and meaningful current length | objdiff 87.80147; 128/136 instructions; structural/exact (30, 76); first (0, ('stwu', 'r1, -0x50(r1)'), ('stwu', 'r1, -0x30(r1)'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 stream appender carries pointer and UTF16 count through readonly character input | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline resets UTF16 count before common append in readonly character helper | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline empties buffered literal stream through Clear helper before append | objdiff 92.52941; 135/136 instructions; structural/exact (16, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline byteview reset helper returns zero cursor before common append | objdiff 91.72794; 136/136 instructions; structural/exact (17, 61); first (63, ('b', '88'), ('b', '80'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 generic literal newline flush resets output length using unsigned short state | objdiff 95.036766; 136/136 instructions; structural/exact (8, 23); first (39, ('clrlwi', 'r28, r3, 0x18'), ('clrlwi', 'r29, r3, 0x18'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 stream constructor initializes count through const buffer input reference | objdiff 93.05147; 136/136 instructions; structural/exact (17, 60); first (63, ('b', '88'), ('b', '80'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 generic single character stream uses common append method for newline | objdiff 91.01471; 137/136 instructions; structural/exact (17, 74); first (10, ('beq', '476'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 Hangul conversion derives one character length from bounded output pointer | objdiff 89.92647; 130/136 instructions; structural/exact (18, 87); first (10, ('beq', '448'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 single character buffer append loops over existing buffer terminator | objdiff 89.117645; 139/136 instructions; structural/exact (18, 74); first (10, ('beq', '484'), ('beq', '472'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 mutable pane row reference with readonly animation slot view | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 immutable pane row pointer with readonly animation slot view | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 mutable pane row pointer with readonly animation slot view | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 table input bound through immutable array reference | objdiff 99.502266; 221/221 instructions; structural/exact (0, 18); first (49, ('lis', 'r22, 0'), ('lis', 'r27, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 table row lookup uses scoped const pointer after owner setup | objdiff 99.502266; 221/221 instructions; structural/exact (0, 18); first (49, ('lis', 'r22, 0'), ('lis', 'r27, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation count local signed extent with unsigned compare | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation slot view pointer accessed by typed inline reference getter | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation pointer value read inside readonly slot wrapper struct | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 pane name virtual lookup extracted before allocation in each branch | objdiff 78.746605; 224/221 instructions; structural/exact (74, 158); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation count copied after explicit zero index initialization | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation count and index declaration order shared across pane loop | objdiff 98.64253; 221/221 instructions; structural/exact (0, 54); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation index outside count lifetime and declared before force target | objdiff 98.57466; 221/221 instructions; structural/exact (0, 56); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 generic literal newline flush resets output length using unsigned short state detailed candidate disassembly | objdiff 95.036766; 136/136 instructions; structural/exact (8, 23); first (39, ('clrlwi', 'r28, r3, 0x18'), ('clrlwi', 'r29, r3, 0x18'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline reset skips alreadyempty stream u32 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline clear removes existing buffered characters u32 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline reset guards stream clear using immutable length view u32 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar | R9 candidate u16 streamcount reference reaches95.036766/136instructions,firstrealHangulblock66stillhaslive newline branch and redundant countzero, maskedscaledindexinsteadtargetu32slwi. Registercount28vs29 propagates intoKana. Not retained; next trials implement functional Clear that skips alreadyempty stream or removes existing chars, to test deadbranch elimination at actual helper boundary.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline reset assigns only when positive old count u32 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline reset skips alreadyempty stream u16 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline clear removes existing buffered characters u16 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline reset guards stream clear using immutable length view u16 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline reset assigns only when positive old count u16 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline stream clears existing buffered chars u32 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R9 newline stream clears existing buffered chars u16 | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer pane traversal written as natural unsigned for loop | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer pane index initialized by traversal header rather than declaration | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer pane loop while form with increment at tail | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer pane loop do with preincrement in comparison | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer pane loop signed counter with unsigned bounds and UTF16 element lookup | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation traversal uses explicit for loop with existing local counter | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation index initialization inside for header after force metadata | objdiff 99.72851; 221/221 instructions; structural/exact (0, 10); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation loop exit inverted inside unconditional loop | objdiff 59.95475; 221/221 instructions; structural/exact (6, 52); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation count direct copy into index-and-count state | objdiff 98.57466; 221/221 instructions; structural/exact (0, 56); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 pane loop index initialized before force and animation metadata declarations | objdiff 99.54751; 221/221 instructions; structural/exact (0, 17); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 animation bound held by early unsigned immutable scalar copy per pane iteration | objdiff 98.75565; 221/221 instructions; structural/exact (0, 50); first (51, ('lis', 'r30, 0'), ('lis', 'r24, 0'))
|
||||
signcreate | R9 leadingdeclsearch6builds unchanged10; new structural outer pane do->for loop immediatelyfixesAll/table addresshoistorder,221/221 and6registeronly bound/slot operands remain,99.86425%. Proven natural controlflow lever; candidate pending gate after remaining loop trials.
|
||||
SOGetInterfaceOpt | R9 preparation failure returns early before request scope | objdiff 98.52941; 120/119 instructions; structural/exact (2, 108); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 preparation failure branches to shared return label | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 preparation status separate with early return and operation result scope | objdiff 98.86555; 120/119 instructions; structural/exact (2, 108); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 valid option block first with invalid branch in trailing else | objdiff 93.31092; 120/119 instructions; structural/exact (9, 108); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 allocated request success block before allocation error branch | objdiff 96.344536; 119/119 instructions; structural/exact (5, 73); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 selector pair store expressions followed by response construction inline block | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 input parameter names reflect protocol level and option request | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R9 input values named for response buffer and byte length | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer pane traversal written as natural unsigned for loop retained best outer loop | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
|
||||
R9 accepted natural pane for loop quick gate:
|
||||
```
|
||||
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 7880/7880 data 24/24 functions 16/16 fuzzy 100.0000 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] instruction-exact functions: 16/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 100.0
|
||||
[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.9833 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.9833
|
||||
[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.86425
|
||||
[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.9666
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.02490 -> 90.05654
|
||||
global fuzzy_match_percent: 99.54210 -> 99.54221
|
||||
global complete_code_percent: 69.30851 -> 69.30851
|
||||
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
|
||||
```
|
||||
R9 signcreate improvement99.72851->99.86425; hoisted global/table address-load order nowexact,6register operands count22/slot31 swapped versuscount31/slot22.221/221frame0x50; all pools/dataexact,0globalregression/forbidden/readability/correctDOL. Leadingdeclsearch onforcandidate6buildsleaves6diffs. Minimal loop-form change retained andcommitted; no type/header/data changes.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop initializes animation extent before traversal | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop initializes force target before traversal | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop animation bound initialized after index declaration | objdiff 99.75113; 221/221 instructions; structural/exact (0, 10); first (58, ('li', 'r22, 0'), ('li', 'r21, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop animation counter declared before scoped bound | objdiff 98.77828; 221/221 instructions; structural/exact (0, 50); first (58, ('li', 'r22, 0'), ('li', 'r21, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop animation bound shares readonly metadata input scope | objdiff 98.8914; 221/221 instructions; structural/exact (0, 46); first (58, ('li', 'r22, 0'), ('li', 'r21, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop uses actual readonly pointer-to-slot input view | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop declares resource and transform before slot pointer view | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop readonly pane binding helper carries count before pointer reference | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop mutable animation pointer slot reference | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R9 outer for loop caches animation file readonly reference as object | objdiff 97.004524; 219/221 instructions; structural/exact (9, 91); first (48, ('lis', 'r26, 0'), ('lis', 'r25, 0'))
|
||||
R9 data ownership audit: owned target data already100 by exact names: entry_iterator.sdata24, tiString.data288, tiSignWindow.data/rodata/sdata/ctors3468; SOOption noowneddata. Weak extras ignored. No relocation/type proof requiresrename/extentcorrection; no symbol/config/header/section changes.
|
||||
R9 extent audit SOGetInterfaceOpt = .text:0x814B476C; // type:function size:0x1DC | next SOSetInterfaceOpt = .text:0x814B4948; // type:function size:0x128 | no overlap.
|
||||
R9 extent audit PFENT_ITER_FindCluster = .text:0x815D3414; // type:function size:0x3B4 | next PFENT_ITER_Retreat = .text:0x815D37C8; // type:function size:0x25C | no overlap.
|
||||
R9 extent audit inputChar__Q39textinput8tistring9DecolatedFw = .text:0x81432CE4; // type:function size:0x220 | next confirmKana__Q39textinput8tistring9DecolatedFv = .text:0x81432F04; // type:function size:0x14 | no overlap.
|
||||
R9 extent audit create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator = .text:0x81430E50; // type:function size:0x374 | next __dt__Q49textinput8keyboard10signwindow7AnmPaneFv = .text:0x814311C4; // type:function size:0x58 | no overlap.
|
||||
SOGetInterfaceOpt | R9 all source variants rejected:5pureoperand differences unchanged by selector const/reference/scopes/types. Eleven dependency-valid command/response operation orders either preserve5diffs orreverse actual header stores, giving99.85714/3diffs but2structural forms; latter rejected because introduces non-target scheduling. Earlyreturn/branchinversion adds1instruction orotherbranchforms, aliases unchanged. Leadingdeclsearch70builds noimprovement. Baseline source intact,3/4.
|
||||
inputChar | R9 22 distinct compiled new converter trials. Best95.036766/136 stillhaslive newline reset branch absenttarget andwrongindexwidth/countregs; guarded actualclear removesbranch butfoldsindex/count,126/136. No candidate retained because original converter boundary unresolved; baseline125/136,90.132355 restored. Functional helper trials only, no empty stubs, unsupportedvolatile ordata changes.
|
||||
R9 pre-final remaining audit | SOGetInterfaceOpt | 32 distinct compiled scored source attempts this round; >=3 proved.
|
||||
R9 pre-final remaining audit | inputChar__Q39textinput8tistring9DecolatedFw | 22 distinct compiled source trials plus one repeated detailed disassembly run; >=3 proved.
|
||||
R9 pre-final remaining audit | create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | 54 distinct compiled source trials plus one repeated retained-candidate rebuild; >=3 proved.
|
||||
R9 retained source: entry iterator two initialization-line change exactly237/237 and16/16; sign outerdo->for loop exactly221/221shape and6pure operands,99.86425. SO andtiString source restored. All other units/exactfunctions/data preserved, no header/config changes. Final clean gate follows.
|
||||
R9 trial totals: 113 distinct compiled source variations across four functions, plus82 declaration-order evaluations,195 builds; failed geometry-struct trial excluded. Three remaining open functions all exceed3 distinct attempts. One new exact function,948newmatchedcodebytes, signloadorderfour operands resolved; no original helper source inferred beyond evidence.
|
||||
|
||||
# R9 final clean full gate over all four 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 7880/7880 data 24/24 functions 16/16 fuzzy 100.0000 linked code 0
|
||||
[libs/RVL_SDK/src/fa/pf_entry_iterator] instruction-exact functions: 16/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 100.0
|
||||
[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.9833 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.9833
|
||||
[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.86425
|
||||
[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.9666
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.02490 -> 90.05654
|
||||
global fuzzy_match_percent: 99.54210 -> 99.54221
|
||||
global complete_code_percent: 69.30851 -> 69.30851
|
||||
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
|
||||
R9 remaining | SOGetInterfaceOpt | 99.78992% | 119/119 frame0x30; five argument selector/level register operands, first5mr25vs26; rm/temp stack offsets, branch/helper/load/store/pointer order all exact. 32 distinct compiled source trials,70declsearchevaluations.
|
||||
libs/RVL_SDK/src/fa/pf_entry_iterator | exact 15/16 -> 16/16 | code bytes 6932 -> 7880/7880 | data bytes 24 -> 24/24
|
||||
src/keyboard/tiString | exact 41/42 -> 41/42 | code bytes 4632 -> 4632/5176 | data bytes 288 -> 288/288
|
||||
R9 remaining | inputChar__Q39textinput8tistring9DecolatedFw | 90.132355% | 125/136 frame0x30; Hangul converter original inline boundary, indexed append counter and dead newline compare unresolved.22distinct converter trials plus repeated135/136 detailed disassembly; best95.036766rejected because addslive newline branch.
|
||||
src/keyboard/tiSignWindow | exact 55/56 -> 55/56 | code bytes 6300 -> 6300/7184 | data bytes 3468 -> 3468/3468
|
||||
R9 remaining | create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | 99.86425% | 221/221 frame0x50; all relocation-address/load orders nowexact, only6count22/slot31 operand differences vstargetcount31/slot22; first159lwz22vs31.54distinct source trials,12declaration evals.
|
||||
R9 final files: libs/RVL_SDK/src/fa/pf_entry_iterator.c; src/keyboard/tiSignWindow.cpp; tools/decomp-assist/fz3.attempts.md. Source commits83182c27,2ee7e995. Exactcount+1,948matchedcodebytes. Allpoolsidentical/data100/correctDOL/0globalregression/forbidden/readability. No sourcechangesafterfullcleangate. Remaining original Hangul helper structure and SO/count/slot register choices uncertain, logged without fake completion. No symbolrenames/extentchanges/sharedheaders/configure switches, no out-of-scope sourcefiles. Finalcommit logonly.
|
||||
|
||||
# R10 XHIGH fresh branch, six owned units
|
||||
HEAD 3cde45682d70991f4986a389b8cab1ae42a87468; origin 3cde45682d70991f4986a389b8cab1ae42a87468
|
||||
libs/RevoEX/src/so/SOOption | R10 initial pool | POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
libs/RevoEX/src/so/SOOption | R10 baseline open | {'name': 'SOGetInterfaceOpt', 'size': '476', 'fuzzy_match_percent': 99.78992, 'metadata': {}, 'address': '520'}
|
||||
src/keyboard/tiString | R10 initial pool | POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
src/keyboard/tiString | R10 baseline open | {'name': 'inputChar__Q39textinput8tistring9DecolatedFw', 'size': '544', 'fuzzy_match_percent': 90.132355, 'metadata': {'demangled_name': 'textinput::tistring::Decolated::inputChar(wchar_t)'}, 'address': '1740'}
|
||||
src/keyboard/tiSignWindow | R10 initial pool | POOL IDENTICAL up to 30 (mine=30 base=30)
|
||||
src/keyboard/tiSignWindow | R10 baseline open | {'name': 'create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator', 'size': '884', 'fuzzy_match_percent': 99.86425, 'metadata': {'demangled_name': 'textinput::keyboard::signwindow::LayoutByNW4R::create(MEMAllocator*)'}, 'address': '1096'}
|
||||
libs/RevoEX/src/cdb/CDBRecord | R10 initial pool | FIRST DIVERGENCE at index 10
|
||||
8 mine=0x1b0 base=0x1b0
|
||||
M "can't get file size of the record ; the record is closed\n"
|
||||
B "can't get file size of the record ; the record is closed\n"
|
||||
9 mine=0x1ec base=0x1ec
|
||||
M "can't get data size of the record ; the record is closed\n"
|
||||
B "can't get data size of the record ; the record is closed\n"
|
||||
* 10 mine=0x228 base=0x228
|
||||
M "can't remove the record ; the record is opened\n"
|
||||
B "can't reduce file size of the record ; the record is closed\n"
|
||||
* 11 mine=0x258 base=0x268
|
||||
M "can't remove the record ; permission denied\n"
|
||||
B "can't reduce file size of the record ; the record is opened as READONL"
|
||||
* 12 mine=0x288 base=0x2b8
|
||||
M "can't get CDBId of the record ; the record is closed\n"
|
||||
B "can't reduce file size of the record ; file size must be over %d bytes"
|
||||
* 13 mine=0x2c0 base=0x300
|
||||
M "can't get maker code of the record ; the record is closed\n"
|
||||
B "can't reduce data size of the record ; the record is closed\n"
|
||||
* 14 mine=0x2fc base=0x340
|
||||
M "can't set modified time of the record; the database is opened as READO"
|
||||
B "can't reduce data size of the record ; the record is opened as READONL"
|
||||
|
||||
mine has 19 strings, base has 47
|
||||
libs/RevoEX/src/cdb/CDBRecord | R10 initial pool | FIRST DIVERGENCE at index 10 | 8 mine=0x1b0 base=0x1b0 | M "can't get file size of the record ; the record is closed\n" | B "can't get file size of the record ; the record is closed\n" | 9 mine=0x1ec base=0x1ec | M "can't get data size of the record ; the record is closed\n" | B "can't get data size of the record ; the record is closed\n" | * 10 mine=0x228 base=0x228 | M "can't remove the record ; the record is opened\n" | B "can't reduce file size of the record ; the record is closed\n" | * 11 mine=0x258 base=0x268 | M "can't remove the record ; permission denied\n" | B "can't reduce file size of the record ; the record is opened as READONL" | * 12 mine=0x288 base=0x2b8 | M "can't get CDBId of the record ; the record is closed\n" | B "can't reduce file size of the record ; file size must be over %d bytes" | * 13 mine=0x2c0 base=0x300 | M "can't get maker code of the record ; the record is closed\n" | B "can't reduce data size of the record ; the record is closed\n" | * 14 mine=0x2fc base=0x340 | M "can't set modified time of the record; the database is opened as READO" | B "can't reduce data size of the record ; the record is opened as READONL" | | mine has 19 strings, base has 47
|
||||
libs/RevoEX/src/cdb/CDBRecord | R10 baseline open | {'name': 'CDBCryptBuffer', 'size': '476', 'fuzzy_match_percent': 99.97479, 'metadata': {}, 'address': '4592'}
|
||||
libs/RevoEX/src/cdb/CDBRecord | R10 baseline open | {'name': 'CDBRecordEncrypt', 'size': '1136', 'fuzzy_match_percent': 99.19014, 'metadata': {}, 'address': '5068'}
|
||||
libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32 | R10 initial pool | POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32 | R10 baseline open | {'name': 'TMCJPEGDEC_decode_iquant', 'size': '1104', 'fuzzy_match_percent': 99.10507, 'metadata': {}, 'address': '0'}
|
||||
libs/RevoEX/src/so/SOBasic | R10 initial pool | POOL IDENTICAL up to 1 (mine=1 base=1)
|
||||
libs/RevoEX/src/so/SOBasic | R10 baseline open | {'name': 'SOGetSockName', 'size': '252', 'fuzzy_match_percent': 95.95238, 'metadata': {}, 'address': '868'}
|
||||
R10 CDB pool audit | firstmissingtargetstrings at0x228reducefile/data size;19source vs47target, gap not merely a name mismatch. Targetretail extraction keeps stringblocks for code/functions absenttarget29functions andabsentheaders (ReduceFileSize etc). No fakepadding/string blobs or deadfunction stubs will beintroduced. Inference of linkerdedup/gc explains mismatch, original dead API bodies unknown. Needretainpoolbaselinewhileownedcode attempts proceed; code-only cryptoffset gaps remain data work andunresolved.
|
||||
SOGetInterfaceOpt | R10 fetched origin dea64a8c; source equal original=True; baseline open per fresh report, no duplicate remote match.
|
||||
SOGetInterfaceOpt | R10 first5mr25vs26,119/119/frame0x30; five argumentlevel/selector registers only; rm/tempstackoffsets, branches, memcpy/pointer/load order exact. No adjacentstackreload proof orsymboloverlap. Try typed selector array view and response-side immutable limits before finaldeclsearch.
|
||||
SOGetInterfaceOpt | R10 command selectors addressed through real union array fields | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 returned length count read through readonly local alias after ioctl | objdiff 98.44538; 120/119 instructions; structural/exact (8, 27); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 IPC allocation starts from typed command block as input selector pointer | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 returned length and caller capacity compared by named signed locals | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 requested output size read as typed length block before vector registration | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 fetched origin dea64a8c; source equal original=True; baseline open per fresh report, no duplicate remote match.
|
||||
inputChar | R10 source125/136/frame0x30; firstbranch10 displacement reflectsmissing11Hangul instructions; targetcounter6indexedappend, duplicateinitialNUL anddeadch10compare; precedingKana andfollowingcursorblocksotherwiseexact. No targetadjacentstackreload proof, extentendsatconfirmKana. Previousnewline builders leaveextra livebranch; new actualOutput cursor type/helper/constructor trials follow.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 Output cursor initializes terminator then appends using mutable u32 index | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 Output cursor stores real buffer index as UTF16 count | objdiff 90.757355; 126/136 instructions; structural/exact (17, 73); first (10, ('beq', '432'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 Literal converter initializes destination via helper and returns indexed append count | objdiff 90.132355; 125/136 instructions; structural/exact (18, 73); first (10, ('beq', '428'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 Literal conversion output count returned through real stream length pointer | objdiff 90.132355; 125/136 instructions; structural/exact (18, 73); first (10, ('beq', '428'), ('beq', '472'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 fetched origin dea64a8c; source equal original=True; baseline open per fresh report, no duplicate remote match.
|
||||
signcreate | R10 pool30identical/sourceequal;221/221frame0x50; first159bound lwz22vs31 and slot31vs22,6pure operands. Alladdresses/branches/constructors/stack/local ordering nowexact fromforloop gain. No adjacentstackreload orsymboloverlap. New traversal metadata aggregate and field-alias lifetimes beforedeclsearch.
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 animation metadata count returned as readonly field reference before scalar copy | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 animation count shared by typed unsigned traversal bound object | objdiff 99.79638; 221/221 instructions; structural/exact (0, 9); first (157, ('lwz', 'r22, 0x1c(r20)'), ('lwz', 'r23, 0x1c(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 animation count cached through pointer to own unsigned loop bound | objdiff 99.095024; 221/221 instructions; structural/exact (0, 35); first (48, ('lis', 'r24, 0'), ('lis', 'r25, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 animation resources declared before loop with readonly slot reference kept local | objdiff 99.70588; 221/221 instructions; structural/exact (0, 12); first (158, ('li', 'r17, 0'), ('li', 'r18, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 animation count common scope ends together with readonly animation table reference | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 outer traversal const owner view for pane metadata indexed row | objdiff 99.86425; 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
SOGetSockName | R10 fetched origin dea64a8c; source equal original=True; baseline open per fresh report, no duplicate remote match.
|
||||
SOGetSockName | R10 63/63frame0x30; first6address29vstarget27 andrequest27vstarget29; call memcpyinputmove/load precedes outputmove targetvsoursdstfirst,3instructionorderdiffs plus8operands. Targetheaderrequestsocket0/address0x20; actualtypes NameRequest andSOSockAddr. New constinputview calleroutputdistinct logical pointer beforedeclsearch.
|
||||
SOGetSockName | R10 readonly socket address input view with original mutable output argument | objdiff 95.71429; 63/63 instructions; structural/exact (2, 13); first (5, ('mr', 'r27, r4'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 readonly socket address input immutable local pointer | objdiff 95.71429; 63/63 instructions; structural/exact (2, 13); first (5, ('mr', 'r27, r4'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 copy helper reads const socket address length before output buffer input | objdiff 95.95238; 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
SOGetSockName | R10 immutable typed reply pointer in successful allocation scope | objdiff 95.55556; 63/63 instructions; structural/exact (2, 17); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 request descriptor assigned after successful allocation check | objdiff 95.95238; 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
SOGetSockName | R10 input address length consumed through unsigned byte temporary | objdiff 95.95238; 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
SOGetSockName | R10 reply field pointer derived before socket request initialization | objdiff 95.95238; 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
SOGetSockName | R10 request and incoming address pointer grouped as named request state | objdiff 95.0; 63/63 instructions; structural/exact (2, 24); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
CDBCryptBuffer | R10 fetched origin dea64a8c; source equal original=True; baseline open per fresh report, no duplicate remote match.
|
||||
CDBCryptBuffer | R10 119/119/frame aligned0x180? raw prologue targetexact; onlythree OSReport base+offset operands source388/398/3a8 versus90c/91c/92c. Structuralcode andglobals/key/bufferrelocationsotherwiseexact; confirmedpool19vs47missingearlierdeadAPIstrings. No fakepoolbytes. Three sourcegeometry/helper attempts leavepoolbaseline tocheckmustlogallopens.
|
||||
CDBCryptBuffer | R10 typed const input buffer view for each AES chunk | objdiff 99.97479; 119/119 instructions; structural/exact (3, 3); first (32, ('addi', 'r3, r29, 0x388'), ('addi', 'r3, r29, 0x90c'))
|
||||
CDBCryptBuffer | R10 chunk length helper separates boundary arithmetic | objdiff 96.90756; 122/119 instructions; structural/exact (11, 76); first (32, ('addi', 'r3, r29, 0x388'), ('addi', 'r3, r29, 0x90c'))
|
||||
CDBCryptBuffer | R10 AES block cursor declared before aligned AES context | objdiff 99.97479; 119/119 instructions; structural/exact (3, 3); first (32, ('addi', 'r3, r29, 0x388'), ('addi', 'r3, r29, 0x90c'))
|
||||
CDBRecordEncrypt | R10 fetched origin dea64a8c; source equal original=True; baseline open per fresh report, no duplicate remote match.
|
||||
CDBRecordEncrypt | R10 284/284/frame0x400aligned64 andalllocalarrayaddressesexact;44pureoperanddifferences, first8poolbase31vstarget25, argsrecord25vs26,buff26vs27,key29vs24,size27vs28,out28vs29, tempFile24vstarget31. No branch/frame/inlineattribute boundary diffs, noadjacentstackreload forvolatility. FirstnewtempFiledeclarationlifetime beforedeclsearch; pooloffsetsusedwithinfunctionallbeforegapsoexactcodepossible butunitgatewillstillfailbaselinepool.
|
||||
CDBRecordEncrypt | R10 temporary record file pointer declared at shared function scope | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 temporary record file pointer declared before cached file and arguments use | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 temporary file pointer input view immutable within Wii ID helper scope | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 file tell result and saved offset share one meaningful function variable | objdiff 98.503525; 284/284 instructions; structural/exact (3, 47); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 cached attribute pointer scoped to readonly record file ownership | objdiff 97.193665; 285/284 instructions; structural/exact (6, 276); first (8, ('lwz', 'r24, 0x38(r3)'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 encryption authenticated extent created after cipher calculation | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 declsearch #1: const char* forceName; / u32 animationCount; / u32 paneIndex = 0; | 221/221 instructions; structural/exact (0, 6); first (159, ('lwz', 'r22, 0x18(r20)'), ('lwz', 'r31, 0x18(r20)'))
|
||||
CDBRecordEncrypt | R10 declsearch #1: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #2: CDBErr err; / CDBRecordFile* recordFile; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #3: u32 dataSize; / CDBErr err; / CDBRecordFile* recordFile; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #4: u32 fileSize; / CDBErr err; / u32 dataSize; / CDBRecordFile* recordFile; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (6, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #1: int size; / int result; / s32 rm; / SOSockAddr* addr; / SOSockAddr* reply; / NameRequest* request; | 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 declsearch #2: u32 animationCount; / const char* forceName; / u32 paneIndex = 0; | 221/221 instructions; structural/exact (0, 9); first (157, ('lwz', 'r22, 0x1c(r20)'), ('lwz', 'r23, 0x1c(r20)'))
|
||||
CDBRecordEncrypt | R10 declsearch #5: u32 cryptSize; / CDBErr err; / u32 dataSize; / u32 fileSize; / CDBRecordFile* recordFile; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #2: int result; / int size; / s32 rm; / SOSockAddr* addr; / SOSockAddr* reply; / NameRequest* request; | 63/63 instructions; structural/exact (2, 18); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
CDBRecordEncrypt | R10 declsearch #6: u32 authenticatedSize; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / CDBRecordFile* recordFile; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #3: s32 rm; / int result; / int size; / SOSockAddr* addr; / SOSockAddr* reply; / NameRequest* request; | 63/63 instructions; structural/exact (2, 18); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 declsearch #3: u32 paneIndex = 0; / u32 animationCount; / const char* forceName; | 221/221 instructions; structural/exact (0, 13); first (58, ('li', 'r23, 0'), ('li', 'r21, 0'))
|
||||
SOGetSockName | R10 declsearch #4: SOSockAddr* addr; / int result; / s32 rm; / int size; / SOSockAddr* reply; / NameRequest* request; | 63/63 instructions; structural/exact (2, 14); first (6, ('mr', 'r31, r4'), ('mr', 'r27, r4'))
|
||||
CDBRecordEncrypt | R10 declsearch #7: int fileOffset; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / CDBRecordFile* recordFile; | 284/284 instructions; structural/exact (0, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #5: SOSockAddr* reply; / int result; / s32 rm; / SOSockAddr* addr; / int size; / NameRequest* request; | 63/63 instructions; structural/exact (2, 20); first (5, ('mr', 'r30, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #8: CDBRecordFile* recordFile; / u32 dataSize; / CDBErr err; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #6: NameRequest* request; / int result; / s32 rm; / SOSockAddr* addr; / SOSockAddr* reply; / int size; | 63/63 instructions; structural/exact (2, 14); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
CDBRecordEncrypt | R10 declsearch #9: CDBRecordFile* recordFile; / u32 fileSize; / u32 dataSize; / CDBErr err; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (6, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 declsearch #4: const char* forceName; / u32 paneIndex = 0; / u32 animationCount; | 221/221 instructions; structural/exact (0, 10); first (58, ('li', 'r22, 0'), ('li', 'r21, 0'))
|
||||
SOGetSockName | R10 declsearch #7: int size; / s32 rm; / int result; / SOSockAddr* addr; / SOSockAddr* reply; / NameRequest* request; | 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
CDBRecordEncrypt | R10 declsearch #10: CDBRecordFile* recordFile; / u32 cryptSize; / u32 dataSize; / u32 fileSize; / CDBErr err; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #8: int size; / SOSockAddr* addr; / s32 rm; / int result; / SOSockAddr* reply; / NameRequest* request; | 63/63 instructions; structural/exact (2, 15); first (6, ('mr', 'r30, r4'), ('mr', 'r27, r4'))
|
||||
CDBRecordEncrypt | R10 declsearch #11: CDBRecordFile* recordFile; / u32 authenticatedSize; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / CDBErr err; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #9: int size; / SOSockAddr* reply; / s32 rm; / SOSockAddr* addr; / int result; / NameRequest* request; | 63/63 instructions; structural/exact (2, 19); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 declsearch #5: u32 animationCount; / u32 paneIndex = 0; / const char* forceName; | 221/221 instructions; structural/exact (0, 13); first (58, ('li', 'r22, 0'), ('li', 'r21, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #12: CDBRecordFile* recordFile; / int fileOffset; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / CDBErr err; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #10: int size; / NameRequest* request; / s32 rm; / SOSockAddr* addr; / SOSockAddr* reply; / int result; | 63/63 instructions; structural/exact (2, 17); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 declsearch #11: int size; / int result; / SOSockAddr* addr; / s32 rm; / SOSockAddr* reply; / NameRequest* request; | 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r29, r4'), ('mr', 'r27, r4'))
|
||||
CDBRecordEncrypt | R10 declsearch #13: CDBRecordFile* recordFile; / CDBErr err; / u32 fileSize; / u32 dataSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (6, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #12: int size; / int result; / SOSockAddr* reply; / SOSockAddr* addr; / s32 rm; / NameRequest* request; | 63/63 instructions; structural/exact (2, 17); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #14: CDBRecordFile* recordFile; / CDBErr err; / u32 cryptSize; / u32 fileSize; / u32 dataSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (7, 51); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #13: int size; / int result; / NameRequest* request; / SOSockAddr* addr; / SOSockAddr* reply; / s32 rm; | 63/63 instructions; structural/exact (2, 14); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 declsearch #6: u32 paneIndex = 0; / const char* forceName; / u32 animationCount; | 221/221 instructions; structural/exact (0, 13); first (58, ('li', 'r23, 0'), ('li', 'r21, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #15: CDBRecordFile* recordFile; / CDBErr err; / u32 authenticatedSize; / u32 fileSize; / u32 cryptSize; / u32 dataSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #14: int size; / int result; / s32 rm; / SOSockAddr* reply; / SOSockAddr* addr; / NameRequest* request; | 63/63 instructions; structural/exact (2, 17); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #16: CDBRecordFile* recordFile; / CDBErr err; / int fileOffset; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / u32 dataSize; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #15: int size; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 declsearch #16: int result; / int size; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 10); first (18, ('li', 'r31, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
CDBRecordEncrypt | R10 declsearch #17: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 cryptSize; / u32 fileSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (5, 49); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #18: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 authenticatedSize; / u32 cryptSize; / u32 fileSize; / int fileOffset; | 284/284 instructions; structural/exact (5, 49); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #17: s32 rm; / int result; / int size; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 10); first (18, ('li', 'r31, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
SOGetSockName | R10 declsearch #18: NameRequest* request; / int result; / s32 rm; / int size; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 9); first (22, ('rlwinm', 'r29, r0, 0, 0, 0x1a'), ('rlwinm', 'r31, r0, 0, 0, 0x1a'))
|
||||
CDBRecordEncrypt | R10 declsearch #19: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / int fileOffset; / u32 cryptSize; / u32 authenticatedSize; / u32 fileSize; | 284/284 instructions; structural/exact (5, 49); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | R10 declsearch complete 6 evaluated permutations; no source change.
|
||||
SOGetSockName | R10 declsearch #19: SOSockAddr* reply; / int result; / s32 rm; / NameRequest* request; / int size; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 12); first (5, ('mr', 'r30, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #20: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 authenticatedSize; / u32 cryptSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #20: SOSockAddr* addr; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / int size; | 63/63 instructions; structural/exact (2, 11); first (6, ('mr', 'r31, r4'), ('mr', 'r27, r4'))
|
||||
CDBRecordEncrypt | R10 declsearch #21: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / int fileOffset; / u32 authenticatedSize; / u32 cryptSize; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #21: int size; / s32 rm; / int result; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 declsearch #22: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / int fileOffset; / u32 authenticatedSize; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #22: int size; / NameRequest* request; / s32 rm; / int result; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 10); first (18, ('li', 'r29, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
CDBRecordEncrypt | R10 declsearch #23: CDBErr err; / u32 dataSize; / CDBRecordFile* recordFile; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #23: int size; / SOSockAddr* reply; / s32 rm; / NameRequest* request; / int result; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 11); first (18, ('li', 'r28, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
CDBRecordEncrypt | R10 declsearch #24: CDBErr err; / u32 dataSize; / u32 fileSize; / CDBRecordFile* recordFile; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #24: int size; / SOSockAddr* addr; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / int result; | 63/63 instructions; structural/exact (2, 14); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #25: CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / CDBRecordFile* recordFile; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #25: int size; / int result; / NameRequest* request; / s32 rm; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 declsearch #26: CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / CDBRecordFile* recordFile; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #26: int size; / int result; / SOSockAddr* reply; / NameRequest* request; / s32 rm; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 12); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 declsearch #27: int size; / int result; / SOSockAddr* addr; / NameRequest* request; / SOSockAddr* reply; / s32 rm; | 63/63 instructions; structural/exact (2, 17); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #27: CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; / CDBRecordFile* recordFile; | 284/284 instructions; structural/exact (0, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #28: CDBRecordFile* recordFile; / u32 dataSize; / u32 fileSize; / CDBErr err; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #28: int size; / int result; / s32 rm; / SOSockAddr* reply; / NameRequest* request; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 12); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 declsearch #29: int size; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* addr; / SOSockAddr* reply; | 63/63 instructions; structural/exact (2, 14); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #29: CDBRecordFile* recordFile; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / CDBErr err; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #30: int result; / s32 rm; / int size; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 10); first (18, ('li', 'r31, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
CDBRecordEncrypt | R10 declsearch #30: CDBRecordFile* recordFile; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / CDBErr err; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #31: int result; / s32 rm; / NameRequest* request; / int size; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 13); first (18, ('li', 'r31, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
SOGetSockName | R10 declsearch #32: int result; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / int size; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 19); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #31: CDBRecordFile* recordFile; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; / CDBErr err; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #33: int result; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; / int size; | 63/63 instructions; structural/exact (2, 24); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #32: u32 dataSize; / CDBRecordFile* recordFile; / CDBErr err; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #33: CDBRecordFile* recordFile; / CDBErr err; / u32 fileSize; / u32 cryptSize; / u32 dataSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #34: int size; / s32 rm; / NameRequest* request; / int result; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 10); first (18, ('li', 'r29, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
SOGetSockName | R10 declsearch #35: int size; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / int result; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 14); first (18, ('li', 'r28, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
CDBRecordEncrypt | R10 declsearch #34: CDBRecordFile* recordFile; / CDBErr err; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / u32 dataSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #36: int size; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; / int result; | 63/63 instructions; structural/exact (2, 21); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #35: CDBRecordFile* recordFile; / CDBErr err; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; / u32 dataSize; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #37: s32 rm; / int size; / int result; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 declsearch #36: u32 fileSize; / CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (6, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #38: int size; / int result; / NameRequest* request; / SOSockAddr* reply; / s32 rm; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 declsearch #37: CDBRecordFile* recordFile; / u32 fileSize; / CDBErr err; / u32 dataSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (6, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #39: int size; / int result; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; / s32 rm; | 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 declsearch #38: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 cryptSize; / u32 authenticatedSize; / u32 fileSize; / int fileOffset; | 284/284 instructions; structural/exact (5, 49); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #40: NameRequest* request; / int size; / int result; / s32 rm; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 13); first (18, ('li', 'r29, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
SOGetSockName | R10 declsearch #41: int size; / NameRequest* request; / int result; / s32 rm; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 10); first (18, ('li', 'r29, -0x1c'), ('li', 'r30, -0x1c'))
|
||||
CDBRecordEncrypt | R10 declsearch #39: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 cryptSize; / u32 authenticatedSize; / int fileOffset; / u32 fileSize; | 284/284 instructions; structural/exact (5, 49); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #42: SOSockAddr* reply; / int size; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 19); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #40: u32 cryptSize; / CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #41: CDBRecordFile* recordFile; / u32 cryptSize; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #43: int size; / SOSockAddr* reply; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 16); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #42: CDBRecordFile* recordFile; / CDBErr err; / u32 cryptSize; / u32 dataSize; / u32 fileSize; / u32 authenticatedSize; / int fileOffset; | 284/284 instructions; structural/exact (9, 53); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #44: int size; / int result; / SOSockAddr* reply; / s32 rm; / NameRequest* request; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 12); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #43: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 authenticatedSize; / int fileOffset; / u32 cryptSize; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #45: SOSockAddr* addr; / int size; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* reply; | 63/63 instructions; structural/exact (2, 24); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 declsearch #46: int size; / SOSockAddr* addr; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* reply; | 63/63 instructions; structural/exact (2, 21); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #44: u32 authenticatedSize; / CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #47: int size; / int result; / SOSockAddr* addr; / s32 rm; / NameRequest* request; / SOSockAddr* reply; | 63/63 instructions; structural/exact (2, 17); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 declsearch #48: int size; / int result; / s32 rm; / SOSockAddr* addr; / NameRequest* request; / SOSockAddr* reply; | 63/63 instructions; structural/exact (2, 17); first (5, ('mr', 'r27, r3'), ('mr', 'r28, r3'))
|
||||
CDBRecordEncrypt | R10 declsearch #45: CDBRecordFile* recordFile; / u32 authenticatedSize; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #46: CDBRecordFile* recordFile; / CDBErr err; / u32 authenticatedSize; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch #49: int size; / int result; / s32 rm; / NameRequest* request; / SOSockAddr* reply; / SOSockAddr* addr; | 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 declsearch #47: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 authenticatedSize; / u32 fileSize; / u32 cryptSize; / int fileOffset; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
SOGetSockName | R10 declsearch final best confirmation | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 declsearch #48: int fileOffset; / CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; | 284/284 instructions; structural/exact (0, 50); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #49: CDBRecordFile* recordFile; / int fileOffset; / CDBErr err; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #50: CDBRecordFile* recordFile; / CDBErr err; / int fileOffset; / u32 dataSize; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #51: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / int fileOffset; / u32 fileSize; / u32 cryptSize; / u32 authenticatedSize; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch #52: CDBRecordFile* recordFile; / CDBErr err; / u32 dataSize; / u32 fileSize; / int fileOffset; / u32 cryptSize; / u32 authenticatedSize; | 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 declsearch complete 52 evaluated permutations; no source change.
|
||||
TMCJPEGDEC_decode_iquant | R10 fetched origin 5518cb16; source equal original=True; baseline open per fresh report, no duplicate remote match.
|
||||
TMCJPEGDEC_decode_iquant | R10 pool first POOL IDENTICAL up to 0 (mine=0 base=0)
|
||||
TMCJPEGDEC_decode_iquant | R10 first difference #42 DC long-table cursor r4 vs targetr7; 276/276/frame50. DC fast struct1c correct, DClimit14 correct, DCdecoded10 vs target18; ACfast18 vs target8; AClimitc correct, ACdecoded8 vs target10. The overlapping lifetimes and helper result scopes are structural; operand order #74 sum reversed and AC code #188 subf uses wrong source operand placement. No extent overlap, no literals/data. Try scope/aggregate helper/operands before declaration coloring.
|
||||
TMCJPEGDEC_decode_iquant | R10 AC aggregate local within AC decoding scope | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC aggregate local within DC fast lookup scope | objdiff 99.097824; 276/276 instructions; structural/exact (14, 48); first (26, ('sth', 'r0, 0x18(r1)'), ('sth', 'r0, 0x1c(r1)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 each fast aggregate local within its decoding scope | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 AC aggregate declared before DC aggregate | objdiff 99.097824; 276/276 instructions; structural/exact (14, 48); first (26, ('sth', 'r0, 0x18(r1)'), ('sth', 'r0, 0x1c(r1)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 both aggregates declared together after scalar temporaries | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 decoded helper return separated from assignment | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 decoded helper return readonly aggregate | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 decoded limit fields reused for symbol index | objdiff 98.30797; 278/276 instructions; structural/exact (25, 216); first (16, ('b', '1028'), ('b', '1020'))
|
||||
TMCJPEGDEC_decode_iquant | R10 named relative code before symbol addition | objdiff 99.141304; 276/276 instructions; structural/exact (12, 45); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 named symbol base added to relative code | objdiff 99.141304; 276/276 instructions; structural/exact (12, 45); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 helper structure return via whole entry copy | objdiff 93.98913; 274/276 instructions; structural/exact (41, 219); first (16, ('b', '1012'), ('b', '1020'))
|
||||
TMCJPEGDEC_decode_iquant | R10 helper limit structure initialized at definition | objdiff 93.98913; 274/276 instructions; structural/exact (41, 219); first (16, ('b', '1012'), ('b', '1020'))
|
||||
TMCJPEGDEC_decode_iquant | R10 separate limit helper definitions for DC and AC | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC helper input order work,table,symbols,bitCount | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC helper input order table,symbols,work,bitCount | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC helper input order symbols,bitCount,table,work | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 readonly typed Huffman table pointer throughout main | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 unsigned Huffman symbols readonly throughout main | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC and AC readonly table input lifetimes separated by decoding scopes | objdiff 98.68841; 276/276 instructions; structural/exact (12, 65); first (33, ('lwz', 'r26, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC sign extension power declared within DC phase | objdiff 99.06884; 276/276 instructions; structural/exact (12, 48); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC bit count consumed directly before shift mask | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 AC helper code relative index separated from running bit code | BUILD FAIL ath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -use_lmw_stmw on -lang=c -MMD -c libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c -o build/43U/src/libs/RVLMiddleware/TMC_JPEG/src/b65 && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.d build/43U/src/libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.d ### mwcceppc.exe Compiler: # File: libs\RVLMiddleware\TMC_JPEG\src\b65\iqdec_b65_frv32.c # -------------------------------------------------------------- # 101: u32 relativeCode = code - entry->bitLength; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
TMCJPEGDEC_decode_iquant | R10 structural phase best (99.141304, 'named relative code before symbol addition'); saved /tmp/fz3-r10-jpeg-best.c if improved; original restored before further diagnosis.
|
||||
SOGetSockName | R10 request field used directly as first memcpy destination | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 original void address argument used as memcpy source | objdiff 96.349205; 63/63 instructions; structural/exact (2, 5); first (5, ('mr', 'r27, r4'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 readonly source alias confined to memcpy expression | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input copy helper source first and destination second | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input copy helper source and length before destination | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input copy helper destination last with signed length | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input copy helper readonly destination owner request | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input length local read before destination derivation | BUILD FAIL -nodefaults -proc gekko -align powerpc -enum int -fp hardware -Cpp_exceptions off -O4,p -inline auto -pragma "cats off" -pragma "warn_notinlined off" -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RevoEX/src/so/SOBasic.c -o build/43U/src/libs/RevoEX/src/so && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RevoEX/src/so/SOBasic.d build/43U/src/libs/RevoEX/src/so/SOBasic.d ### mwcceppc.exe Compiler: # File: libs\RevoEX\src\so\SOBasic.c # ------------------------------------- # 153: u32 length = addr->len; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
SOGetSockName | R10 input length local read after destination derivation | BUILD FAIL -nodefaults -proc gekko -align powerpc -enum int -fp hardware -Cpp_exceptions off -O4,p -inline auto -pragma "cats off" -pragma "warn_notinlined off" -maxerrors 1 -nosyspath -RTTI off -fp_contract on -str reuse -DSDK_IPL -D_REVOLUTION -DMEM_MANAGER_DIRECT -i include -i include/global -i libs/MetroTRK/include -i libs/Runtime/include -i libs/MSL/include -i libs/RVL_SDK/include -i libs/RevoEX/include -i libs/NW4R/include -i libs/RVLMiddleware/eZiText/include -i libs/RVLMiddleware/TMC_JPEG/include -i libs/RVLFaceLib/include -i libs/EGG/include -i libs/OperaWWW/include -ir libs/RVL_SDK/include/private/bte -i build/43U/include -DBUILD_VERSION=0 -DVERSION_43U -i libs/RVL_SDK/include/private/bte -DNDEBUG=1 -DTARGET_RVL -ipa file -fp_contract off -lang=c -MMD -c libs/RevoEX/src/so/SOBasic.c -o build/43U/src/libs/RevoEX/src/so && "/usr/bin/python3" tools/transform_dep.py build/43U/src/libs/RevoEX/src/so/SOBasic.d build/43U/src/libs/RevoEX/src/so/SOBasic.d ### mwcceppc.exe Compiler: # File: libs\RevoEX\src\so\SOBasic.c # ------------------------------------- # 154: u32 length = addr->len; # Error: ^^^ # (10141) expression syntax error # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
SOGetSockName | R10 request initialization occurs after derived reply pointer | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input helper copies source bytes viewed through char pointer | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input helper returns destination with unused memcpy result | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 readonly socket input with corrected allocation declaration order | objdiff 96.349205; 63/63 instructions; structural/exact (2, 5); first (5, ('mr', 'r27, r4'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 immutable readonly socket input with corrected allocation declaration order | objdiff 96.349205; 63/63 instructions; structural/exact (2, 5); first (5, ('mr', 'r27, r4'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 request address formed in first memcpy destination expression | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input pointer local declared after output allocation locals | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input byte length computed before output pointer local within real inner scope | objdiff 98.01588; 63/63 instructions; structural/exact (2, 3); first (5, ('mr', 'r30, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 input byte length uses external declaration with expression assigned before copy | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 reply pointer typed const address owner with mutable output field view | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 confirm scoped input length candidate for register allocation | objdiff 98.01588; 63/63 instructions; structural/exact (2, 3); first (5, ('mr', 'r30, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 input length block begins after socket request store before reply calculation | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input length block begins after reply pointer derivation | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input length declaration precedes allocation but assignment follows socket store | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 inner input readonly view uses shared count after socket store | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
CDBRecordEncrypt | R10 immutable key pointer argument definition | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 immutable record pointer argument definition | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 immutable buffer pointer argument definition | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 readonly record view for file field loads with mutable record API input retained | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 record key parameter read through immutable typed local | objdiff 99.22535; 284/284 instructions; structural/exact (0, 42); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 Wii ID field validation as genuine inline helper boundary | objdiff 98.67958; 285/284 instructions; structural/exact (5, 255); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 Wii ID helper readonly record field input owner | objdiff 98.67958; 285/284 instructions; structural/exact (5, 255); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 Wii ID inline helper preserves explicit result variable and file lifetime | objdiff 99.22535; 284/284 instructions; structural/exact (0, 42); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 Wii ID validation declarations file before error result | objdiff 99.19014; 284/284 instructions; structural/exact (0, 44); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
CDBRecordEncrypt | R10 Wii ID validation result returned through persistent error status | objdiff 99.11972; 284/284 instructions; structural/exact (0, 48); first (8, ('lis', 'r31, 0'), ('lis', 'r25, 0'))
|
||||
TMCJPEGDEC_decode_iquant | R10 volatility proof candidate: target DC at114 stw word to18(r1),118 lhz same18 immediately; AC2e0 stw to10(r1),2e4 lhz same10 immediately. Test decoded aggregate volatile at definition only; keep only if exact code and no added accesses.
|
||||
TMCJPEGDEC_decode_iquant | R10 decoded aggregate volatile at definition with immediate reload proof | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC decoded aggregate volatile only | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 AC decoded aggregate volatile only | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 limit caller receives structure through output argument helper | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 fast entry fields explicitly copied in inline reader | objdiff 94.21377; 286/276 instructions; structural/exact (46, 269); first (0, ('stwu', 'r1, -0x60(r1)'), ('stwu', 'r1, -0x50(r1)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 fast entry output populated through typed pointer helper | objdiff 99.10507; 276/276 instructions; structural/exact (12, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 AC traversal in a distinct inline decoding phase | objdiff 97.1558; 276/276 instructions; structural/exact (5, 122); first (4, ('mr', 'r23, r3'), ('mr', 'r21, r3'))
|
||||
TMCJPEGDEC_decode_iquant | R10 AC phase decoded aggregates volatile with immediate reload proof | objdiff 97.1558; 276/276 instructions; structural/exact (5, 122); first (4, ('mr', 'r23, r3'), ('mr', 'r21, r3'))
|
||||
TMCJPEGDEC_decode_iquant | R10 AC phase relative code addition named before symbol offset | objdiff 97.19203; 276/276 instructions; structural/exact (5, 121); first (4, ('mr', 'r23, r3'), ('mr', 'r21, r3'))
|
||||
TMCJPEGDEC_decode_iquant | R10 AC symbol index is separate from running bit code C90 block | objdiff 99.23189; 276/276 instructions; structural/exact (12, 43); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
SOGetInterfaceOpt | R10 immutable selector arguments level | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 immutable selector arguments option | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 immutable selector arguments level,option | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 saved level local before command pointer declaration | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 saved option local after command pointer declaration | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 option code comparison through unsigned local | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 selectors initialized by typed command setter inline helper | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 selectors input first before output command in setter helper | objdiff 99.78992; 119/119 instructions; structural/exact (0, 5); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
SOGetInterfaceOpt | R10 option selector validity named inline helper with immutable input | objdiff 93.36134; 124/119 instructions; structural/exact (9, 112); first (5, ('mr', 'r25, r4'), ('mr', 'r26, r4'))
|
||||
TMCJPEGDEC_decode_iquant | R10 volatility proof candidate: target DC at114 stw word to18(r1),118 lhz same18 immediately; AC2e0 stw to10(r1),2e4 lhz same10 immediately. Test decoded aggregate volatile at definition only; keep only if exact code and no added accesses.
|
||||
TMCJPEGDEC_decode_iquant | R10 AC phase candidate structural five before declaration search | objdiff 97.19203; 276/276 instructions; structural/exact (5, 121); first (4, ('mr', 'r23, r3'), ('mr', 'r21, r3'))
|
||||
TMCJPEGDEC_decode_iquant | R10 stack-slot diagnosis: six real aggregate objects are allocated dcFast1c/acFast18/DCreturnLimit14/DCcopy10/ACreturnLimitc/ACcopy8. Target six corresponding objects dcFast1c/DCcopy18/DCreturnLimit14/ACcopy10/ACreturnLimitc/acFast8. Test explicit typed result workspaces and ordinary local declaration order; each field is consumed by actual lookup/copy, no extra objects.
|
||||
TMCJPEGDEC_decode_iquant | R10 DC and AC aggregate result workspaces passed to inline decoders | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 aggregate copy destinations definition volatile dcDecoded | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 aggregate copy destinations definition volatile acDecoded | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 aggregate copy destinations definition volatile dcDecoded,acDecoded | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 one typed decoder scratch containing all six actual aggregate copies | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 typed scratch copy destination fields volatile with immediate reload proof | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #1: s32 rm; / int temporary; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #2: int temporary; / s32 rm; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #3: int size; / int temporary; / s32 rm; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #4: int result; / int temporary; / int size; / s32 rm; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #5: InterfaceOption* request; / int temporary; / int size; / int result; / s32 rm; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #6: InterfaceCommand* command; / int temporary; / int size; / int result; / InterfaceOption* request; / s32 rm; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #7: int* returnedLength; / int temporary; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / s32 rm; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #8: u8* reply; / int temporary; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / s32 rm; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #9: s32 rm; / int size; / int temporary; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #10: s32 rm; / int result; / int size; / int temporary; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #11: s32 rm; / InterfaceOption* request; / int size; / int result; / int temporary; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #12: s32 rm; / InterfaceCommand* command; / int size; / int result; / InterfaceOption* request; / int temporary; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #13: s32 rm; / int* returnedLength; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int temporary; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #14: s32 rm; / u8* reply; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / int temporary; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #15: s32 rm; / int temporary; / int result; / int size; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #16: s32 rm; / int temporary; / InterfaceOption* request; / int result; / int size; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #17: s32 rm; / int temporary; / InterfaceCommand* command; / int result; / InterfaceOption* request; / int size; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #18: s32 rm; / int temporary; / int* returnedLength; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int size; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #19: s32 rm; / int temporary; / u8* reply; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / int size; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #20: s32 rm; / int temporary; / int size; / InterfaceOption* request; / int result; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #21: s32 rm; / int temporary; / int size; / InterfaceCommand* command; / InterfaceOption* request; / int result; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #22: s32 rm; / int temporary; / int size; / int* returnedLength; / InterfaceOption* request; / InterfaceCommand* command; / int result; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #23: s32 rm; / int temporary; / int size; / u8* reply; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / int result; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #24: s32 rm; / int temporary; / int size; / int result; / InterfaceCommand* command; / InterfaceOption* request; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #25: s32 rm; / int temporary; / int size; / int result; / int* returnedLength; / InterfaceCommand* command; / InterfaceOption* request; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #26: s32 rm; / int temporary; / int size; / int result; / u8* reply; / InterfaceCommand* command; / int* returnedLength; / InterfaceOption* request; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #27: s32 rm; / int temporary; / int size; / int result; / InterfaceOption* request; / int* returnedLength; / InterfaceCommand* command; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #28: s32 rm; / int temporary; / int size; / int result; / InterfaceOption* request; / u8* reply; / int* returnedLength; / InterfaceCommand* command; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #29: s32 rm; / int temporary; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / u8* reply; / int* returnedLength; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #30: int temporary; / int size; / s32 rm; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #31: int temporary; / int size; / int result; / s32 rm; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #32: int temporary; / int size; / int result; / InterfaceOption* request; / s32 rm; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #33: int temporary; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / s32 rm; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #34: int temporary; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / s32 rm; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #35: int temporary; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; / s32 rm; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #36: s32 rm; / int size; / int result; / int temporary; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #37: s32 rm; / int size; / int result; / InterfaceOption* request; / int temporary; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #38: s32 rm; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int temporary; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #39: s32 rm; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / int temporary; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #40: s32 rm; / int size; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; / int temporary; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #41: int size; / s32 rm; / int temporary; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #42: s32 rm; / int temporary; / int result; / InterfaceOption* request; / int size; / InterfaceCommand* command; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #43: s32 rm; / int temporary; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int size; / int* returnedLength; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #44: s32 rm; / int temporary; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / int size; / u8* reply; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
SOGetInterfaceOpt | R10 initial declsearch evaluated #45: s32 rm; / int temporary; / int result; / InterfaceOption* request; / InterfaceCommand* command; / int* returnedLength; / u8* reply; / int size; | structural/exact (0,5), no improvement; reconstructed evaluated order list from deterministic tool and saved stdout, not a new build.
|
||||
R10 gate behavior correction: gate.py reports CDBRecord pre-existing pool divergence but does not append pool mismatches to its failure reasons; full gate can PASS while incomplete data remains. Never claim CDBRecord complete until pool fixed. Previous assumption that pool forces GATE FAIL was incorrect.
|
||||
TMCJPEGDEC_decode_iquant | R10 stack-slot diagnosis: six real aggregate objects are allocated dcFast1c/acFast18/DCreturnLimit14/DCcopy10/ACreturnLimitc/ACcopy8. Target six corresponding objects dcFast1c/DCcopy18/DCreturnLimit14/ACcopy10/ACreturnLimitc/acFast8. Test explicit typed result workspaces and ordinary local declaration order; each field is consumed by actual lookup/copy, no extra objects.
|
||||
TMCJPEGDEC_decode_iquant | R10 workspace relative code addition temporaries in both long decoders | objdiff 99.184784; 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 workspace AC decoded symbol index separate from running bit code | objdiff 99.27536; 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 workspace zigzag table immutable owner view at actual first use | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 workspace DC and AC table owners declared in respective scopes | objdiff 98.73189; 276/276 instructions; structural/exact (0, 53); first (33, ('lwz', 'r26, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 workspace quantization input typed readonly pointer | objdiff 99.14855; 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 workspace DC bit count input uses separate remaining count temporary | objdiff 99.0942; 276/276 instructions; structural/exact (0, 36); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 workspace GPR phase best structural/exact (0, 31)
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #1: u32 bitData; / u32 code; / u32 length; / const TMCHuffmanEntry* entry; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #2: u32 code; / u32 bitData; / u32 length; / const TMCHuffmanEntry* entry; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #3: u32 length; / u32 code; / u32 bitData; / const TMCHuffmanEntry* entry; | 276/276 instructions; structural/exact (0, 38); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #4: const TMCHuffmanEntry* entry; / u32 code; / u32 length; / u32 bitData; | 276/276 instructions; structural/exact (0, 38); first (42, ('addi', 'r6, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #5: u32 bitData; / u32 length; / u32 code; / const TMCHuffmanEntry* entry; | 276/276 instructions; structural/exact (0, 38); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #6: u32 bitData; / const TMCHuffmanEntry* entry; / u32 length; / u32 code; | 276/276 instructions; structural/exact (0, 35); first (42, ('addi', 'r6, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #7: u32 bitData; / u32 code; / const TMCHuffmanEntry* entry; / u32 length; | 276/276 instructions; structural/exact (0, 34); first (42, ('addi', 'r5, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #8: u32 code; / u32 length; / u32 bitData; / const TMCHuffmanEntry* entry; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #9: u32 code; / u32 length; / const TMCHuffmanEntry* entry; / u32 bitData; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #10: u32 bitData; / u32 length; / const TMCHuffmanEntry* entry; / u32 code; | 276/276 instructions; structural/exact (0, 38); first (42, ('addi', 'r5, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #11: u32 length; / u32 bitData; / u32 code; / const TMCHuffmanEntry* entry; | 276/276 instructions; structural/exact (0, 38); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #12: const TMCHuffmanEntry* entry; / u32 bitData; / u32 code; / u32 length; | 276/276 instructions; structural/exact (0, 38); first (42, ('addi', 'r6, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #13: u32 bitData; / const TMCHuffmanEntry* entry; / u32 code; / u32 length; | 276/276 instructions; structural/exact (0, 38); first (42, ('addi', 'r6, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch complete 13 evaluated permutations; no source change.
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #1: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #2: const TMCHuffmanEntry* ac_fast; / u8* huff_sym; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r28, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #3: s32 idx; / const TMCHuffmanEntry* ac_fast; / u8* huff_sym; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 48); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #4: u32* huff_tbl; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u8* huff_sym; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #5: s32 bit_pos; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / u8* huff_sym; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #6: u32 bit_data; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u8* huff_sym; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #7: u32 tmp; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u8* huff_sym; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 37); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #8: s32 r; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / u8* huff_sym; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #9: s32 blk0; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / u8* huff_sym; | 276/276 instructions; structural/exact (0, 35); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #10: u8* huff_sym; / s32 idx; / const TMCHuffmanEntry* ac_fast; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #11: u8* huff_sym; / u32* huff_tbl; / s32 idx; / const TMCHuffmanEntry* ac_fast; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #12: u8* huff_sym; / s32 bit_pos; / s32 idx; / u32* huff_tbl; / const TMCHuffmanEntry* ac_fast; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #13: u8* huff_sym; / u32 bit_data; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / const TMCHuffmanEntry* ac_fast; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #14: u8* huff_sym; / u32 tmp; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / const TMCHuffmanEntry* ac_fast; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 50); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #15: u8* huff_sym; / s32 r; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / const TMCHuffmanEntry* ac_fast; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #16: u8* huff_sym; / s32 blk0; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / const TMCHuffmanEntry* ac_fast; | 276/276 instructions; structural/exact (0, 48); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #17: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32* huff_tbl; / s32 idx; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #18: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 bit_pos; / u32* huff_tbl; / s32 idx; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #19: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32 bit_data; / u32* huff_tbl; / s32 bit_pos; / s32 idx; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #20: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32 tmp; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / s32 idx; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 35); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #21: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 r; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 idx; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #22: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 blk0; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 idx; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #23: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / s32 bit_pos; / u32* huff_tbl; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #24: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32 bit_data; / s32 bit_pos; / u32* huff_tbl; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #25: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32 tmp; / s32 bit_pos; / u32 bit_data; / u32* huff_tbl; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 35); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #26: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / s32 r; / s32 bit_pos; / u32 bit_data; / u32 tmp; / u32* huff_tbl; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #27: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / s32 blk0; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / u32* huff_tbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #28: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / u32 bit_data; / s32 bit_pos; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #29: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / u32 tmp; / u32 bit_data; / s32 bit_pos; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 35); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #30: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 r; / u32 bit_data; / u32 tmp; / s32 bit_pos; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #31: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 blk0; / u32 bit_data; / u32 tmp; / s32 r; / s32 bit_pos; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #32: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 tmp; / u32 bit_data; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 35); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #33: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / s32 r; / u32 tmp; / u32 bit_data; / s32 blk0; | 276/276 instructions; structural/exact (0, 35); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #34: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / s32 blk0; / u32 tmp; / s32 r; / u32 bit_data; | 276/276 instructions; structural/exact (0, 37); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #35: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / s32 r; / u32 tmp; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #36: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / s32 blk0; / s32 r; / u32 tmp; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #37: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 blk0; / s32 r; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #38: const TMCHuffmanEntry* ac_fast; / s32 idx; / u8* huff_sym; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #39: const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / u8* huff_sym; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #40: const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u8* huff_sym; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #41: const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u8* huff_sym; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #42: const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / u8* huff_sym; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #43: const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / u8* huff_sym; / s32 blk0; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #44: const TMCHuffmanEntry* ac_fast; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; / u8* huff_sym; | 276/276 instructions; structural/exact (0, 33); first (33, ('lwz', 'r27, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #45: u8* huff_sym; / s32 idx; / u32* huff_tbl; / const TMCHuffmanEntry* ac_fast; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #46: u8* huff_sym; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / const TMCHuffmanEntry* ac_fast; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #47: u8* huff_sym; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / const TMCHuffmanEntry* ac_fast; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #48: u8* huff_sym; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / const TMCHuffmanEntry* ac_fast; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #49: u8* huff_sym; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / const TMCHuffmanEntry* ac_fast; / s32 blk0; | 276/276 instructions; structural/exact (0, 46); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #50: u8* huff_sym; / s32 idx; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; / const TMCHuffmanEntry* ac_fast; | 276/276 instructions; structural/exact (0, 48); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #51: s32 idx; / u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 48); first (33, ('lwz', 'r28, 0x4a0(r23)'), ('lwz', 'r29, 0x4a0(r23)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #52: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32* huff_tbl; / s32 bit_pos; / s32 idx; / u32 bit_data; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #53: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / s32 idx; / u32 tmp; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #54: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 idx; / s32 r; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #55: u8* huff_sym; / const TMCHuffmanEntry* ac_fast; / u32* huff_tbl; / s32 bit_pos; / u32 bit_data; / u32 tmp; / s32 r; / s32 idx; / s32 blk0; | 276/276 instructions; structural/exact (0, 31); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch complete 55 evaluated permutations; no source change.
|
||||
TMCJPEGDEC_decode_iquant | R10 both Huffman relative indices independent of running code | objdiff 99.31159; 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 both indices plus named limit and symbol scalar loads before aggregate writes | objdiff 99.31159; 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 limit and symbol readonly scalar inputs into aggregate helper | objdiff 99.31159; 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC and AC limit-copy pairs grouped as typed decode result objects | objdiff 99.26811; 276/276 instructions; structural/exact (12, 40); first (26, ('sth', 'r0, 0xc(r1)'), ('sth', 'r0, 0x1c(r1)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 typed results limit scalar inputs named before stores | objdiff 99.26811; 276/276 instructions; structural/exact (12, 40); first (26, ('sth', 'r0, 0xc(r1)'), ('sth', 'r0, 0x1c(r1)'))
|
||||
TMCJPEGDEC_decode_iquant | R10 DC value bit count and bit data scoped to decoded coefficient | objdiff 99.25725; 276/276 instructions; structural/exact (0, 32); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 final representation phase best (0, 30)
|
||||
SOBasic | R10 extent proof: soSocketRegistered at .sbss:81698E60 is source static int (ELF size4); target SOSocket lwz28/stw40 both relocate only offset0 of this scalar; next sslRegistered81698E68. Correct extent8->4 leaving81698E64..67 unowned alignment; address and .sbss section/split size8 unchanged. No function extent changes or symbol renames.
|
||||
R10 owned data audit: tiString288/288 and tiSignWindow3468/3468 already exact; SOOption and JPEG no owned data; CDBRecord actual missing literal bytes19/47, not a proven object-name mismatch, retain all extents/names; SOBasic sole gap proven scalar alignment extent corrected above.
|
||||
R10 retained state gate quick all six units: GATE PASS; DOL26116613f624061ba99c8d1a299aaa6efa85670d; regressions0/forbidden0/readability0. SOBasic .sbss100,data136->144; SOGetSockName eleven->three differing instructions (96.666664%); JPEG structural12->0,46->30 differing instructions (99.31159%). Instruction-exact counts unchanged, no new match claimed. All six actual Huffman aggregate fields mirror target load/store slots, no padding or retained volatility.
|
||||
inputChar | R10 further structural trial: mode3 is literal conversion stub of the original Hangul stream, not a Hangul character-range test; target dead newline cmpl at7dc then indexed append count6. Previous R9 u32 reference used const character reference, u16 reference used value character, leaving alias/type alternatives unresolved. Try real count resets and append with signed/unsigned32 index and value/readonly input; retain only correct behavior, no empty newline helper.
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset u32 reference with wchar_t input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset u32 pointer with wchar_t input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset u32 reference with const wchar_t& input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset u32 pointer with const wchar_t& input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset s32 reference with wchar_t input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset s32 pointer with wchar_t input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset s32 reference with const wchar_t& input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal newline count reset s32 pointer with const wchar_t& input | objdiff 93.60294; 135/136 instructions; structural/exact (15, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 readonly old cursor input and mutable new cursor output views | objdiff 91.06618; 135/136 instructions; structural/exact (17, 62); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar__Q39textinput8tistring9DecolatedFw | R10 literal stream cursor mutable class with by-value character append | objdiff 92.52941; 135/136 instructions; structural/exact (16, 61); first (10, ('beq', '468'), ('beq', '472'))
|
||||
inputChar | R10 state variant phase best (93.60294, 'literal newline count reset u32 reference with wchar_t input'); original restored pending matching proof.
|
||||
SOGetSockName | R10 input address length from readonly scalar accessor u8 | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input address length from readonly scalar accessor u32 | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input address length from readonly scalar accessor size_t | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 reply object derived through typed inline request accessor | objdiff 95.39683; 63/63 instructions; structural/exact (2, 19); first (5, ('mr', 'r29, r3'), ('mr', 'r28, r3'))
|
||||
SOGetSockName | R10 input object bytes through readonly inline source view | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
SOGetSockName | R10 input object representation uses unsigned byte view for copy | objdiff 96.666664; 63/63 instructions; structural/exact (2, 3); first (32, ('mr', 'r3, r28'), ('mr', 'r4, r27'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #1: s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #2: const TMCHuffmanEntry* dc_fast; / s32 q; / const u8* zztbl; / / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #3: const u8* zztbl; / const TMCHuffmanEntry* dc_fast; / s32 q; / / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #4: / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / s32 q; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #5: s32 q; / const u8* zztbl; / const TMCHuffmanEntry* dc_fast; / / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #6: s32 q; / / const u8* zztbl; / const TMCHuffmanEntry* dc_fast; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #7: s32 q; / const TMCHuffmanEntry* dc_fast; / / const u8* zztbl; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #8: s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / bit_pos = work->bitCount; / / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #9: s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; / bit_pos = work->bitCount; / | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #10: s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; / bit_pos = work->bitCount; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #11: const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / s32 q; / / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #12: const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / / s32 q; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #13: s32 q; / const u8* zztbl; / / const TMCHuffmanEntry* dc_fast; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #14: const u8* zztbl; / s32 q; / const TMCHuffmanEntry* dc_fast; / / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #15: / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #16: s32 q; / / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #17: s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / bit_pos = work->bitCount; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; / | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #18: s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / dc_fast = (const TMCHuffmanEntry*)work->pDCFast; / / bit_pos = work->bitCount; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch complete 18 evaluated permutations; no source change.
|
||||
R10 JPEG final declaration range correction: initially selected132..137, which accidentally included two following statements; discarded all candidate changes and restored accepted commit source before rerunning correct declaration-only129..134. No candidate from mistaken range retained or counted toward structural matching.
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #1: s32 extra; / s32 t; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #2: s32 t; / s32 extra; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #3: s32 zz; / s32 t; / s32 extra; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #4: s32 q; / s32 t; / s32 zz; / s32 extra; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #5: const TMCHuffmanEntry* dc_fast; / s32 t; / s32 zz; / s32 q; / s32 extra; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #6: const u8* zztbl; / s32 t; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / s32 extra; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #7: s32 extra; / s32 zz; / s32 t; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #8: s32 extra; / s32 q; / s32 zz; / s32 t; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #9: s32 extra; / const TMCHuffmanEntry* dc_fast; / s32 zz; / s32 q; / s32 t; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #10: s32 extra; / const u8* zztbl; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / s32 t; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #11: s32 extra; / s32 t; / s32 q; / s32 zz; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #12: s32 extra; / s32 t; / const TMCHuffmanEntry* dc_fast; / s32 q; / s32 zz; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #13: s32 extra; / s32 t; / const u8* zztbl; / s32 q; / const TMCHuffmanEntry* dc_fast; / s32 zz; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #14: s32 extra; / s32 t; / s32 zz; / const TMCHuffmanEntry* dc_fast; / s32 q; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #15: s32 extra; / s32 t; / s32 zz; / const u8* zztbl; / const TMCHuffmanEntry* dc_fast; / s32 q; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #16: s32 extra; / s32 t; / s32 zz; / s32 q; / const u8* zztbl; / const TMCHuffmanEntry* dc_fast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #17: s32 t; / s32 zz; / s32 extra; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #18: s32 t; / s32 zz; / s32 q; / s32 extra; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #19: s32 t; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / s32 extra; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #20: s32 t; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / s32 extra; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #21: s32 extra; / s32 zz; / s32 q; / s32 t; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #22: s32 extra; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / s32 t; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #23: s32 extra; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / s32 t; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #24: s32 zz; / s32 extra; / s32 t; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #25: s32 extra; / s32 t; / s32 q; / const TMCHuffmanEntry* dc_fast; / s32 zz; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #26: s32 extra; / s32 t; / s32 q; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / s32 zz; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #27: s32 q; / s32 extra; / s32 t; / s32 zz; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #28: s32 extra; / s32 q; / s32 t; / s32 zz; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #29: s32 extra; / s32 t; / s32 zz; / const TMCHuffmanEntry* dc_fast; / const u8* zztbl; / s32 q; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #30: const TMCHuffmanEntry* dc_fast; / s32 extra; / s32 t; / s32 zz; / s32 q; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #31: s32 extra; / const TMCHuffmanEntry* dc_fast; / s32 t; / s32 zz; / s32 q; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #32: s32 extra; / s32 t; / const TMCHuffmanEntry* dc_fast; / s32 zz; / s32 q; / const u8* zztbl; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #33: const u8* zztbl; / s32 extra; / s32 t; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #34: s32 extra; / const u8* zztbl; / s32 t; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; | 276/276 instructions; structural/exact (0, 33); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #35: s32 extra; / s32 t; / const u8* zztbl; / s32 zz; / s32 q; / const TMCHuffmanEntry* dc_fast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch #36: s32 extra; / s32 t; / s32 zz; / const u8* zztbl; / s32 q; / const TMCHuffmanEntry* dc_fast; | 276/276 instructions; structural/exact (0, 30); first (42, ('addi', 'r4, r25, 0x24'), ('addi', 'r7, r25, 0x24'))
|
||||
TMCJPEGDEC_decode_iquant | R10 declsearch complete 36 evaluated permutations; no source change.
|
||||
R10 final open audit | create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator | 99.86425% | 6 compiled distinct source-level attempts plus logged declaration permutations | six animation-count/slot registers, identical221/frame50
|
||||
R10 final open audit | inputChar__Q39textinput8tistring9DecolatedFw | 90.132355% | 14 compiled distinct source-level attempts plus logged declaration permutations | literal converter helper boundary, indexed cursor and dead newline compare,125/136
|
||||
R10 final open audit | CDBCryptBuffer | 99.97479% | 3 compiled distinct source-level attempts plus logged declaration permutations | three OSReport literal offsets caused by missing earlier28literals;119/119otherwise
|
||||
R10 final open audit | CDBRecordEncrypt | 99.19014% | 16 compiled distinct source-level attempts plus logged declaration permutations | 44GPR operands,284/284alignedframe400 exact; metadata origin unresolved
|
||||
R10 final open audit | SOGetSockName | 96.666664% | 35 compiled distinct source-level attempts plus logged declaration permutations | first memcpy three argument setup instructions rotate;63/63otherwise exact; data144/144 nowexact
|
||||
R10 final open audit | SOGetInterfaceOpt | 99.78992% | 14 compiled distinct source-level attempts plus logged declaration permutations | five parameter allocation operands, identical119/frame30
|
||||
R10 final open audit | TMCJPEGDEC_decode_iquant | 99.31159% | 50 compiled distinct source-level attempts plus logged declaration permutations | 30GPR operands,276/276frame50andallaggregatecopyaddresses nowexact
|
||||
R10 completion boundary: zero new exact functions; eight matched data bytes recovered by verified SOBasic extent correction. Every seven remaining functions has >=3 compiled source attempts; all rejected variants restored. Remaining CDBRecord literal provenance (retained APIs linker-stripped or extraction grouping) is still an inference, not proved; no speculative strings/functions/renames added. Final clean gate all six units follows.
|
||||
|
||||
### R10 final clean full gate, all six owned units
|
||||
```
|
||||
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
|
||||
[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.9833 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.9833
|
||||
[src/keyboard/tiSignWindow] below 100: create__Q49textinput8keyboard10signwindow12LayoutByNW4RFP12MEMAllocator 99.86425
|
||||
[src/keyboard/tiSignWindow] baseline: code 6300/7184 data 3468 functions 55 fuzzy 99.9833
|
||||
[libs/RevoEX/src/cdb/CDBRecord] pool: DIVERGES at string 10 (mine=19 orig=47)
|
||||
[libs/RevoEX/src/cdb/CDBRecord] objdiff: code 5464/7076 data 144/2640 functions 27/29 fuzzy 99.8683 linked code 0
|
||||
[libs/RevoEX/src/cdb/CDBRecord] instruction-exact functions: 27/29
|
||||
[libs/RevoEX/src/cdb/CDBRecord] section .bss size 128 match 100.0
|
||||
[libs/RevoEX/src/cdb/CDBRecord] section .data size 2496 match 52.795387
|
||||
[libs/RevoEX/src/cdb/CDBRecord] section .rodata size 16 match 100.0
|
||||
[libs/RevoEX/src/cdb/CDBRecord] section .text size 7076 match 99.868286
|
||||
[libs/RevoEX/src/cdb/CDBRecord] below 100: CDBCryptBuffer 99.97479
|
||||
[libs/RevoEX/src/cdb/CDBRecord] below 100: CDBRecordEncrypt 99.19014
|
||||
[libs/RevoEX/src/cdb/CDBRecord] baseline: code 5464/7076 data 144 functions 27 fuzzy 99.8683
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] objdiff: code None/1104 data None/None functions 0/1 fuzzy 99.3116 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] instruction-exact functions: 0/1
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] section .text size 1104 match 99.31159
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] below 100: TMCJPEGDEC_decode_iquant 99.31159
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32] baseline: code None/1104 data None functions 0 fuzzy 99.1051
|
||||
[libs/RevoEX/src/so/SOBasic] pool: IDENTICAL
|
||||
[libs/RevoEX/src/so/SOBasic] objdiff: code 3836/4088 data 144/144 functions 21/22 fuzzy 99.7945 linked code 0
|
||||
[libs/RevoEX/src/so/SOBasic] instruction-exact functions: 21/22
|
||||
[libs/RevoEX/src/so/SOBasic] section .bss size 40 match 100.0
|
||||
[libs/RevoEX/src/so/SOBasic] section .data size 88 match 100.0
|
||||
[libs/RevoEX/src/so/SOBasic] section .sbss size 8 match 100.0
|
||||
[libs/RevoEX/src/so/SOBasic] section .sdata size 8 match 100.0
|
||||
[libs/RevoEX/src/so/SOBasic] section .text size 4088 match 99.79452
|
||||
[libs/RevoEX/src/so/SOBasic] below 100: SOGetSockName 96.666664
|
||||
[libs/RevoEX/src/so/SOBasic] baseline: code 3836/4088 data 136 functions 21 fuzzy 99.7505
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.37653 -> 90.37653
|
||||
global fuzzy_match_percent: 99.55215 -> 99.55229
|
||||
global complete_code_percent: 69.36874 -> 69.36874
|
||||
global matched_data_percent: 99.36508 -> 99.36552
|
||||
forbidden patterns added (net, per file): 0
|
||||
readability warnings (net, per file; must be 0 in the final result): 0
|
||||
note: config touched: config/43U/symbols.txt (orchestrator reviews every config/symbols change)
|
||||
GATE PASS
|
||||
```
|
||||
R10 before -> after (instruction-exact functions, objdiff matched code bytes, objdiff matched data bytes):
|
||||
libs/RevoEX/src/so/SOOption | functions 3/4 -> 3/4 | code 816/1292 -> 816/1292 | data 0/0 -> None/None
|
||||
src/keyboard/tiString | functions 41/42 -> 41/42 | code 4632/5176 -> 4632/5176 | data 288/288 -> 288/288
|
||||
src/keyboard/tiSignWindow | functions 55/56 -> 55/56 | code 6300/7184 -> 6300/7184 | data 3468/3468 -> 3468/3468
|
||||
libs/RevoEX/src/cdb/CDBRecord | functions 27/29 -> 27/29 | code 5464/7076 -> 5464/7076 | data 144/2640 -> 144/2640
|
||||
libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32 | functions 0/1 -> 0/1 | code 0/1104 -> None/1104 | data 0/0 -> None/None
|
||||
libs/RevoEX/src/so/SOBasic | functions 21/22 -> 21/22 | code 3836/4088 -> 3836/4088 | data 136/144 -> 144/144
|
||||
R10 final scope: changed only config/43U/symbols.txt, libs/RevoEX/src/so/SOBasic.c, libs/RVLMiddleware/TMC_JPEG/src/b65/iqdec_b65_frv32.c and this attempts log; commit64e181a4 carries verified data/structural improvements. No new exact code function; no linked flags changed. Seven remaining functions all logged with >=3 compiled attempts and first-difference diagnoses; all rejects restored. CDBRecord pool provenance remains uncertain. Full gate PASS is a regression/build/hash result, not full unit completion.
|
||||
|
||||
File diff suppressed because one or more lines are too long
99
tools/decomp-assist/linkgap-audio.attempts.md
Normal file
99
tools/decomp-assist/linkgap-audio.attempts.md
Normal file
@@ -0,0 +1,99 @@
|
||||
# linkgap-audio: eggAudioExpMgr — Equivalent-but-unlinkable analysis
|
||||
|
||||
Branch: agent/w1005/linkgap-audio. Unit stays **Equivalent**.
|
||||
|
||||
## Status
|
||||
|
||||
Per-symbol match is complete: all 8 .text fns + the 0x78 vtable match orig
|
||||
(fuzzy 100.0 code+data, every fn individually 100). The .o emit set now
|
||||
matches orig's exactly (see gates below).
|
||||
|
||||
**Remaining linker-visible diff: secondary-vt thunk emit order.**
|
||||
|
||||
- orig `.text` tail: `[@52@__dt__SimpleAudioMgrWithFx @+1fc][@52@calc__SimpleAudioMgr @+204]`
|
||||
- mine: `[@52@calc @+1fc][@52@__dt__ @+204]` (swapped)
|
||||
|
||||
Both thunks are byte-identical bodies, so objdiff fn-level fuzzy is 100 for
|
||||
each — but the .o's symbol order carries into the linked DOL, so flipping
|
||||
Matching fails the DOL hash. This is the *only* blocker.
|
||||
|
||||
## Emit-set gates (kept)
|
||||
|
||||
`EGG_AUDIO_EXPMGR_NO_INLINE_VIRTUALS` is defined at the top of
|
||||
eggAudioExpMgr.cpp and gates these headers (TU-local: other TUs are
|
||||
unaffected since the macro is only defined in this .cpp):
|
||||
|
||||
- `libs/EGG/include/egg/core/eggAudioArcPlayerMgr.h` — 9 ArcPlayer virtuals
|
||||
(openArchive/openDvd/openNand/setupMemory/close/loadGroup/startSound/
|
||||
prepareSound/holdSound families) -> non-inline decls for this TU.
|
||||
- `libs/EGG/include/egg/core/eggAudioHeapMgr.h` — SoundHeapMgr
|
||||
`loadState`/`getCurrentLevel` -> decls.
|
||||
- `libs/NW4R/include/nw4r/ut/Lock.h` — `detail::AutoLock<OSMutex>` ct/dt ->
|
||||
decls.
|
||||
|
||||
Without the gates MWCC weak-emits 10 extra inline fns (ArcPlayer
|
||||
hold/prepare/startSound x9 + NonCopyable/AutoLock/SoundHeap helpers) that
|
||||
orig's .o does not contain. With gates the emit set is byte-for-byte orig:
|
||||
same 8 .text syms at the same offsets/sizes + `__vt__` at .data+0x0/0x78.
|
||||
|
||||
Residual cosmetic diff (does not affect the link): orig's
|
||||
`__ct__AudioFxMgrArg` and `SaveState` are STB_GLOBAL; mine STB_WEAK.
|
||||
Both dedup/resolve identically at link.
|
||||
|
||||
## Thunk-order mechanism (decoded)
|
||||
|
||||
Surveyed every orig .o with >=2 `@N@` adjustor thunks; my compiler
|
||||
reproduces orig's order in ALL of them (iplSound, iplGCWindow,
|
||||
iplMemoryCard, MyTiBg, tiCellPhone, iplBoard, ...) EXCEPT this unit.
|
||||
|
||||
Best-fit model for orig's ordering: thunks emit in the order the
|
||||
*overriding virtuals are declared in the most-derived class*, with
|
||||
thunks for inherited overrides emitted after the class's own declared
|
||||
virtuals:
|
||||
|
||||
- SimpleAudioMgrWithFx declares `[~dtor, initialize]` -> own dtor thunk
|
||||
first, then the inherited `SimpleAudioMgr::calc` thunk -> [dt][calc] = orig
|
||||
- ipl::snd::System declares `calc` before `~System` -> [calc][dt] = orig
|
||||
- iplMemoryCard `[onTrig,onLeft,onPoint,~dt]` -> that order = orig
|
||||
(NOT .text def order, which is [onPoint,onLeft,onTrig])
|
||||
- tiCellPhone `[~dt,updateInput,calc,draw,init]` = orig
|
||||
|
||||
My build instead emits thunks in *reverse secondary-vt slot order*
|
||||
(the .rela.data stream is written backward — observable on every unit;
|
||||
extraction .os sort relocs so orig's real write order is unknowable).
|
||||
The two orders coincide for every surveyed unit except this one — it is
|
||||
the only unit where a derived-declared dtor and an ancestor-declared
|
||||
override (`SimpleAudioMgr::calc`, declared in the base) disagree.
|
||||
|
||||
## What flips it (and why it was vetoed)
|
||||
|
||||
Adding ANY second polymorphic class whose vt is built in this TU and
|
||||
*shares* the secondary base flips the pair to orig's [dt][calc]:
|
||||
verified with `class Sample : public SimpleAudioMgrWithFx` (emit
|
||||
`[dt_WithFx][calc][dt_Sample]` — the parent's set comes out in forward
|
||||
slot order once WithFx's vt is built as a parent). An unrelated
|
||||
polymorphic class (no shared base) does NOT flip it; a declared-but-
|
||||
never-defined derived class does NOT flip it (vt never built).
|
||||
|
||||
Mechanistically: orig's TU very likely caused WithFx's vt to be built
|
||||
*as a parent* (a second derived class whose vt anchored elsewhere —
|
||||
e.g. EGG's real `ipl::snd::System`-style class compiled in another TU
|
||||
is the only known retail derivee), which emits the parent's thunks in
|
||||
forward slot order. Any such class is invented here -> owner veto
|
||||
(not in retail symbols). Orig's .o emits exactly one vtable, so no
|
||||
second polymorphic class was ODR-emitted in the real TU either — the
|
||||
trigger lived in code we cannot see (or is a compiler-version artifact).
|
||||
|
||||
## Tried and rejected (all still [calc][dt])
|
||||
|
||||
- dtor declared after `initialize` in the class decl
|
||||
- dtor DEFINITION moved before/after ctor in the .cpp
|
||||
- unrelated polymorphic class (no shared secondary base)
|
||||
- derived class declared but never defined (no vt build)
|
||||
|
||||
## What would close it
|
||||
|
||||
A legitimate source construct that causes a second vt-build sharing
|
||||
the ArcPlayer secondary vtable in this TU, or a linker-level symbol
|
||||
ordering mechanism (none exists: symbols.txt is label-only, linker lays
|
||||
out .text in .o symbol order). Until then: Equivalent.
|
||||
57
tools/decomp-assist/mslmisc.attempts.md
Normal file
57
tools/decomp-assist/mslmisc.attempts.md
Normal 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.
|
||||
31
tools/decomp-assist/wad.attempts.md
Normal file
31
tools/decomp-assist/wad.attempts.md
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
## WADBackupEx decode (this leaf session)
|
||||
- file_done region: orig CFG has inner `goto file_done` edges landing PAST a `flags[2]==1`
|
||||
check (goto-specialized entries). Faithful source = label inside the flags-if:
|
||||
`if (hdr->flags[2]==1) { file_done: if (fileOpened) NANDClose(&savedFile); }`.
|
||||
Orig folds the outer if to a dead lbz+cmplwi fossil (no bne) via edge-prop that
|
||||
fileOpened==0 on the flags!=1 path; our MWCC emits the bne (+4B).
|
||||
- result=0 at file-loop head: orig keeps ZERO in dedicated callee reg (r31);
|
||||
ours spills an extra zero to stack slot (extra stw+lwz). keep-vs-remat wall.
|
||||
- Several base+offset addi folds (0x340+8 vs 0x348 etc.) = documented fold family.
|
||||
- GetBlocks vestigial NULL ptr locals + conditional frees = orig-faithful decode (solved).
|
||||
- DVDExForBS `if (header.contentSize != 0)` dead-check fossil = conditional-assign
|
||||
overwritten by later unconditional assign (solved).
|
||||
|
||||
## WADBackupEx decode round 2 (fossil + ptr web)
|
||||
- Dead-compare fossil SOLVED: `if (A) { X = v; } ... X = v;` — conditional assign whose
|
||||
store is killed by a later unconditional assign → MWCC keeps lbz+cmplwi, drops bne.
|
||||
Applied: `if (flags[2]==1) { fileFd = -1; } if (fileOpened) NANDClose; fileFd = -1;`
|
||||
reproduces orig's exact `lbz;cmplwi;lwz;cmpwi;beq` sequence (-8B wall gone).
|
||||
- file_done label placement: label sits BEFORE the flags-if (inner gotos land past it,
|
||||
outer bne/beq edges land on it) — `file_done:` above the fossil if.
|
||||
- result=0 redundant-store dedup inside `if (path==0)` arm: orig omits it (already 0).
|
||||
- &headerBlock member-address chains: orig emits `addi r3,r1,0x340; addi r3,r3,+off`
|
||||
(remat base + member offset) for deviceId/cidx/deviceMac args. Best source form =
|
||||
`WADBackupHeader* headerBlockHeader = &headerBlock.header` used for the three
|
||||
member args → `addi r3,r18,+off` (structurally right; r18-kept vs orig remat =
|
||||
keep-vs-remat wall). `(&x)->y` and `x.y` fold to absolute; per-site ptr assigns
|
||||
fold remat+offset — all worse.
|
||||
- Remaining diffs (all documented keep-vs-remat/web-coloring): `li 0;stw` vs `li;mr`
|
||||
for result head store, `addi r1,0x340` remats vs r18/mr, stw 0x814/lwz 0x80c spill
|
||||
webs, `li -1` fileFd slot, addi+0x80 loop-IV position, `addi r1,0x3c0` remat order.
|
||||
Reference in New Issue
Block a user