Commit Graph

2 Commits

Author SHA1 Message Date
95b1cb7dc7 f16_ref: preserve signed zero in to_f16/scale and mask 16-bit inputs 2026-11-26 21:15:16 +08:00
4ecc06175b tests/semantic: run v_add/sub/subrev/mul/fma_f16 through the translator instead of a self-built model
The five files built their own register file and f16 arithmetic and never called tools/rdna2spirv.py, so a
regression in the translator left them green. Each now translates its cases and runs them on spirv_mini_interp
with hand-written expected words, a plain-Python binary16 reference (tests/semantic/f16_ref.py), SGPR/literal/inline
sources, op_sel, neg/abs, omod/clamp and seeded random operands.
2026-11-22 15:46:33 -05:00