upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorEwann <dev.lechacal@gmail.com>2026-11-21 17:46:28 +0100
committerEwann <dev.lechacal@gmail.com>2026-11-21 17:46:28 +0100
commita7a1c0165838d81e78b888654944ae6e35e223a3 (patch)
tree0c46ea2d46425f6be98da042a0d6c3311486e5c7 /runtime/src/pe_loader.cpp
parent793b06f12765571ed5e126d1d8944cec6a4dc805 (diff)
Translator: support op_sel on f16 VOP3 ops
v_fma_f16, v_med3_f16, v_add/sub/mul/max/min_f16, the f16 unary ops and v_fmac_f16 used to raise Unsupported when op_sel was present. Source bit i now reads the high half of source i and the last bit writes the high half of the destination, the other half being kept (Mesa ACO can_use_opsel, RDNA2 ISA VOP3 OP_SEL). The f16 read/write sequences move into f16_in/f16_out/opsel_bits. Output without op_sel is unchanged apart from SSA numbering. Tests: tests/test_f16_op_sel.py uses hand-written listings (no llvm-mc needed).
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions