You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### A — `[453][2]^6 Pt` (recommended, mechanical ladder)
19
+
20
+
Smallest reviewable diff; continues validation that t27c can lower ever-wider non-power-of-two packed vectors unchanged.
21
+
22
+
### B — `[451][3]^6 Pt` stride scaling
23
+
24
+
Keep outer dimension at the previous rung but grow the second inner dimension from `2` to `3`. This changes the element stride and tests whether the packed-vector layout formula generalizes beyond powers of two in inner dimensions. Larger (451 × 3 × 2^5 = 43,296 elements × 32 bits = 1.385 MiBit) and may need formula adjustments.
25
+
26
+
### C — `[451][2]^6 Pt` negative-index wrap-around
27
+
28
+
Add signed negative-index writes to the current witness (e.g. `dst[-1][...].x = 42`) to exercise wrap-around/undefined-behavior classification. Requires confirming the compiler either lowers a defined wrap or emits a clean diagnostic; do not silently pass broken code.
29
+
30
+
## Procedure
31
+
32
+
1. Create issue #1563 for Wave Loop 817.
33
+
2. Create branch `wave-loop-817` from `wave-loop-816` HEAD.
Increment the non-power-of-two outer-dimension ladder by one rung to `[451][2]^6 Pt`, keeping the established inner-dimension (`2^6`) and struct (`Pt { x : i16, y : i16 }`) pattern. Validate that t27c still lowers, simulates, cocotb-matches, and seals the wider packed vector without compiler or FROZEN_HASH changes.
14
+
Increment the non-power-of-two outer-dimension ladder by one rung to `[453][2]^6 Pt`, keeping the established inner-dimension (`2^6`) and struct (`Pt { x : i16, y : i16 }`) pattern. Validate that t27c still lowers, simulates, cocotb-matches, and seals the wider packed vector without compiler or FROZEN_HASH changes.
15
15
16
16
## Acceptance criteria
17
-
-[ ] Generator `scripts/gen_w816.py` with `OUTER = 451`, `MID_IDX = 225`; copy hazard fixed before first run.
18
-
-[ ] Witness `specs/scratch/w816_bench_module_451x2p6_aos_var_call_write.t27` generated and parsed.
17
+
-[ ] Generator `scripts/gen_w817.py` with `OUTER = 453`, `MID_IDX = 226`; copy hazard fixed before first run.
18
+
-[ ] Witness `specs/scratch/w817_bench_module_453x2p6_aos_var_call_write.t27` generated and parsed.
19
19
-[ ]`t27c icarus-lowerable`, `icarus-simulate`, `icarus-cocotb`, and `seal --save` all PASS.
20
-
-[ ] Integration test `accepts_w816_bench_module_451x2p6_aos_var_call_write` added to `bootstrap/tests/icarus_lowerable.rs`.
20
+
-[ ] Integration test `accepts_w817_bench_module_453x2p6_aos_var_call_write` added to `bootstrap/tests/icarus_lowerable.rs`.
0 commit comments