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:
authorPavel Kotek <334189328+kotekompotek@users.noreply.github.com>2026-11-23 21:10:35 +0500
committerPavel Kotek <334189328+kotekompotek@users.noreply.github.com>2026-11-23 21:13:20 +0500
commit80417b9c4ec073dce28e67916d4d3bed564cdbc5 (patch)
tree011f8159c40655c4a84ebe2f4a6924844bc57fae /runtime/src/pe_loader.cpp
parent8575d36edc479218972497a7bded8651a42856c0 (diff)
wave64: align emulate barrier prediction for s_flbit, mixed s_cmp_*_u64, and ds_nop
Fixes three --wave64-emulate AssertionError crashes and sync mismatches: - tools/wave64_emulate_opt.py (_classify_block_body, _insn_may_barrier): recognize s_flbit_i32_b32 and s_flbit_i32 on lane masks, and s_cmp_eq_u64/s_cmp_lg_u64 on mixed mask+data SGPR pairs via _has_any_lane_mask_word(). - tools/rdna2spirv.py (Gen.x_memory_order): treat ds_nop as a no-op matching NOOPS and wave64_emulate_opt._x_memory_order_access(). - tests/semantic/test_wave64_emulate_opt.py: add FindSMsb to run_emulated_workgroup OpExtInst handler. - tests/semantic/test_wave64_emulate_barriers.py: add unit and 64/128-thread workgroup interpreter regression tests. - docs/design.md: document the wave64-emulate barrier alignment rules and CPU verification scope. Verified locally (CPU only, no GPU/spirv-val/llvm-mc): - python -I tests/semantic/test_wave64_emulate_barriers.py -> 13/13 OK - python -I tests/semantic/test_wave64_emulate_opt.py -> 22/22 OK - pytest -q (12 test files) -> 70 passed # Conflicts: # docs/design.md # Conflicts: # docs/design.md # tools/wave64_emulate_opt.py # Conflicts: # tools/wave64_emulate_opt.py
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions