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:02:04 -0300 |
| commit | 73c99273a8c86b233654294c68af4d5984b1dab2 (patch) | |
| tree | d83ea7c2b8d58f08f331fc0d71f9bf666fd98c4c /runtime/src/main.cpp | |
| parent | 3fae38a7a16ef1e9803349495598ff79510a8296 (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/main.cpp')
0 files changed, 0 insertions, 0 deletions