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:
authorJARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com>2026-11-24 10:39:58 +0000
committerJARVIX <273200855+jarvixaiassistant-glitch@users.noreply.github.com>2026-11-24 10:39:58 +0000
commit2da938a92c14879eb608a0f7a8ecbfbc58d95679 (patch)
tree27905529ef7597d55ada024802c39111472a5c8c /runtime/src/pe_loader.cpp
parent21625bca8c675c62f9dbffc318ce6a59d57faf31 (diff)
rdna2_decode: decode VOP2 0x06 and VOP3 0x106 as v_mac_legacy_f32 on gfx101*
tools/rdna2_decode.py already renamed VOP3 0x140 from v_fma_legacy_f32 to v_mad_legacy_f32 when mcpu starts with gfx101, but left VOP2 0x06 and VOP3 0x106 unconditionally named v_fmac_legacy_f32 even for the default gfx1013 console target. Per LLVM 21 VOP2Instructions.td and docs/design.md, VOP2 0x06 and VOP3 0x106 are v_mac_legacy_f32 on gfx101* (translated by rdna2spirv.py) and v_fmac_legacy_f32 on gfx103* (intentionally rejected as Unsupported). Decoding them as v_fmac_legacy_f32 on gfx1013 broke end-to-end python disassembly -> rdna2spirv translation and caused 56 mismatches across LLVM's gfx10_vop2.txt (18) and gfx10_vop3.txt (38). Rename VOP2 0x06 and VOP3 0x106 to v_mac_legacy_f32 on gfx101* and add unit plus end-to-end gfx1013 (translates and evaluates to 8.0) and gfx1030 (rejected as Unsupported) tests in tests/test_rdna2_decode.py. AI-assisted: yes (JARVIX: Antigravity + DeepSeek V4 Flash + NVIDIA NIM Nemotron-3.5-Lightning & Nemotron-3-Ultra-550B).
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions