diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-21 19:06:11 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-21 19:06:11 -0300 |
| commit | 6440281767e040d92d7c125fe943985b477f7e99 (patch) | |
| tree | 01dcaf6c35394e17fbba8577606977ee9de665fb /runtime/src/pe_loader.cpp | |
| parent | 36ace7135e897c228eede5d1d8c28e972285cb14 (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/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions