upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/shims/d3d12_com.cpp
diff options
context:
space:
mode:
authortiagonogueiraa-bit <360313680+tiagonogueiraa-bit@users.noreply.github.com>2026-11-23 16:57:19 -0300
committertiagonogueiraa-bit <360313680+tiagonogueiraa-bit@users.noreply.github.com>2026-11-23 16:57:19 -0300
commit4b6c2a2cca5cafd2b623a4f2a33c348424eee93b (patch)
treec524944a97cb9b814c6c5e9d60f01801a87fa067 /runtime/shims/d3d12_com.cpp
parent867d922f09b86583859796a174df89555fb32da8 (diff)
rdna2spirv: repair a v_fma_mix literal llvm-mc 21 printed as an inline constant
llvm-mc 21's gfx1013 decoder prints a v_fma_mix* literal whose low 16 bits are the f16 value of one of 90 inline constants as that constant, and re-encodes the instruction in 8 bytes: the SRC field changes from 0xff to the inline code and the literal word is gone (0x3f800000, 1.0 as an f32 source, prints as 0). The printed-encoding check refused it as a dropped field. mix_inline_literal accepts exactly that difference, the source takes the stored 32-bit literal with the stored neg/abs bits, the instruction takes its 12 stored bytes and the later offsets move up by 4, on both the clean and the re-anchoring listing paths. Swept with llvm-mc 21.1.8 over all 65,536 low halves; llvm-mc 23 prints lit(V) instead. CPU-checked by FmaMixInlineLiteralTest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/d3d12_com.cpp')
0 files changed, 0 insertions, 0 deletions