diff options
| author | slopgobblercobbler <336610228+slopgobblercobbler@users.noreply.github.com> | 2026-11-21 19:06:56 +0100 |
|---|---|---|
| committer | slopgobblercobbler <336610228+slopgobblercobbler@users.noreply.github.com> | 2026-11-21 19:06:56 +0100 |
| commit | 6ec879fd09345c81d9bb880ec0c00a97dcf1158c (patch) | |
| tree | 78871d2636ceeb091a7541a0fdd252c99fdbbb35 /runtime/src/main.cpp | |
| parent | 793b06f12765571ed5e126d1d8944cec6a4dc805 (diff) | |
test(semantic): add interpreter tests for SDWA source sub-register selection and broadcast
Add value-level semantic interpreter tests covering SDWA source sub-register selection (byte extraction, word extraction, dword pass-through) and sign extension (under sext()).
- Verifies BYTE_0 through BYTE_3 (unsigned and sign-extended)
- Verifies WORD_0 and WORD_1 (unsigned and sign-extended)
- Tests sign-bit boundary conditions (0x7f/0x80, 0x7fff/0x8000)
- Tests source sub-register broadcasting into dual-operand ALU operations
- Cross-checks translation and mini-interpreter execution against independent Python reference oracle
- Standard library only, zero game data or proprietary assets
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions