Repository navigation
Conversation
In V_CMP_CLASS_F16 (rdna2_spec.rs), SRC1 is a 16-bit operand so OP_SEL[1] == 1 selects its upper 16-bit half as the class mask. The emitter applied half(0, &ua) to SRC0 but passed ub unchanged, ignoring OP_SEL[1]. Select SRC1 via half(1, &ub), with a GPU test covering OP_SEL[1]=0/1 and OP_SEL=3 across wave32 and split wave64. Assisted-by: OpenCode (Gemini 4 Neon)
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Test report for head Tested
Not tested: retail titles, RDNA3/RDNA4. AI use: the tests were run and this report was written by an AI agent, Claude Code (Claude Opus 5.5), on the hardware above. The numbers are copied from the actual test output. |
|
RTX 5070 Ti: Tested
Not tested
Direct translator patch Patch (applies with
|
XCL PR #1214 verificationTested
& 'L:/XclTooling/pr1214/run-b725489-20261125-080053-770/xcl-pr1214-lib-tests.exe' --exact gpu::recomp::tests::gpu_cmp_class_f16_honours_opsel1 --nocapture --test-threads=11 passed, 0 failed, 0 ignored, 0 explicit GPU skips, 719 filtered out, 0.68 s, exit 0. Both the Cargo artifact and pinned executable had SHA-256 Each lane was seeded with
The before/after discussion snapshots contained one independent exact-head report for the fixture on AMD and two NVIDIA reports on merges with main. I found no equivalent exact-head A770 report. AMD report · Triage #1607 Not testedNative wave64, split wave64, direct DXIL (including stacked PR #1980), other adapters, a negative control, the full workspace suite, and retail smoke. The A770 exposes hardware wave sizes 8–32, and the exact-head fixture enters its wave64 branch only when native wave64 is available. AI useT3 Code / Codex (gpt-6.2-sol) verified the live head, inspected the fixture, ran the checked-in test, and wrote this report. No source edits, commits, or GitHub writes. Logs
|
In
V_CMP_CLASS_F16(rdna2_spec.rs),SRC1is a 16-bit operand soOP_SEL[1] == 1selects its upper 16-bit half as the class mask. The emitter appliedhalf(0, &ua)toSRC0but passedubunchanged, ignoringOP_SEL[1].This selects
SRC1viahalf(1, &ub).What is in it
crates/xcl/src/gpu/recomp/emit.rs: usehalf(1, &ub)forV_CMP_CLASS_F16SRC1.crates/xcl/src/gpu/recomp/tests.rs: add GPU testgpu_cmp_class_f16_honours_opsel1coveringOP_SEL[1] = 0/1andOP_SEL = 3across wave32 and split wave64 (verified failing before the fix).Tested
stable-x86_64-pc-windows-msvc), DXC 1.9.2609.5, debug (scripts/test.ps1) and release (scripts/smoke.ps1).\scripts\test.ps1(cargo build --workspace+cargo test --workspace -- --test-threads=4): 742 passed, 0 failed, 41 ignored (SKIPPED GPU tests: 2no wave64—gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware)cargo test -p xcl --lib gpu_cmp_class_f16_honours_opsel1: 1 passed, 0 failed across wave32 and split wave64 (failed on the GPU before the fix)Regression run
main:
PR:
Not tested
AI use
emit.rs, wrote the fix and GPU test, ran the test suite andscripts/smoke.ps1regression runs, and drafted this PR description.