Compare commits
16 Commits
ci/readme-
...
agent/w100
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50c607f457 | ||
|
|
d5133925f4 | ||
|
|
f26eeb4527 | ||
|
|
559687ce69 | ||
|
|
ff90063ef9 | ||
|
|
c1183780c2 | ||
|
|
2050ad7616 | ||
|
|
9077ef8c7a | ||
|
|
bc303bc36e | ||
|
|
5518cb16fd | ||
|
|
0c06b01c8d | ||
|
|
adc15fdf6f | ||
|
|
dea64a8c9c | ||
|
|
3cde45682d | ||
|
|
ae7cf34cab | ||
|
|
91cc177cb7 |
@@ -53,9 +53,9 @@ Progress
|
||||
<!-- progress:start -->
|
||||
| Decompiled | Matched | Linked | Data |
|
||||
|:---:|:---:|:---:|:---:|
|
||||
| 99.55% | 90.33% | 69.37% | 99.37% |
|
||||
| 99.57% | 90.47% | 70.31% | 99.37% |
|
||||
|
||||
units 950/1027 complete, functions 12343/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 -->
|
||||
|
||||
@@ -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
|
||||
@@ -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"]),
|
||||
@@ -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*);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ void LayoutByNW4R::create(MEMAllocator* allocator) {
|
||||
const char* forceName;
|
||||
u32 animationCount;
|
||||
u32 paneIndex = 0;
|
||||
do {
|
||||
for (; paneIndex < 25; ++paneIndex) {
|
||||
AnmPane* pane = NULL;
|
||||
const PaneAnimation& paneInfo = csPaneToAnimationInSign[paneIndex & 0xFFFF];
|
||||
switch (paneInfo.type) {
|
||||
@@ -260,8 +260,7 @@ void LayoutByNW4R::create(MEMAllocator* allocator) {
|
||||
}
|
||||
++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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3170,3 +3170,415 @@ CheckMsgBoxSpace 85.57399%: unrolled base64 size arithmetic dependency schedule;
|
||||
WriteMIMEAttachHeader 99.61957%: type/disposition measurement coloring and sum coalescing; 5 operands differ.
|
||||
Zi8PrepareMatch 96.319145%: original component-presence dead stores plus unoptimized expression scheduling; 939/940 instructions.
|
||||
Uncertainty: the gate reports fewer instruction-exact functions than raw-byte equality in JPEG because of CR1 normalization. Keyboard's existing 14 instruction-exact versus 15 objdiff exact count is unchanged. No data symbol evidence supports a rename/extent change in these four units.
|
||||
|
||||
# Xhigh continuation fz15f
|
||||
Fresh branch agent/w1002/sol-fz15f-xhigh at 1b942565. Prior five JPEG matches landed. AGENTS.md and unslop read; all four pools identical. Re-examine remaining structures before register search, preserve prior exact functions.
|
||||
libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8 baseline {'fuzzy_match_percent': 99.527466, 'total_code': '15948', 'matched_code': '13264', 'matched_code_percent': 83.1703, 'matched_data_percent': 100.0, 'total_functions': 13, 'matched_functions': 11, 'matched_functions_percent': 84.61539, 'complete_data_percent': 100.0, 'total_units': 1}
|
||||
Origin open TMCJPEGDEC_set_converterY8U8V8: 92.78571%, body unchanged
|
||||
Origin open TMCJPEG_814F0A58: 99.01053%, body unchanged
|
||||
libs/RVL_SDK/src/kbd/kbd_lib baseline {'fuzzy_match_percent': 97.70437, 'total_code': '5764', 'matched_code': '3088', 'matched_code_percent': 53.573906, 'total_data': '5296', 'matched_data': '5296', 'matched_data_percent': 100.0, 'total_functions': 21, 'matched_functions': 15, 'matched_functions_percent': 71.42857, 'total_units': 1}
|
||||
Origin open kbdEventHandler: 99.83871%, body unchanged
|
||||
Origin open kbdProcMod: 99.90234%, body unchanged
|
||||
Origin open kbd_led_handler: 64.12%, body unchanged
|
||||
Origin open KBDSetLedsAsync: 86.234566%, body unchanged
|
||||
Origin open KBDSetLeds: 84.6076%, body unchanged
|
||||
Origin open KBDSetModState: 99.40476%, body unchanged
|
||||
libs/RevoEX/src/nwc24/NWC24MsgCommit baseline {'fuzzy_match_percent': 98.47539, 'total_code': '8532', 'matched_code': '7272', 'matched_code_percent': 85.23207, 'total_data': '904', 'matched_data': '904', 'matched_data_percent': 100.0, 'total_functions': 18, 'matched_functions': 16, 'matched_functions_percent': 88.88889, 'total_units': 1}
|
||||
Origin open CheckMsgBoxSpace: 85.57399%, body unchanged
|
||||
Origin open WriteMIMEAttachHeader: 99.61957%, body unchanged
|
||||
libs/RVLMiddleware/eZiText/src/clib/zprepare baseline {'fuzzy_match_percent': 96.319145, 'total_code': '3760', 'total_data': '68', 'matched_data': '8', 'matched_data_percent': 11.764706, 'total_functions': 1, 'total_units': 1}
|
||||
Origin open Zi8PrepareMatch: 96.319145%, body unchanged
|
||||
|
||||
## fz15f TMCJPEGDEC_set_converterY8U8V8 structure
|
||||
Frame 0x10, 195/196 instructions. First missing target instruction 1 computes convBuf base into r4, source folds its immediate into per-case work member addresses. No adjacent stack store/reload evidence for volatile. Extent ends at next function 814EFEAC, no overlap. Test aliased row ownership and buffer layout helper boundaries.
|
||||
|
||||
## Xhigh TMCJPEGDEC_set_converterY8U8V8: fz15f row and array alias structure
|
||||
- TMCJPEGDEC_set_converterY8U8V8: baseline: structural/exact (41, 195) instructions 195/196
|
||||
- TMCJPEGDEC_set_converterY8U8V8: row pointer array view aliases the configured outputs: structural/exact (41, 195) instructions 195/196
|
||||
- TMCJPEGDEC_set_converterY8U8V8: buffer byte offsets passed through planar row helper: structural/exact (41, 195) instructions 195/196
|
||||
- TMCJPEGDEC_set_converterY8U8V8: complete converter buffer viewed as array object: structural/exact (41, 195) instructions 195/196
|
||||
|
||||
## fz15f TMCJPEG_814F0A58 structure
|
||||
Frame 0x60, 475/475 instructions. First real difference 266 is chroma tile-width/column pair, removed by shared tileWidth and xEnd lifetime in prior round. Remaining first real difference 274 computes chroma row stride into r10 versus target r6. Source has an explicit chromaRowSkip and Cr recomputes the stride; target consumes the width register for padding. Remove that explicit temporary before more register search. No volatile reload evidence.
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f implicit stride and independent dimension lifetimes
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (0, 77) instructions 475/475
|
||||
- TMCJPEG_814F0A58: implicit padding expression, shared tile width and bound: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: implicit padding expression with original phase locals: structural/exact (2, 20) instructions 475/475
|
||||
- TMCJPEG_814F0A58: independent chroma sample width with shared tile and bound: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: sample row traversal through inline helper: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## fz15f TMCJPEG_814F0A58 two-instruction schedule
|
||||
Removing explicit chromaRowSkip, while sharing tileWidth/xEnd, resolves all register differences. Remaining real instructions 274/275 exchange subfic r6,r6,8 and rlwinm r0,r26,0,0,0, the latter compiler-generated signed-bound check. Score (2,2), 475/475; four additional ctxdiff differences are known CR1 normalization artifacts. Test source stride scope, definition qualifier and loop initialization before further register work.
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f stride definition and loop boundary
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: stride definition const: structural/exact (21, 220) instructions 475/475
|
||||
- TMCJPEG_814F0A58: stride definition scoped: structural/exact (21, 220) instructions 475/475
|
||||
- TMCJPEG_814F0A58: stride definition init: structural/exact (21, 140) instructions 475/475
|
||||
- TMCJPEG_814F0A58: stride definition consume: structural/exact (21, 126) instructions 475/475
|
||||
- TMCJPEG_814F0A58: stride definition aggregate: structural/exact (6, 12) instructions 475/475
|
||||
- TMCJPEG_814F0A58: chroma outer while loop with implicit padding: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: chroma inner loop increments in store expression: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f shared source-plane stride and arithmetic trees
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row stride ownership phases: structural/exact (29, 225) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row stride ownership row: structural/exact (21, 125) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row stride ownership negative: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row stride ownership ptrfirst: structural/exact (7, 201) instructions 476/475
|
||||
- TMCJPEG_814F0A58: row stride ownership namedcb: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row stride ownership unsigned: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f loop postexpression and dependency schedule
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row input advances in outer loop postexpression: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: chroma tile metadata before sample dimensions: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## fz15f KBDSetModState and kbdProcMod structure
|
||||
Setter frame 0x10, 42/42 instructions; inlined caller frame 0x20, 256/256 instructions. First differing setter instruction 30 and caller 245 forms state field address into r5 versus target r4, then word value occupies opposite register. No adjacent store/reload pairs in any of the six open keyboard functions; volatile lever unsupported except SDK LED fields. Test field-pointer ownership and actual modifier union field layout.
|
||||
- TMCJPEG_814F0A58: vertical bound before horizontal bound in chroma preheader: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## Xhigh KBDSetModState: fz15f field pointer and union object ownership
|
||||
- KBDSetModState: baseline: structural/exact (0, 4) instructions 42/42
|
||||
- TMCJPEG_814F0A58: independent input pointer advances reverse source order: structural/exact (2, 4) instructions 475/475
|
||||
- KBDSetModState: named pointer to modifier field owns load/store address: structural/exact (0, 7) instructions 42/42
|
||||
- KBDSetModState: state field load/store in inline lock updater: structural/exact (0, 4) instructions 42/42
|
||||
- KBDSetModState: modifier union is the channel field type: structural/exact (13, 24) instructions 44/42
|
||||
|
||||
## Xhigh kbdProcMod: fz15f field pointer and union object ownership
|
||||
- kbdProcMod: baseline: structural/exact (0, 4) instructions 256/256
|
||||
- kbdProcMod: named pointer to modifier field owns load/store address: structural/exact (15, 47) instructions 253/256
|
||||
- kbdProcMod: state field load/store in inline lock updater: structural/exact (0, 4) instructions 256/256
|
||||
- kbdProcMod: modifier union is the channel field type: structural/exact (56, 86) instructions 255/256
|
||||
Corrected union-field trial to read the channel physical bitfield directly rather than assigning a partial local word. The discarded partial-word version was never promoted; no undefined value is retained or used in the corrected trial.
|
||||
|
||||
## Xhigh KBDSetModState: fz15f initialized bitfield ownership
|
||||
- KBDSetModState: baseline: structural/exact (0, 4) instructions 42/42
|
||||
- KBDSetModState: typed channel modifier field with direct physical read: structural/exact (0, 7) instructions 42/42
|
||||
|
||||
## Xhigh kbdProcMod: fz15f initialized bitfield ownership
|
||||
- kbdProcMod: baseline: structural/exact (0, 4) instructions 256/256
|
||||
- kbdProcMod: typed channel modifier field with direct physical read: structural/exact (15, 47) instructions 253/256
|
||||
|
||||
## fz15f kbdEventHandler structure
|
||||
Frame 0x20, 186/186 instructions. First difference 35 loads report error code into r3 versus target r5; source then owns channel table base in r30 versus target r3 before computing result r30. All subsequent instructions identical. No store/reload volatile evidence. Test report error switch and partial handler inline boundary.
|
||||
|
||||
## Xhigh kbdEventHandler: fz15f error report discrimination and helper boundary
|
||||
- kbdEventHandler: baseline: structural/exact (0, 5) instructions 186/186
|
||||
- kbdEventHandler: error statuses use direct switch discrimination: structural/exact (8, 153) instructions 187/186
|
||||
- kbdEventHandler: error statuses use biased switch discrimination: structural/exact (6, 151) instructions 189/186
|
||||
- kbdEventHandler: error classification and flags handled in inline helper: structural/exact (8, 132) instructions 190/186
|
||||
|
||||
## fz15f Zi8PrepareMatch structure
|
||||
Target frame 0x70, 939/940 instructions. First instruction difference 11 initializes contextMask in r3 versus target r0. Target dead component-presence stores to 0xf have no read; no dummy field added. Definition-volatility evidence: elementCount byte target 0x88 stb r3,0xe then 0x8c lbz r0,0xe; componentIndex pointer 0x15c stw r3,0x38 then 0x160 lwz r5,0x38, repeated at 0x178/0x17c; component pointer 0x1b4 stw r3,0x3c then 0x1b8 lwz r3,0x3c. Test only those proven fields and readable table-entry type.
|
||||
|
||||
## Xhigh Zi8PrepareMatch: fz15f proven volatile definitions and index entry structure
|
||||
- Zi8PrepareMatch: baseline: structural/exact (36, 889) instructions 939/940
|
||||
- Zi8PrepareMatch: elementCount definition volatile for adjacent target reload: structural/exact (38, 806) instructions 942/940
|
||||
- Zi8PrepareMatch: component pointer field definitions volatile for adjacent target reloads: structural/exact (36, 889) instructions 939/940
|
||||
- Zi8PrepareMatch: component index table represented by low/high byte entry: structural/exact (36, 889) instructions 939/940
|
||||
- Zi8PrepareMatch: component element prefix count uses explicit subtraction: structural/exact (38, 909) instructions 939/940
|
||||
|
||||
## fz15f LED command ownership
|
||||
Target async/sync reserve loop uses u32 index, CTR=12, a byte-offset register incremented 0x20 and lwzx/stwx on command device words. Current sync code uses a record pointer; async uses an existing raw byte cast. Test a readable union of twelve 32-byte command slots and 96 words, preserving object size/address and using words only for device reservation/release. SDK type version is authorized by USBKBDCmdLEDAsync layout and vu32 base.device/vu8 base.ledBits declarations. Callback target is 25 instructions versus source 24 and recomputes callback offset after result selection.
|
||||
|
||||
## Xhigh kbd_led_handler: fz15f command buffer layout and device view
|
||||
- kbd_led_handler: baseline: structural/exact (13, 21) instructions 24/25
|
||||
- kbd_led_handler: typed command word reservation view: structural/exact (13, 21) instructions 24/25
|
||||
- kbd_led_handler: SDK command slots with word reservation view: structural/exact (13, 21) instructions 24/25
|
||||
- kbd_led_handler: word view and true-first result switch: structural/exact (10, 18) instructions 25/25
|
||||
|
||||
## Xhigh KBDSetLedsAsync: fz15f command buffer layout and device view
|
||||
- KBDSetLedsAsync: baseline: structural/exact (14, 70) instructions 80/81
|
||||
- KBDSetLedsAsync: typed command word reservation view: structural/exact (18, 53) instructions 81/81
|
||||
- KBDSetLedsAsync: SDK command slots with word reservation view: structural/exact (18, 53) instructions 81/81
|
||||
- KBDSetLedsAsync: readonly channel view with word reservation loop: structural/exact (19, 74) instructions 77/81
|
||||
|
||||
## Xhigh KBDSetLeds: fz15f command buffer layout and device view
|
||||
- KBDSetLeds: baseline: structural/exact (19, 75) instructions 75/79
|
||||
- KBDSetLeds: typed command word reservation view: structural/exact (21, 76) instructions 80/79
|
||||
- KBDSetLeds: SDK command slots with word reservation view: structural/exact (21, 76) instructions 80/79
|
||||
- KBDSetLeds: readonly channel view with word reservation loop: structural/exact (27, 74) instructions 74/79
|
||||
|
||||
## fz15f CheckMsgBoxSpace structure
|
||||
Frame 0x30, 223/223 instructions; first differing attachment load uses r26 instead of target r25. Eight-iteration unroll combines base64 rounding and line widths in different order, 67 structural differences. Input already const; test readonly size-pointer helper boundary and explicit encoded/line temporary dependencies.
|
||||
|
||||
## Xhigh CheckMsgBoxSpace: fz15f readonly helper input and arithmetic dependency
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f existing sample width lifetime becomes padding
|
||||
- CheckMsgBoxSpace: baseline: structural/exact (67, 73) instructions 223/223
|
||||
- CheckMsgBoxSpace: readonly size pointer owns base64 helper loads: structural/exact (0, 0) instructions 223/223
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: reuse sample width as padding after tile metadata: structural/exact (21, 126) instructions 475/475
|
||||
- TMCJPEG_814F0A58: reuse sample width as padding after bounds: structural/exact (21, 126) instructions 475/475
|
||||
- TMCJPEG_814F0A58: reuse sample width as padding before bound expansion: structural/exact (32, 206) instructions 476/475
|
||||
- TMCJPEG_814F0A58: inline padding computation before loop: structural/exact (21, 126) instructions 475/475
|
||||
- TMCJPEG_814F0A58: equal chroma height owns row padding: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## fz15f CheckMsgBoxSpace exact
|
||||
The readonly `const u32*` Base64StorageSize inline boundary preserves repeated input loads in the original expression instead of binding a scalar first. This changes the unrolled size/load dependency graph to the target: ctxdiff 223/223, diffs 0; pool 9/9 identical; objdiff 100.0. NWC quick gate PASS, exact 16 -> 17, code 7272 -> 8164/8532, data 904 unchanged, regressions/forbidden/readability 0. Shared headers unchanged; all other NWC exact functions preserved. Commit only this exact function and the attempts log; JPEG near scheduling candidate remains experimental.
|
||||
|
||||
## fz15f WriteMIMEAttachHeader structure
|
||||
Frame 0x30, 92/92 instructions, five register-only differences at 25,28,30,32,33. Type-prefix length occupies r29 instead of target r30, disposition r30 instead of r29, prefix sum coalesces encoding r28 instead of target type r30; final mime sum operands reverse. Target stores no measurement locals, so no volatility proof. Test measured-length aggregate helper boundary and subtotal value ownership.
|
||||
|
||||
## Xhigh WriteMIMEAttachHeader: fz15f header measurement object and capacity subtotal lifetime
|
||||
- WriteMIMEAttachHeader: baseline: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: capacity subtotal owned by final total local: structural/exact (2, 5) instructions 92/92
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f readonly sample alias view and inline boundaries
|
||||
- WriteMIMEAttachHeader: capacity subtotal owned by first written length local: structural/exact (2, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: unsigned type-prefix length with signed capacity: structural/exact (0, 5) instructions 92/92
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- WriteMIMEAttachHeader: unsigned transfer-prefix length with signed capacity: structural/exact (0, 5) instructions 92/92
|
||||
- TMCJPEG_814F0A58: readonly decoder state view: structural/exact (2, 2) instructions 475/475
|
||||
- WriteMIMEAttachHeader: encoding length owns concatenated prefix sum: structural/exact (0, 5) instructions 92/92
|
||||
- TMCJPEG_814F0A58: readonly source sample pointers: structural/exact (21, 32) instructions 475/475
|
||||
- WriteMIMEAttachHeader: measurement aggregate fields in caller: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: measurement aggregate owned by inline readonly-mime helper: structural/exact (0, 4) instructions 92/92
|
||||
- TMCJPEG_814F0A58: unsigned sample width with signed stored bounds: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: unsigned sample height with signed stored bounds: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: sample bounds through inline end helper: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: chroma tiled address owned by inline helper: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## Xhigh WriteMIMEAttachHeader: fz15f readonly prefix and length pointer helper boundaries
|
||||
- WriteMIMEAttachHeader: baseline: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: readonly prefix pointer helper for all three strlen inputs: structural/exact (0, 9) instructions 92/92
|
||||
- WriteMIMEAttachHeader: readonly prefix pointer helper for type input: structural/exact (0, 9) instructions 92/92
|
||||
- WriteMIMEAttachHeader: readonly prefix pointer helper for encoding input: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: readonly prefix pointer helper for disposition input: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: readonly length pointers own combined capacity arithmetic: structural/exact (2, 6) instructions 92/92
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f phase state coalescing and bound operand ordering
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: padding owned by existing height local: structural/exact (21, 140) instructions 475/475
|
||||
- TMCJPEG_814F0A58: padding owned by existing row local: structural/exact (21, 125) instructions 475/475
|
||||
- TMCJPEG_814F0A58: padding owned by existing yEnd local: structural/exact (21, 133) instructions 475/475
|
||||
- TMCJPEG_814F0A58: source padding shared between planes: structural/exact (29, 271) instructions 475/475
|
||||
- TMCJPEG_814F0A58: chroma row bounds and padding paired structure: structural/exact (6, 12) instructions 475/475
|
||||
- TMCJPEG_814F0A58: pointer row advances are for-loop postexpressions: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: commuted sample bound operands: structural/exact (2, 5) instructions 475/475
|
||||
|
||||
## Xhigh WriteMIMEAttachHeader: fz15f readonly metadata and prefix measurement boundaries
|
||||
- WriteMIMEAttachHeader: baseline: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: readonly message input view with mutable output length: structural/exact (0, 5) instructions 92/92
|
||||
- readonly attachment type array view: structural/exact (99999, 99999)bin/python3" tools/transform_dep.py build/43U/src/libs/RevoEX/src/nwc24/NWC24MsgCommit.d build/43U/src/libs/RevoEX/src/nwc24/NWC24MsgCommit.d ### mwcceppc.exe Compiler: # File: libs\RevoEX\src\nwc24\NWC24MsgCommit.c # ----------------------------------------------- # 775: const u32* attachedTypes = msg->attachedType; # Error: ^ # (10209) illegal implicit conversion from 'NWC24MIMEType[2]' to # 'const unsigned long *' # Too many errors printed, aborting program User break, cancelled... ninja: build stopped: subcommand failed.
|
||||
- WriteMIMEAttachHeader: output length owned by named field pointer: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: signed attachment subscript input: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: inline helper owns combined type prefix length: structural/exact (2, 74) instructions 91/92
|
||||
- WriteMIMEAttachHeader: inline helper writes measured prefix lengths: structural/exact (2, 5) instructions 92/92
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f phase geometry structure field ownership
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: chroma row padding precedes end in record: structural/exact (6, 12) instructions 475/475
|
||||
- TMCJPEG_814F0A58: chroma row bounds expressed as two-element array: structural/exact (6, 12) instructions 475/475
|
||||
- TMCJPEG_814F0A58: width and column bound share record across phases: structural/exact (8, 167) instructions 475/475
|
||||
- TMCJPEG_814F0A58: height and row bound share record across phases: structural/exact (8, 150) instructions 475/475
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f padding expression and const width pointer ownership
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row padding expression division: structural/exact (42, 469) instructions 476/475
|
||||
- TMCJPEG_814F0A58: row padding expression bound: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row padding expression negate: structural/exact (25, 220) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row padding expression postscope: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: both source pointer advances owned by row helper: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: row helper reads sample width through const pointer: structural/exact (7, 201) instructions 476/475
|
||||
|
||||
## Xhigh WriteMIMEAttachHeader: fz15f measurement scope and operand ownership finish
|
||||
- WriteMIMEAttachHeader: baseline: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: correct enum attachment type readonly view: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: length measurements have independent initializer scope: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: prefix type and combined length share union value: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: commuted concatenated prefix operands: structural/exact (0, 5) instructions 92/92
|
||||
|
||||
## Xhigh TMCJPEG_814F0A58: fz15f remaining phase bound lifetimes
|
||||
- TMCJPEG_814F0A58: baseline: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: vertical bound local shared across luma and chroma: structural/exact (2, 2) instructions 475/475
|
||||
- TMCJPEG_814F0A58: readonly chroma start coordinate in phase scope: structural/exact (23, 227) instructions 475/475
|
||||
- TMCJPEG_814F0A58: completed luma row owns chroma start coordinate: structural/exact (23, 137) instructions 475/475
|
||||
- TMCJPEG_814F0A58: sample bounds use unsigned intermediate addition: structural/exact (2, 2) instructions 475/475
|
||||
|
||||
## fz15f WriteMIMEAttachHeader register-only final search
|
||||
Structural readonly/aggregate/helper trials leave four or five operand differences; only now run declsearch on split declarations, including written-length lifetimes. Compiler-failing wrong attachment enum pointer excluded from valid trial count and corrected above.
|
||||
```
|
||||
declaration block:
|
||||
char* buffer;
|
||||
const char* mime;
|
||||
const char* suffix;
|
||||
s32 typeLength;
|
||||
s32 encodingLength;
|
||||
s32 dispositionLength;
|
||||
s32 mimeLength;
|
||||
s32 first;
|
||||
s32 second;
|
||||
s32 third;
|
||||
s32 total;
|
||||
NWC24Err err;
|
||||
start (0, 5)
|
||||
best (0, 5) after 80 builds; source restored; best order was:
|
||||
char* buffer;
|
||||
const char* mime;
|
||||
const char* suffix;
|
||||
s32 typeLength;
|
||||
s32 encodingLength;
|
||||
s32 dispositionLength;
|
||||
s32 mimeLength;
|
||||
s32 first;
|
||||
s32 second;
|
||||
s32 third;
|
||||
s32 total;
|
||||
NWC24Err err;
|
||||
```
|
||||
|
||||
## Xhigh kbd_led_handler: fz15f per-slot command array layout
|
||||
- kbd_led_handler: baseline: structural/exact (13, 21) instructions 24/25
|
||||
- kbd_led_handler: SDK command and device words share per-slot union: structural/exact (13, 21) instructions 24/25
|
||||
- kbd_led_handler: command slots use native-size word arrays: structural/exact (13, 21) instructions 24/25
|
||||
- kbd_led_handler: word array command layout with true-first completion switch: structural/exact (10, 18) instructions 25/25
|
||||
|
||||
## Xhigh KBDSetLedsAsync: fz15f per-slot command array layout
|
||||
- KBDSetLedsAsync: baseline: structural/exact (14, 70) instructions 80/81
|
||||
- KBDSetLedsAsync: SDK command and device words share per-slot union: structural/exact (19, 72) instructions 79/81
|
||||
- KBDSetLedsAsync: command slots use native-size word arrays: structural/exact (19, 72) instructions 79/81
|
||||
- KBDSetLedsAsync: word array command layout with true-first completion switch: structural/exact (19, 72) instructions 79/81
|
||||
|
||||
## Xhigh KBDSetLeds: fz15f per-slot command array layout
|
||||
- KBDSetLeds: baseline: structural/exact (19, 75) instructions 75/79
|
||||
- KBDSetLeds: SDK command and device words share per-slot union: structural/exact (19, 75) instructions 75/79
|
||||
- KBDSetLeds: command slots use native-size word arrays: structural/exact (19, 68) instructions 78/79
|
||||
- KBDSetLeds: word array command layout with true-first completion switch: structural/exact (19, 68) instructions 78/79
|
||||
|
||||
## Xhigh WriteMIMEAttachHeader: fz15f final aggregate field order register search
|
||||
- WriteMIMEAttachHeader: baseline: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: measurement fields type,encoding,disposition inline helper: structural/exact (0, 4) instructions 92/92
|
||||
|
||||
## Xhigh KBDSetModState: fz15f readonly state versus fixed output pointer boundary
|
||||
- WriteMIMEAttachHeader: measurement fields type,disposition,encoding inline helper: structural/exact (0, 4) instructions 92/92
|
||||
- KBDSetModState: baseline: structural/exact (0, 4) instructions 42/42
|
||||
- WriteMIMEAttachHeader: measurement fields encoding,type,disposition inline helper: structural/exact (0, 4) instructions 92/92
|
||||
- KBDSetModState: physical state readonly input pointer: structural/exact (0, 7) instructions 42/42
|
||||
- WriteMIMEAttachHeader: measurement fields encoding,disposition,type inline helper: structural/exact (0, 4) instructions 92/92
|
||||
- KBDSetModState: channel readonly view within interrupt critical section: structural/exact (0, 7) instructions 42/42
|
||||
- KBDSetModState: fixed mutable state pointer declared before disabling interrupts: structural/exact (5, 38) instructions 41/42
|
||||
- WriteMIMEAttachHeader: measurement fields disposition,type,encoding inline helper: structural/exact (0, 4) instructions 92/92
|
||||
- KBDSetModState: logical locks replace field in initialized prior union: structural/exact (1, 7) instructions 42/42
|
||||
- WriteMIMEAttachHeader: measurement fields disposition,encoding,type inline helper: structural/exact (0, 4) instructions 92/92
|
||||
- WriteMIMEAttachHeader: measurement fields type,encoding,disposition caller: structural/exact (0, 5) instructions 92/92
|
||||
|
||||
## Xhigh kbdProcMod: fz15f readonly state versus fixed output pointer boundary
|
||||
- kbdProcMod: baseline: structural/exact (0, 4) instructions 256/256
|
||||
- WriteMIMEAttachHeader: measurement fields type,disposition,encoding caller: structural/exact (0, 5) instructions 92/92
|
||||
- kbdProcMod: physical state readonly input pointer: structural/exact (10, 250) instructions 258/256
|
||||
- WriteMIMEAttachHeader: measurement fields encoding,type,disposition caller: structural/exact (0, 5) instructions 92/92
|
||||
- kbdProcMod: channel readonly view within interrupt critical section: structural/exact (0, 4) instructions 256/256
|
||||
- kbdProcMod: fixed mutable state pointer declared before disabling interrupts: structural/exact (15, 47) instructions 253/256
|
||||
- WriteMIMEAttachHeader: measurement fields encoding,disposition,type caller: structural/exact (0, 5) instructions 92/92
|
||||
- kbdProcMod: logical locks replace field in initialized prior union: structural/exact (1, 3) instructions 256/256
|
||||
- WriteMIMEAttachHeader: measurement fields disposition,type,encoding caller: structural/exact (0, 5) instructions 92/92
|
||||
- WriteMIMEAttachHeader: measurement fields disposition,encoding,type caller: structural/exact (0, 5) instructions 92/92
|
||||
|
||||
## fz15f owned data and extents audit
|
||||
JPEG has no owned data sections; NWC 904/904 and keyboard 5296/5296 data bytes already pair exactly. No symbol rename or extent change justified there.
|
||||
target zprepare data relocations: 0->Zi8PrepareMatch+0x260, 4->Zi8PrepareMatch+0x1e4, 8->Zi8PrepareMatch+0x1f4, 12->Zi8PrepareMatch+0x204, 16->Zi8PrepareMatch+0x214, 20->Zi8PrepareMatch+0x224, 24->Zi8PrepareMatch+0x234, 28->Zi8PrepareMatch+0x244, 32->Zi8PrepareMatch+0x254, 36->Zi8PrepareMatch+0x260, 40->Zi8PrepareMatch+0x260, 44->Zi8PrepareMatch+0x204
|
||||
source zprepare data relocations: 0->Zi8PrepareMatch+0x250, 4->Zi8PrepareMatch+0x1d4, 8->Zi8PrepareMatch+0x1e4, 12->Zi8PrepareMatch+0x1f4, 16->Zi8PrepareMatch+0x204, 20->Zi8PrepareMatch+0x214, 24->Zi8PrepareMatch+0x224, 28->Zi8PrepareMatch+0x234, 32->Zi8PrepareMatch+0x244, 36->Zi8PrepareMatch+0x250, 40->Zi8PrepareMatch+0x250, 44->Zi8PrepareMatch+0x1f4
|
||||
Relocation proof: all twelve entries in target jumptable_8166B3D0 (48 bytes) point inside nonmatching Zi8PrepareMatch; source @230 is the corresponding compiler-generated switch table with different code offsets. This is a code-layout gap; @230 is not a stable real source object name, so no rename. Extab 8 bytes exact, extabindex 12 differs by nonmatching function extent; no data-type size correction.
|
||||
Zi8PrepareMatch extent 0x814850fc..0x81485fac, next CDBInit 0x81485fac, overlap 0.
|
||||
CheckMsgBoxSpace extent 0x814a731c..0x814a7698, next SynthesizeAddrStr 0x814a7698, overlap 0.
|
||||
WriteMIMEAttachHeader extent 0x814a8064..0x814a81d4, next WriteContentTypeField 0x814a81d4, overlap 0.
|
||||
TMCJPEGDEC_set_converterY8U8V8 extent 0x814efb9c..0x814efeac, next TMCJPEG_814EFEAC 0x814efeac, overlap 0.
|
||||
TMCJPEG_814F0A58 extent 0x814f0a58..0x814f11c4, next TMCJPEG_814F11C4 0x814f11c4, overlap 0.
|
||||
kbdEventHandler extent 0x815f34d8..0x815f37c0, next kbdRepeatHandler 0x815f37c0, overlap 0.
|
||||
kbdProcMod extent 0x815f3aa4..0x815f3ea4, next kbdSendKey 0x815f3ea4, overlap 0.
|
||||
kbd_led_handler extent 0x815f3fb4..0x815f4018, next KBDSetLedsAsync 0x815f4018, overlap 0.
|
||||
KBDSetLedsAsync extent 0x815f4018..0x815f415c, next KBDSetLeds 0x815f415c, overlap 0.
|
||||
KBDSetLeds extent 0x815f415c..0x815f4298, next kbdInitMap 0x815f4298, overlap 0.
|
||||
KBDSetModState extent 0x815f4664..0x815f470c, next KBDTranslateHidCode 0x815f470c, overlap 0.
|
||||
|
||||
## fz15f JPEG scheduling plateau
|
||||
The best readable 0A58 trial resolves all register differences and leaves only subfic/high-bit-mask scheduling at 274/275, 475/475 instructions; all layout, alias, loop and helper variations measured above failed exact equality. Declaration search exhausted 65 builds. Restore the starting unmatched function; preserve all eleven landed exact functions. No fuzzy-only JPEG edit retained.
|
||||
|
||||
## fz15f remaining-function completeness audit
|
||||
Independent object experiments appended entries concurrently; each measured entry is now labeled with its function using its unique target instruction count. Compiler-failing variants and the discarded partially initialized modifier union are excluded. Every remaining function has at least three distinct compiled source-level attempts this round; prior-round attempts are additional evidence.
|
||||
TMCJPEGDEC_set_converterY8U8V8: 3 distinct compiled source-level trials; remains open.
|
||||
TMCJPEG_814F0A58: 53 distinct compiled source-level trials; remains open.
|
||||
kbdEventHandler: 3 distinct compiled source-level trials; remains open.
|
||||
kbdProcMod: 7 distinct compiled source-level trials; remains open.
|
||||
kbd_led_handler: 6 distinct compiled source-level trials; remains open.
|
||||
KBDSetLedsAsync: 6 distinct compiled source-level trials; remains open.
|
||||
KBDSetLeds: 6 distinct compiled source-level trials; remains open.
|
||||
KBDSetModState: 7 distinct compiled source-level trials; remains open.
|
||||
WriteMIMEAttachHeader: 33 distinct compiled source-level trials; remains open.
|
||||
Zi8PrepareMatch: 4 distinct compiled source-level trials; remains open.
|
||||
|
||||
## fz15f final full clean gate
|
||||
```
|
||||
full build: ok
|
||||
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] objdiff: code 13264/15948 data None/None functions 11/13 fuzzy 99.5275 linked code 0
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] instruction-exact functions: 2/13
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] section .text size 15948 match 99.527466
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEGDEC_set_converterY8U8V8 92.78571
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] below 100: TMCJPEG_814F0A58 99.01053
|
||||
[libs/RVLMiddleware/TMC_JPEG/src/texturecvtr/Texture_MCUtoY8U8V8] baseline: code 13264/15948 data None functions 11 fuzzy 99.5275
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] pool: IDENTICAL
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] objdiff: code 3088/5764 data 5296/5296 functions 15/21 fuzzy 97.7044 linked code 0
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] instruction-exact functions: 14/21
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] section .bss size 3968 match 100.0
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] section .data size 1304 match 100.0
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] section .sbss size 16 match 100.0
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] section .sdata size 8 match 100.0
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] section .text size 5764 match 97.70437
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: kbdEventHandler 99.83871
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: kbdProcMod 99.90234
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: kbd_led_handler 64.12
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: KBDSetLedsAsync 86.234566
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: KBDSetLeds 84.6076
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] below 100: KBDSetModState 99.40476
|
||||
[libs/RVL_SDK/src/kbd/kbd_lib] baseline: code 3088/5764 data 5296 functions 15 fuzzy 97.7044
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] pool: IDENTICAL
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] objdiff: code 8164/8532 data 904/904 functions 17/18 fuzzy 99.9836 linked code 0
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] instruction-exact functions: 17/18
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] section .bss size 64 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] section .data size 680 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] section .sbss size 8 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] section .sdata size 152 match 100.0
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] section .text size 8532 match 99.98359
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] below 100: WriteMIMEAttachHeader 99.61957
|
||||
[libs/RevoEX/src/nwc24/NWC24MsgCommit] baseline: code 7272/8532 data 904 functions 16 fuzzy 98.4754
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] pool: IDENTICAL
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] objdiff: code None/3760 data 8/68 functions 0/1 fuzzy 96.3191 linked code 0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] instruction-exact functions: 0/1
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] section .data size 48 match None
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] section .text size 3760 match 96.319145
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] section extab size 8 match 100.0
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] section extabindex size 12 match 91.66667
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] below 100: Zi8PrepareMatch 96.319145
|
||||
[libs/RVLMiddleware/eZiText/src/clib/zprepare] baseline: code None/3760 data 8 functions 0 fuzzy 96.3191
|
||||
regressions vs baseline: 0
|
||||
global matched_code_percent: 90.30241 -> 90.33218
|
||||
global fuzzy_match_percent: 99.54864 -> 99.55293
|
||||
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
|
||||
```
|
||||
Before -> after objdiff exact functions: JPEG 11/13 -> 11/13; keyboard 15/21 -> 15/21; NWC 16/18 -> 17/18; zprepare 0/1 -> 0/1.
|
||||
Before -> after gate instruction-exact functions: JPEG 2/13 -> 2/13; keyboard 14/21 -> 14/21; NWC 16/18 -> 17/18; zprepare 0/1 -> 0/1.
|
||||
Before -> after exact code bytes: JPEG 13264 -> 13264/15948; keyboard 3088 -> 3088/5764; NWC 7272 -> 8164/8532; zprepare 0 -> 0/3760. Exact data bytes unchanged: JPEG none; keyboard 5296/5296; NWC 904/904; zprepare 8/68.
|
||||
Fresh clean rebuild raw JPEG symbol-byte equality confirms eleven exact functions: TMCJPEG_814EFEAC, TMCJPEG_814F043C, TMCJPEG_814F11C4, TMCJPEG_814F17E0, TMCJPEG_814F1F48, TMCJPEG_814F2570, TMCJPEG_814F2B50, TMCJPEG_814F3158, TMCJPEG_814F32E4, TMCJPEG_814F34A4, TMCJPEG_814F372C. Gate retains known CR1 branch normalization false positives when object function offsets differ due to setup size gap. No tool changes. Keyboard existing 14 instruction-exact versus 15 objdiff exact discrepancy remains unchanged.
|
||||
New CheckMsgBoxSpace clean rebuild: ctxdiff 223/223, diffs 0; pool 9/9 identical; objdiff 100.0. Only NWC source helper and this attempts log are retained; no header, symbols, data, configure or other translation-unit change.
|
||||
|
||||
## fz15f final remaining functions
|
||||
TMCJPEGDEC_set_converterY8U8V8 92.78571%: shared convBuf base folded per case, 195/196 instructions, and integer schedule.
|
||||
TMCJPEG_814F0A58 99.01053%: chroma state register allocation; best rejected trial only two independent preheader instructions swap.
|
||||
kbdEventHandler 99.83871%: error byte versus channel base allocation, five operand differences.
|
||||
kbdProcMod 99.90234%: inlined modifier address versus old value r4/r5 allocation, four operands.
|
||||
kbd_led_handler 64.12%: completion branch form and callback address recomputation, 24/25 instructions.
|
||||
KBDSetLedsAsync 86.234566%: reservation-loop address/index ownership and result branch, 80/81 instructions.
|
||||
KBDSetLeds 84.6076%: reservation-loop record pointer versus indexed device word, 75/79 instructions.
|
||||
KBDSetModState 99.40476%: modifier address versus old value r4/r5 allocation, four operands.
|
||||
WriteMIMEAttachHeader 99.61957%: type versus disposition lengths and sum result coalescing, five operands.
|
||||
Zi8PrepareMatch 96.319145%: local stack/code layout and component-presence stores without semantic reads, 939/940 instructions.
|
||||
Uncertainty: original source construct responsible for the JPEG two-instruction schedule and zprepare dead component flag is unresolved. No unsupported volatility or dummy field retained. Current-round exact source commit: 7ea5a033.
|
||||
|
||||
@@ -1245,3 +1245,248 @@ Immediate matching stack store/reload pairs in remaining targets: []. No definit
|
||||
- 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
|
||||
```
|
||||
|
||||
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.
|
||||
@@ -1693,3 +1693,859 @@ src/keyboard/tiSignWindow | exact 55/56 -> 55/56 | code bytes 6300 -> 6300/7184
|
||||
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.
|
||||
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