upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/tls_host.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 19:06:11 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 19:06:11 -0300
commit6440281767e040d92d7c125fe943985b477f7e99 (patch)
tree01dcaf6c35394e17fbba8577606977ee9de665fb /runtime/src/tls_host.cpp
parent36ace7135e897c228eede5d1d8c28e972285cb14 (diff)
tests/semantic: run OpBitReverse and SAbs in the interpreter, and test bfrev/brev/abs
spirv_mini_interp.py had neither, so the translations of v_bfrev_b32, s_brev_b32 and s_abs_i32 could not run. OpBitReverse reverses the bits at the result's width. SAbs wraps the most negative value to itself, as s_abs_i32 does on the hardware. test_alu_bitrev_abs.py checks v_bfrev_b32 and s_brev_b32 (and that two reverses give the input back), and s_abs_i32 with its SCC, including 0x80000000. test_interp.py tests both ops directly.
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions