diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 12:20:07 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 12:20:07 -0300 |
| commit | 6763596e5d9c6570a83fd62c89c428921371c3ef (patch) | |
| tree | de78e4e59bd1bab2911995525940264ec077c7df /runtime/src/thread_stacks.cpp | |
| parent | 6a6704df1592e1dc4a3215ddf1423a78adb52045 (diff) | |
rdna2spirv: v_add_nc_i16 and v_sub_nc_i16
Both were rejected while v_add_nc_u16 / v_sub_nc_u16 are translated.
They take the same 16-bit path (op_sel source and destination halves, the
other half kept); without clamp they are bit-identical to the u16 forms,
and clamp saturates the exact signed result to [-32768, 32767].
tests/semantic/test_valu_add_sub_nc_i16.py covers a value grid with and
without clamp, op_sel and equality with the u16 forms. docs/design.md
row added.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions