diff options
| author | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 09:54:29 -0300 |
|---|---|---|
| committer | Luiz Neves <luizgustavobenicio@gmail.com> | 2026-11-22 09:54:29 -0300 |
| commit | ca724c929a596922c2feb73dd8ed3f5ec0264703 (patch) | |
| tree | 194a1a6fb33f87296a96701a23ec3550cd2a3bcc /runtime/test/cpp_unwind_test.cpp | |
| parent | 41f448261e1de8a410b4d760e69a7e5656cef858 (diff) | |
rdna2spirv: packed 16-bit integer ops (v_pk_add/sub/mul_lo/mad/max/min)
v_pk_add/sub_u16/i16, v_pk_mul_lo_u16, v_pk_mad_u16/i16 and
v_pk_max/min_u16/i16 were rejected. Each result half takes its sources'
halves from op_sel / op_sel_hi, as the packed shifts do, wraps to 16
bits, and saturates under clamp (add, sub, mad). neg_lo/neg_hi and clamp
on the other ops are rejected; a constant reads as its low 16 bits, and a
constant whose high half op_sel would read (not measured for integer
ops) is rejected.
tests/semantic/test_alu_pk_int16.py covers value grids, op_sel, clamp,
constants and the rejected forms. docs/design.md row added.
Diffstat (limited to 'runtime/test/cpp_unwind_test.cpp')
0 files changed, 0 insertions, 0 deletions