diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 21:53:14 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-25 21:53:14 -0500 |
| commit | d09286f62401917641de097ae8d700f13a405cfd (patch) | |
| tree | a0394d28b15e99459294c88258f9eb99879f5488 /runtime/opus_decoder/leonida_opus_decoder.h | |
| parent | 95d1878dc3e4d8036b9f03e71404fc5644cda638 (diff) | |
rdna2spirv: translate only the measured dot4 op_sel forms; keep restore_dot4_inline_sel
The general rule from #1495 (dot4_op_sel_fields / restore_dot4_op_sel,
ported from luizwidmer/palmetto) took the stored op_sel/op_sel_hi of any
v_dot4_i32_i8 that llvm-mc printed with the defaults. That translated
op_sel 0 / op_sel_hi 5 with a VGPR second source, a word #1317's
test_fspx_dot4_op_sel_disasm.py (case (0, 5)) requires to stay refused:
only op_sel 2 / op_sel_hi 5 was measured on gfx1036. The translator suite
failed there.
Resolve it on the measured side:
- drop dot4_op_sel_fields and restore_dot4_op_sel;
- keep main's restore_dot4_inline_sel (#984) and its three call sites:
the clean-listing check, the forward re-anchor search, and the exact
re-anchor window #1662 added today. The general rule does not cover
only those cases, so it cannot replace them;
- tests/semantic/test_dot4_printed_op_sel.py now checks that the
inline-integer form is restored in a clean listing and on re-anchoring,
and that op_sel_hi 5 with a VGPR S1, op_sel 1 / op_sel_hi 6,
op_sel_hi 4 and a non-default S2 half stay refused;
- docs/design.md "Signed-byte dot products" states how each form was
confirmed (hardware for op_sel 2 / op_sel_hi 5, a corpus count for the
inline-integer form, refused otherwise); docs/fspx.md follows.
This also settles the #1662 / #1862 overlap: #1662's call site stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/opus_decoder/leonida_opus_decoder.h')
0 files changed, 0 insertions, 0 deletions