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
{{ message }}
Repository navigation
Commit 9b0920b
Browse filesBrowse the repository at this point in the historyBrowse files
Slice 6 of the generic-VPU MXU epilogue plan. Adds the integer
variant of VPU_PAIR_ROTATE end-to-end so RoPE-style fused epilogues
can lower without round-tripping through float.
- src/VPU.bsv: new VPU_IPAIR_ROTATE enum at ordinal 85; case body
mirrors VPU_PAIR_ROTATE math with Int#(32) directly (wraps on
overflow; no saturation). staticAssert extended to cover both ops.
- src/Controller.bsv: drain rule grows a second inline pass that
fires only when vpuOpReg == VPU_IPAIR_ROTATE, walking adjacent
lane pairs and overwriting the curated-subset fallthrough. Keeps
the per-cell case statement compact and synthesizable.
- scripts/tasm.py: _VPU table gains IPAIR_ROTATE=85; round-trip
count assertion bumped to 86.
- tests/test_tinytpu_backend.py: new TestMxuVpuEpilogue case fires
op 46 with OP=IPAIR_ROTATE through the full sim stack and
asserts the hand-derived expected tile.
- tinygrad submodule bump: matching Python opcode entry.
Verification: 898/898 backend tests, 151 tasm + epilogue tests.
0 commit comments