|
|
|
|
@@ -315,3 +315,245 @@ Each compiling attempt rebuilt only CHANSVm.o, regenerated objdiff and compared
|
|
|
|
|
## Uncertainty
|
|
|
|
|
|
|
|
|
|
The reason for VmBlobFill raw branch differences remains unresolved. Register-only mismatches may be compiler tie-breaks; the attempts do not prove that no readable C variation can match them. Remaining .data/.rodata relocation and symbol comparisons are unresolved, so the unit is not complete.
|
|
|
|
|
|
|
|
|
|
## 2026-09-30 switch mapping and range-copy match
|
|
|
|
|
|
|
|
|
|
Baseline: 206/233 instruction-exact, 207/233 objdiff-exact; code 32400/53564; data 2232/6904; .data 18.050066%.
|
|
|
|
|
Accepted: VmBlobCopyRangeFrom, 100.0% objdiff, 136/136 instructions, ctxdiff diffs 0. Boolean range assignments replace conditional flag stores.
|
|
|
|
|
Final: 207/233 instruction-exact, 208/233 objdiff-exact; code 32944/53564; data 2232/6904; .data 18.050066%.
|
|
|
|
|
|
|
|
|
|
### Switch mapping
|
|
|
|
|
|
|
|
|
|
All 64 main opcode entries and their shared labels already have the target source-body order. Reordering those bodies would break the current order.
|
|
|
|
|
The three CHANSVmStep tables contain 121 relocations. The type table at .data+0x105c has 0/10 incorrect offsets; the operator table at 0x1084 has 47/47; the opcode table at 0x1140 has 51/64. Total: 98 incorrect offsets.
|
|
|
|
|
The main table offsets differ by 8 or 16 bytes through most of the interpreter. Its source and target function sizes are both 0x1394. Source/target .data payloads are byte-identical before relocation.
|
|
|
|
|
Stack/local, table-base hoisting, shared-tail and register allocation differences explain the shifted labels. No case reorder was retained.
|
|
|
|
|
|
|
|
|
|
opcode | source label | target offset | emitted offset
|
|
|
|
|
--- | --- | --- | ---
|
|
|
|
|
0x18 | CHANS_VM_OP_LOAD_IMM_1 | 0x013c | 0x0144
|
|
|
|
|
0x27 | CHANS_VM_OP_LOAD_IMM_2 | 0x0144 | 0x014c
|
|
|
|
|
0x28 | CHANS_VM_OP_LOAD_IMM_4 | 0x014c | 0x0154
|
|
|
|
|
0x29 | CHANS_VM_OP_LOAD_IMM_8 | 0x0154 | 0x015c
|
|
|
|
|
0x2a | CHANS_VM_OP_LOAD_FLOAT | 0x0188 | 0x0190
|
|
|
|
|
0x19 | CHANS_VM_OP_ADD_IMM | 0x01c4 | 0x01cc
|
|
|
|
|
0x1a | CHANS_VM_OP_SUB_IMM | 0x01d4 | 0x01dc
|
|
|
|
|
0x1b | CHANS_VM_OP_MUL_IMM | 0x01e4 | 0x01ec
|
|
|
|
|
0x1c | CHANS_VM_OP_DIV_IMM | 0x01f4 | 0x01fc
|
|
|
|
|
0x1d | CHANS_VM_OP_MOD_IMM | 0x0204 | 0x020c
|
|
|
|
|
0x1e | CHANS_VM_OP_AND_IMM | 0x0214 | 0x021c
|
|
|
|
|
0x1f | CHANS_VM_OP_OR_IMM | 0x0224 | 0x022c
|
|
|
|
|
0x20 | CHANS_VM_OP_XOR_IMM | 0x0234 | 0x023c
|
|
|
|
|
0x21 | CHANS_VM_OP_CMP_EQ_IMM | 0x0244 | 0x024c
|
|
|
|
|
0x22 | CHANS_VM_OP_CMP_NEQ_IMM | 0x0254 | 0x025c
|
|
|
|
|
0x23 | CHANS_VM_OP_CMP_LT_IMM | 0x0264 | 0x026c
|
|
|
|
|
0x24 | CHANS_VM_OP_CMP_GT_IMM | 0x0274 | 0x027c
|
|
|
|
|
0x25 | CHANS_VM_OP_CMP_LEQ_IMM | 0x0284 | 0x028c
|
|
|
|
|
0x26 | CHANS_VM_OP_CMP_GEQ_IMM | 0x0294 | 0x029c
|
|
|
|
|
0x04 | CHANS_VM_OP_PUSH | 0x0500 | 0x0510
|
|
|
|
|
0x05 | CHANS_VM_OP_POP | 0x056c | 0x057c
|
|
|
|
|
0x06 | CHANS_VM_OP_ADD | 0x0580 | 0x0590
|
|
|
|
|
0x07 | CHANS_VM_OP_SUB | 0x0590 | 0x05a0
|
|
|
|
|
0x08 | CHANS_VM_OP_MUL | 0x05a0 | 0x05b0
|
|
|
|
|
0x09 | CHANS_VM_OP_DIV | 0x05b0 | 0x05c0
|
|
|
|
|
0x0a | CHANS_VM_OP_MOD | 0x05c0 | 0x05d0
|
|
|
|
|
0x0b | CHANS_VM_OP_BIT_AND | 0x05d0 | 0x05e0
|
|
|
|
|
0x0c | CHANS_VM_OP_BIT_OR | 0x05e0 | 0x05f0
|
|
|
|
|
0x0d | CHANS_VM_OP_BIT_XOR | 0x05f0 | 0x0600
|
|
|
|
|
0x0e | CHANS_VM_OP_ULSHIFT | 0x0600 | 0x0610
|
|
|
|
|
0x0f | CHANS_VM_OP_ARSHIFT | 0x0610 | 0x0620
|
|
|
|
|
0x10 | CHANS_VM_OP_CMP_EQ | 0x0620 | 0x0630
|
|
|
|
|
0x11 | CHANS_VM_OP_CMP_NEQ | 0x0630 | 0x0640
|
|
|
|
|
0x12 | CHANS_VM_OP_CMP_LT | 0x0640 | 0x0650
|
|
|
|
|
0x13 | CHANS_VM_OP_CMP_GT | 0x0650 | 0x0660
|
|
|
|
|
0x14 | CHANS_VM_OP_CMP_LEQ | 0x0660 | 0x0670
|
|
|
|
|
0x15 | CHANS_VM_OP_CMP_GEQ | 0x0670 | 0x0680
|
|
|
|
|
0x00 | CHANS_VM_OP_RETURN | 0x06a0 | 0x06b0
|
|
|
|
|
0x01 | CHANS_VM_OP_RETURN_VALUE | 0x06d0 | 0x06e0
|
|
|
|
|
0x16 | CHANS_VM_OP_BIT_NOT | 0x06e8 | 0x06f8
|
|
|
|
|
0x17 | CHANS_VM_OP_LOG_NOT | 0x07a8 | 0x07b8
|
|
|
|
|
0x3e | CHANS_VM_OP_LOAD_INDIRECT | 0x07e4 | 0x07f4
|
|
|
|
|
0x30 | CHANS_VM_OP_CALL_METHOD | 0x0854 | 0x0864
|
|
|
|
|
0x02 | CHANS_VM_OP_IS_CLASS | 0x0894 | 0x08a4
|
|
|
|
|
0x31 | CHANS_VM_OP_CALL_FUNCTION | 0x08b0 | 0x08c0
|
|
|
|
|
0x32 | CHANS_VM_OP_PROP_GET | 0x08f4 | 0x0904
|
|
|
|
|
0x33 | CHANS_VM_OP_PROP_SET | 0x08f4 | 0x0904
|
|
|
|
|
0x3f | CHANS_VM_OP_STORE_INDIRECT | 0x0940 | 0x0950
|
|
|
|
|
0x2c | CHANS_VM_OP_LOAD_STRING_CONST | 0x09c8 | 0x09d8
|
|
|
|
|
0x2d | CHANS_VM_OP_SET_INDEX | 0x0a6c | 0x0a7c
|
|
|
|
|
0x34 | CHANS_VM_OP_GET_PROPERTY_NAME | 0x0b8c | 0x0b94
|
|
|
|
|
0x03 | CHANS_VM_OP_NEW_ARRAY | 0x0da4 | 0x0da4
|
|
|
|
|
0x35 | CHANS_VM_OP_JUMP | 0x0e74 | 0x0e74
|
|
|
|
|
0x2b | CHANS_VM_OP_STORE_UNDEFINED | 0x0f14 | 0x0f14
|
|
|
|
|
0x36 | CHANS_VM_OP_DELETE_SYMBOL | 0x0f2c | 0x0f2c
|
|
|
|
|
0x37 | CHANS_VM_OP_DELETE_INDIRECT | 0x0f80 | 0x0f80
|
|
|
|
|
|
|
|
|
|
### Remaining functions
|
|
|
|
|
|
|
|
|
|
CHANSVmGetSourceLine: 97.82609% | 16 register-allocation differences
|
|
|
|
|
CHANSVmNewObjData: 99.427086% | 10 register-allocation differences
|
|
|
|
|
CHANSVmParseInt: 94.69388% | endpoint initialization scheduling; 3 differences
|
|
|
|
|
CHANSVm_8144B4D4: 96.92771% | endpoint store scheduling and register allocation; 13 differences
|
|
|
|
|
VmArraySlice: 96.2782% | index clamping scheduling and registers; 56 differences
|
|
|
|
|
VmDateDtor: 94.96703% | calendar argument and table-load scheduling; 7 differences
|
|
|
|
|
VmStringFromCharCode: 99.40678% | output offset and mask register allocation; 6 differences
|
|
|
|
|
VmStringReplace: 97.106064% | 53 register-allocation differences
|
|
|
|
|
VmStringSplit: 96.04955% | 81 register-allocation differences
|
|
|
|
|
CHANSVm_8145049C: 98.58237% | character/shared-tail scheduling and registers; 42 differences
|
|
|
|
|
CHANSVm_81450D14: 97.391304% | 45/46 instructions; branch layout and add operand order
|
|
|
|
|
VmBlobGetHexString: 98.71951% | hex output counter/register allocation; 14 differences
|
|
|
|
|
VmBlobCalcRangeSHA1Digest: 96.484535% | range check scheduling and register allocation; 14 differences
|
|
|
|
|
VmBlobCalcHMAC: 99.453125% | 7 register-allocation differences
|
|
|
|
|
VmBlobCalcRangeHMAC: 99.97479% | context stack offset 0xc versus target 0x10; 3 differences
|
|
|
|
|
vmBlobParsePackFormatString: 99.69827% | decimal accumulator and character registers; 6 differences
|
|
|
|
|
VmBlobPackCommon: 92.603294% | 675/668 instructions; parser locals, switches, pack conversions
|
|
|
|
|
VmBlobUnpack: 92.083176% | 531/517 instructions; parser locals, switches, numeric conversions
|
|
|
|
|
VmImageCtor: 99.0% | image/pixel pointer register allocation; 4 differences
|
|
|
|
|
VmWinEmuWrite: 99.62687% | string and total-length register allocation; 5 differences
|
|
|
|
|
CHANSVmAddExe: 99.1063% | loop scheduling, address addition order, registers; 35 differences
|
|
|
|
|
CHANSVm_81455654: 94.0% | 34/35 instructions; return-pointer and branch layout
|
|
|
|
|
CHANSVmLinkModules: 98.677246% | 43 register-allocation differences
|
|
|
|
|
VmCallMethod: 97.2242% | call state and argument register allocation; 97 differences
|
|
|
|
|
CHANSVmStep: 95.172386% | 1253/1253 instructions; 894 differences, stack/register/base-address scheduling
|
|
|
|
|
|
|
|
|
|
VmBlobFill has objdiff 100.0% but two raw conditional-branch operands differ. It was unchanged; this accounts for the one-function discrepancy between the objdiff and instruction-exact gates. The instruction counter is stricter than objdiff for this function; relocation-aware linking was not investigated in this matching-only phase.
|
|
|
|
|
|
|
|
|
|
### Attempts
|
|
|
|
|
|
|
|
|
|
All unsuccessful candidates were restored. Each remaining objdiff-inexact function has at least three compiled, distinct source-level trials. VmBlobCopyRangeFrom reached exact on its first trial; a later output-offset-order trial regressed and was restored.
|
|
|
|
|
Compile-error probes were corrected and rerun or discarded; they are excluded from the attempt counts below.
|
|
|
|
|
|
|
|
|
|
CHANSVmStep: 1: two enum types and a two-object indirect/index scratch array; objdiff 95.18675; insns 1253/1253, diffs 876; .data 18.050066
|
|
|
|
|
CHANSVmStep: 2: reorder live temporaries; use copied index; propagate boolean error; order float bounds like target; objdiff 94.71907; insns 1249/1253, diffs 1230; .data 18.050066
|
|
|
|
|
CHANSVmStep: 3: typed two-entry enum array with direct indexing instead of byte-stride temporary; objdiff 94.847565; insns 1253/1253, diffs 899; .data 18.050066
|
|
|
|
|
VmBlobCalcRangeHMAC: 1: declare digest object before HMAC context; objdiff 99.97479; insns 119/119, diffs 3; .data 18.050066
|
|
|
|
|
VmBlobCalcRangeHMAC: 2: promote HMAC context to function scope; objdiff 99.97479; insns 119/119, diffs 3; .data 18.050066
|
|
|
|
|
VmBlobCalcRangeHMAC: 3: place context first among function locals; objdiff 99.97479; insns 119/119, diffs 3; .data 18.050066
|
|
|
|
|
vmBlobParsePackFormatString: 1: promote current format character to u32; objdiff 99.69827; insns 116/116, diffs 6; .data 18.050066
|
|
|
|
|
VmWinEmuWrite: 1: compute string length before offset initialization; objdiff 99.62687; insns 67/67, diffs 5; .data 18.050066
|
|
|
|
|
VmWinEmuWrite: 2: early return for nonstring argument; objdiff 94.62687; insns 69/67, diffs 54; .data 18.050066
|
|
|
|
|
VmWinEmuWrite: 3: declare total length before argument object; objdiff 99.17911; insns 67/67, diffs 8; .data 18.050066
|
|
|
|
|
CHANSVmNewObjData: 1: initialize entry search offset before chunk index; objdiff 99.427086; insns 96/96, diffs 10; .data 18.050066
|
|
|
|
|
CHANSVmNewObjData: 2: declare chunk pointer before loop index; objdiff 99.427086; insns 96/96, diffs 10; .data 18.050066
|
|
|
|
|
CHANSVmNewObjData: 3: count chunk search with for loop; objdiff 99.427086; insns 96/96, diffs 10; .data 18.050066
|
|
|
|
|
VmStringFromCharCode: 1: initialize output offset before argument index; objdiff 99.32204; insns 59/59, diffs 7; .data 18.050066
|
|
|
|
|
VmStringFromCharCode: 2: express character truncation as u16 conversion; objdiff 94.32204; insns 57/59, diffs 45; .data 18.050066
|
|
|
|
|
VmStringFromCharCode: 3: use a for loop for the argument traversal; objdiff 99.32204; insns 59/59, diffs 7; .data 18.050066
|
|
|
|
|
vmBlobParsePackFormatString: 2: put current character first in decimal accumulation; objdiff 99.69827; insns 116/116, diffs 6; .data 18.050066
|
|
|
|
|
vmBlobParsePackFormatString: 3: split decimal multiplication and digit addition; objdiff 99.655174; insns 116/116, diffs 6; .data 18.050066
|
|
|
|
|
VmBlobCalcHMAC: 1: declare key blob before parent blob; objdiff 99.453125; insns 64/64, diffs 7; .data 18.050066
|
|
|
|
|
VmBlobCalcHMAC: 2: hold argument only while resolving the key blob; objdiff 99.4375; insns 64/64, diffs 12; .data 18.050066
|
|
|
|
|
VmBlobCalcHMAC: 3: assign parent and key argument after declaring all locals; objdiff 99.453125; insns 64/64, diffs 7; .data 18.050066
|
|
|
|
|
VmImageCtor: 1: name pixel buffer before validating it; objdiff 86.6; insns 25/25, diffs 8; .data 18.050066
|
|
|
|
|
VmImageCtor: 2: express nested image checks with early return; objdiff 47.8; insns 17/25, diffs 25; .data 18.050066
|
|
|
|
|
VmImageCtor: 3: name image size as a separate scalar; objdiff 86.36; insns 25/25, diffs 10; .data 18.050066
|
|
|
|
|
CHANSVmAddExe: 1: initialize module during declaration; objdiff 99.1063; insns 254/254, diffs 35; .data 18.050066
|
|
|
|
|
CHANSVmAddExe: 2: increment table index before table byte offset; objdiff 99.15354; insns 254/254, diffs 34; .data 18.050066
|
|
|
|
|
CHANSVmAddExe: 3: initialize module before VM local; commute relocation additions; objdiff 99.185036; insns 254/254, diffs 33; .data 18.050066
|
|
|
|
|
VmDateDtor: 1: resolve month name before day name; objdiff 94.96703; insns 91/91, diffs 7; .data 18.050066
|
|
|
|
|
VmDateDtor: 2: resolve day name before month name; objdiff 94.96703; insns 91/91, diffs 7; .data 18.050066
|
|
|
|
|
VmDateDtor: 3: use direct date member access for formatted fields; objdiff 89.14286; insns 90/91, diffs 85; .data 18.050066
|
|
|
|
|
CHANSVmParseInt: 1: initialize parse endpoint before loading type; objdiff 83.67347; insns 49/49, diffs 5; .data 18.050066
|
|
|
|
|
CHANSVmParseInt: 2: declare initialized endpoint before output buffer; objdiff 94.69388; insns 49/49, diffs 3; .data 18.050066
|
|
|
|
|
CHANSVmParseInt: 3: load object type after initializing endpoint; objdiff 83.67347; insns 49/49, diffs 5; .data 18.050066
|
|
|
|
|
CHANSVm_81455654: 1: preserve result pointer through a single function return; objdiff 88.28571; insns 33/35, diffs 18; .data 18.050066
|
|
|
|
|
CHANSVm_81455654: 2: assign global reference through object field before shared return; objdiff 88.28571; insns 33/35, diffs 18; .data 18.050066
|
|
|
|
|
CHANSVm_81455654: 3: compute argument array separately before shared return; objdiff 88.28571; insns 33/35, diffs 18; .data 18.050066
|
|
|
|
|
CHANSVm_81450D14: 1: invert range validity branch; objdiff 97.391304; insns 45/46, diffs 29; .data 18.050066
|
|
|
|
|
CHANSVm_81450D14: 2: add blob size before negative relative index; objdiff 97.391304; insns 45/46, diffs 29; .data 18.050066
|
|
|
|
|
CHANSVm_81450D14: 3: return through explicit success result; objdiff 81.63043; insns 42/46, diffs 45; .data 18.050066
|
|
|
|
|
VmBlobGetHexString: 1: initialize emitted-digit index before output offset; objdiff 98.71951; insns 82/82, diffs 14; .data 18.050066
|
|
|
|
|
VmBlobGetHexString: 2: initialize traversal loop before output indices; objdiff 98.71951; insns 82/82, diffs 14; .data 18.050066
|
|
|
|
|
VmBlobGetHexString: 3: update output index before emitted-digit index; objdiff 98.71951; insns 82/82, diffs 14; .data 18.050066
|
|
|
|
|
VmBlobCalcRangeSHA1Digest: 1: cache range offset before checking two bounds; objdiff 99.793816; insns 97/97, diffs 4; .data 18.050066
|
|
|
|
|
VmBlobCalcRangeSHA1Digest: 2: separate signed range-validity calculation; objdiff 96.484535; insns 97/97, diffs 14; .data 18.050066
|
|
|
|
|
VmBlobCalcRangeSHA1Digest: 3: reuse cached offset for data address; objdiff 98.50516; insns 96/97, diffs 28; .data 18.050066
|
|
|
|
|
CHANSVm_8145049C: 1: assign character-format length before character pointer; objdiff 98.58237; insns 431/431, diffs 42; .data 18.050066
|
|
|
|
|
CHANSVm_8145049C: 2: hold copied string data before memcpy; objdiff 98.689095; insns 430/431, diffs 171; .data 18.050066
|
|
|
|
|
CHANSVm_8145049C: 3: terminate the character string before setting shared-format locals; objdiff 94.967514; insns 432/431, diffs 358; .data 18.050066
|
|
|
|
|
CHANSVmGetSourceLine: 1: cache program counter byte for the line-bit scan; objdiff 98.36957; insns 46/46, diffs 14; .data 18.050066
|
|
|
|
|
CHANSVmGetSourceLine: 2: read baseline offset after deriving bitfield; objdiff 97.82609; insns 46/46, diffs 16; .data 18.050066
|
|
|
|
|
CHANSVmGetSourceLine: 3: cache debug module once for validation and table access; objdiff 97.82609; insns 46/46, diffs 16; .data 18.050066
|
|
|
|
|
CHANSVmLinkModules: 1: initialize module iterator before blocking allocation; objdiff 98.677246; insns 189/189, diffs 43; .data 18.050066
|
|
|
|
|
CHANSVmLinkModules: 2: use a for loop for module traversal; objdiff 98.677246; insns 189/189, diffs 43; .data 18.050066
|
|
|
|
|
CHANSVmLinkModules: 3: copy dispatch entry fields into separate locals; objdiff 94.33862; insns 189/189, diffs 59; .data 18.050066
|
|
|
|
|
VmStringReplace: 1: load all string lengths before their data pointers; objdiff 97.106064; insns 132/132, diffs 53; .data 18.050066
|
|
|
|
|
VmStringReplace: 2: initialize output byte count before output data pointer; objdiff 97.030304; insns 132/132, diffs 55; .data 18.050066
|
|
|
|
|
VmStringReplace: 3: limit each converted argument to the validation/data setup scope; objdiff 97.106064; insns 132/132, diffs 53; .data 18.050066
|
|
|
|
|
VmStringSplit: 1: load delimiter length before its data pointer; objdiff 96.04955; insns 222/222, diffs 81; .data 18.050066
|
|
|
|
|
VmStringSplit: 2: initialize split limit before fetching delimiter; objdiff 95.14414; insns 222/222, diffs 93; .data 18.050066
|
|
|
|
|
VmStringSplit: 3: scope the limit argument to the optional limit block; objdiff 96.04955; insns 222/222, diffs 81; .data 18.050066
|
|
|
|
|
VmCallMethod: 1: initialize call state in declaration order; objdiff 97.2242; insns 281/281, diffs 97; .data 18.050066
|
|
|
|
|
VmCallMethod: 2: initialize accumulator during declaration; objdiff 97.2242; insns 281/281, diffs 97; .data 18.050066
|
|
|
|
|
VmCallMethod: 3: split end-depth and header-count declarations; objdiff 97.2242; insns 281/281, diffs 97; .data 18.050066
|
|
|
|
|
CHANSVm_8144B4D4: 1: use a typed endpoint instead of a volatile integer; objdiff 96.92771; insns 83/83, diffs 13; .data 18.050066
|
|
|
|
|
CHANSVm_8144B4D4: 2: remove endpoint volatility and initialize before type load; objdiff 94.518074; insns 83/83, diffs 13; .data 18.050066
|
|
|
|
|
CHANSVm_8144B4D4: 3: keep keyword/number endpoint as a scoped pointer; objdiff 94.518074; insns 83/83, diffs 13; .data 18.050066
|
|
|
|
|
VmArraySlice: 1: represent array length as signed 64-bit for index clamping; objdiff 84.50376; insns 138/133, diffs 107; .data 18.050066
|
|
|
|
|
VmArraySlice: 2: compute each negative index once as a signed value; objdiff 96.2782; insns 133/133, diffs 56; .data 18.050066
|
|
|
|
|
VmArraySlice: 3: add array length before negative argument index; objdiff 95.97744; insns 133/133, diffs 56; .data 18.050066
|
|
|
|
|
VmBlobCopyRangeFrom: 1: assign both range-validity flags from the bounds expression; objdiff 100.0; insns 136/136, diffs 0; .data 18.050066
|
|
|
|
|
VmBlobCopyRangeFrom: 3: initialize destination offset before source offset; objdiff 99.98529; insns 136/136, diffs 2; .data 18.050066
|
|
|
|
|
VmBlobPackCommon: 1: combine create-mode and parent validity check; objdiff 92.603294; insns 675/668, diffs 642; .data 18.050066
|
|
|
|
|
VmBlobPackCommon: 2: give sizing and output passes separate parsed format locals; objdiff 92.597305; insns 675/668, diffs 637; .data 18.050066
|
|
|
|
|
VmBlobPackCommon: 3: use signed opcode comparisons in both format passes; objdiff 92.603294; insns 675/668, diffs 642; .data 18.050066
|
|
|
|
|
VmBlobUnpack: 1: reject invalid format before the sizing switch; objdiff 92.067696; insns 530/517, diffs 497; .data 18.050066
|
|
|
|
|
VmBlobUnpack: 2: use signed format type comparisons in sizing pass; objdiff 92.083176; insns 531/517, diffs 496; .data 18.050066
|
|
|
|
|
VmBlobUnpack: 3: remove redundant initializations overwritten before parsing; objdiff 92.083176; insns 531/517, diffs 496; .data 18.050066
|
|
|
|
|
VmImageCtor: 4: bind pixel buffer within callback branch; objdiff 99.0; insns 25/25, diffs 4; .data 18.050066
|
|
|
|
|
CHANSVmParseInt: 4: promote object type to full integer; objdiff 94.69388; insns 49/49, diffs 3; .data 18.050066
|
|
|
|
|
CHANSVmGetSourceLine: 4: cache program counter before table indexing; objdiff 97.82609; insns 46/46, diffs 16; .data 18.050066
|
|
|
|
|
CHANSVmGetSourceLine: 5: type the local program counter as the debug offset; objdiff 97.82609; insns 46/46, diffs 16; .data 18.050066
|
|
|
|
|
CHANSVmParseInt: 5: scope output buffer and endpoint to the string conversion; objdiff 87.755104; insns 49/49, diffs 6; .data 18.050066
|
|
|
|
|
|
|
|
|
|
### Full gate
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
|
full build: ok
|
|
|
|
|
main.dol sha1: 26116613f624061ba99c8d1a299aaa6efa85670d
|
|
|
|
|
[src/channelScript/CHANSVm] pool: IDENTICAL
|
|
|
|
|
[src/channelScript/CHANSVm] objdiff: code 32944/53564 data 2232/6904 functions 208/233 fuzzy 98.4492 linked code 0
|
|
|
|
|
[src/channelScript/CHANSVm] instruction-exact functions: 207/233
|
|
|
|
|
[src/channelScript/CHANSVm] section .data size 4672 match 18.050066
|
|
|
|
|
[src/channelScript/CHANSVm] section .rodata size 1432 match 100.0
|
|
|
|
|
[src/channelScript/CHANSVm] section .sbss size 16 match 100.0
|
|
|
|
|
[src/channelScript/CHANSVm] section .sdata size 600 match 100.0
|
|
|
|
|
[src/channelScript/CHANSVm] section .sdata2 size 184 match 100.0
|
|
|
|
|
[src/channelScript/CHANSVm] section .text size 53564 match 98.44918
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVmGetSourceLine 97.82609
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVmNewObjData 99.427086
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVmParseInt 94.69388
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVm_8144B4D4 96.92771
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmArraySlice 96.2782
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmDateDtor 94.96703
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmStringFromCharCode 99.40678
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmStringReplace 97.106064
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmStringSplit 96.04955
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVm_8145049C 98.58237
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVm_81450D14 97.391304
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmBlobGetHexString 98.71951
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmBlobCalcRangeSHA1Digest 96.484535
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmBlobCalcHMAC 99.453125
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmBlobCalcRangeHMAC 99.97479
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: vmBlobParsePackFormatString 99.69827
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmBlobPackCommon 92.603294
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmBlobUnpack 92.083176
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmImageCtor 99.0
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmWinEmuWrite 99.62687
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVmAddExe 99.1063
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVm_81455654 94.0
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVmLinkModules 98.677246
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: VmCallMethod 97.2242
|
|
|
|
|
[src/channelScript/CHANSVm] below 100: CHANSVmStep 95.172386
|
|
|
|
|
[src/channelScript/CHANSVm] baseline: code 32400/53564 data 2232 functions 207 fuzzy 98.3831
|
|
|
|
|
regressions vs baseline: 0
|
|
|
|
|
global matched_code_percent: 84.84254 -> 84.86070
|
|
|
|
|
global fuzzy_match_percent: 98.08433 -> 98.08551
|
|
|
|
|
global complete_code_percent: 59.34297 -> 59.34297
|
|
|
|
|
global matched_data_percent: 90.43305 -> 90.43305
|
|
|
|
|
forbidden patterns added (net, per file): 0
|
|
|
|
|
readability warnings (net, per file; must be 0 in the final result): 0
|
|
|
|
|
GATE PASS
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
No source/header/configuration outside this leaf changed. No linking promotion was attempted.
|
|
|
|
|
|