upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 20:28:24 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-21 20:28:24 -0300
commit85a4e7b2a7bc87d46c7084a70c259c0b7bd12c30 (patch)
tree8b5ed453264c352f1ea0c0a342484f54f56d6d54 /runtime/src
parent8bd0087d2d0e45fc18fa78fb40b70ecfc6648854 (diff)
Translator: v_subrev_f16 (S1 - S0 on the selected halves)
v_subrev_f16 (VOP2 0x34 on GFX10) raised Unsupported. Translate it with the other f16 VOP2/VOP3 ops, swapping the two operands of the subtraction: op_sel still names src0/src1 and the destination half, neg/abs/clamp apply as for v_sub_f16, and the half that is not written is kept. Tests: tests/semantic/test_alu_subrev_f16.py (VOP2 and VOP3 forms, every op_sel combination, neg and clamp, and a seeded comparison with v_sub_f16 on swapped operands), plus v_subrev_f16 rows in the f16 op_sel tables.
Diffstat (limited to 'runtime/src')
0 files changed, 0 insertions, 0 deletions