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:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-22 08:41:38 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-22 08:41:38 -0500
commit7ffe3a93b427135e3906c8e2db7da55561d1c238 (patch)
tree8f4b13e98e741f121bc11f1ffd39bbb0d08e9202 /runtime/src/pe_loader.cpp
parent89b047cd8fab50675a43d76722a6a8a881f55dc2 (diff)
Translator: v_dot4_i32_i8 and v_dot4c_i32_i8, confirmed on RDNA2 hardware
The 29 FSPX programs of the upscaler DLL use the two signed-byte dot products 27,271 times, all in 13 programs, and the translator had neither. The rule: the sum of the four products of the sign-extended bytes of two dwords, plus the third source (v_dot4_i32_i8) or the destination's old value (v_dot4c_i32_i8), modulo 2^32. Confirmed on gfx1036 with raw kernels through tools/hw_oracle: 10 operand sets, both instructions, both source orders of the accumulating one. Two modifiers were measured and are refused: clamp saturates to a signed 32-bit value, and op_sel 2 with op_sel_hi 5 (the 89 words llvm-mc does not decode) exchanges the 16-bit halves of the second source. The measured words are the tables of tests/semantic/test_alu_dot4_i8.py. With tools/fspx_unpack.py on version 1.0.2.1: 17 of the 29 programs translate and pass spirv-val, 13 before. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions