upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/vk_queue_query_sync_test.cpp
diff options
context:
space:
mode:
authorStørm <52797150+AC-Storm-YT@users.noreply.github.com>2026-11-22 20:21:02 -0500
committerStørm <52797150+AC-Storm-YT@users.noreply.github.com>2026-11-22 20:21:02 -0500
commitfbdc638aedb4f129c0079ae88b85da6fdfc020aa (patch)
tree19f60dc218a14f10326b78e487e1a61e50a27772 /runtime/test/vk_queue_query_sync_test.cpp
parent03b09a086592a197db64d91655c6e65c30764d96 (diff)
hw_oracle: name op_sel halves on the VGPRs of 16-bit integer VOP3 ops for GFX11+
AMD LLVM 23 (rocm-sdk-core 10.0.0) rejects `v_max_u16_e64 v14, s12, v5 op_sel:[1,0,0]` on gfx1100, gfx1150 and gfx1201 ("operands are not valid for this GPU or mode") and takes `v_max_u16_e64 v14.l, s12, v5.l op_sel:[1,0,0]`. So `pk16_diff --oracle hw` skipped every op_sel form of v_lshlrev/lshrrev/ashrrev_b16/i16, v_min/max_u16/i16 and v_mul_lo_u16 there: 80 of 200 programs on an RX 9070 XT. asm.opsel16_spelling() writes each VGPR operand of those lines as the half its op_sel bit picks and keeps the op_sel list for SGPR and constant sources. The runner applies it on every non-gfx10 architecture, apart from the true16 probe: this assembler takes a bare `v_cvt_f16_f32 v8, v1` on GFX11/12, so that probe says no. All 2,551 distinct op_sel lines pk16_diff generates for the eight ops now assemble for gfx1100, gfx1150 and gfx1201, with the same op_sel bits and operands as gfx1036's bare form. RX 9070 XT: pk16_diff --oracle hw 200 programs 120 pass / 80 skipped -> 200 pass, 0 skipped; 2000 programs 2000 pass, 0 mismatch. gfx1036 unchanged (200/200, 2000/2000). AI-assisted (Claude Code).
Diffstat (limited to 'runtime/test/vk_queue_query_sync_test.cpp')
0 files changed, 0 insertions, 0 deletions