diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-21 19:02:04 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-21 19:20:59 -0300 |
| commit | 1d645c64e9d3dfdfd7bf52fd9ded3be3bbc7ce4a (patch) | |
| tree | 0b2517c6f9b6a79fad7d3bf36798ffe7bb97793a /runtime/src | |
| parent | 36ace7135e897c228eede5d1d8c28e972285cb14 (diff) | |
tests/semantic: run OpIAddCarry in the interpreter, and test the carry chain
spirv_mini_interp.py had OpISubBorrow but no OpIAddCarry, so no carry-out add
(v_add_co_u32, v_add_co_ci_u32, s_add_u32, s_addc_u32) could be run.
test_carry_chain.py checks the result and carry-out of v_add_co_u32,
v_sub_co_u32, v_subrev_co_u32 and their _co_ci forms (e32 through VCC, e64
through SGPRs), and of s_add_u32/s_addc_u32 and s_sub_u32/s_subb_u32 through
SCC, at the carry and borrow boundaries. It also checks the 64-bit add and
subtract built from each pair. test_interp.py tests OpIAddCarry directly.
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions