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