Compare commits
1 Commits
cleanup/se
...
agent/w092
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a594fc9c38 |
@@ -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
|
||||
|
||||
457
tools/decomp-assist/fz21.attempts.md
Normal file
457
tools/decomp-assist/fz21.attempts.md
Normal file
@@ -0,0 +1,457 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user