upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorslint6614-dev <slint6614@gmail.com>2026-11-23 00:16:24 +0100
committerslint6614-dev <slint6614@gmail.com>2026-11-23 00:16:24 +0100
commit1782d2b18c9851b8f37762941e0821dffcdd408c (patch)
tree1173c5f0e2d7a86681ef98f9361d483c74deb1c7 /runtime/src/pe_loader.cpp
parentaa2988cc555bad7ecd508b48a702adbb32fe7c95 (diff)
tests/semantic: run the SALU bitfield-insert sequence through the translator
test_salu_bitfield_ins_u32.py imported translate_lines but never called it. It modelled an s_bfi_b32 that neither tools/rdna2spirv.py nor RDNA2's scalar ALU has, through a private ScalarAluInterpreter, so it passed whatever the translator did; it was listed in DEBT in tests/test_semantic_translator_use.py. Keep its real subject, the sequence shaders use to insert a field (s_bfm_b32, s_lshl_b32, s_and_b32, s_andn2_b32, s_or_b32): translate it and execute it in spirv_mini_interp with run-time operands (an offset/width/value grid and seeded random cases) and with s_mov_b32 immediates folded at translation time, plus the destination written over base. Assert the result, SCC and the s_bfm_b32 mask against the ISA pseudocode, and drop the file from DEBT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013nWg6BssUf8MjNaKuMSkfc
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions