Repository navigation
Conversation
|
Windows, synthetic inputs. Tested aeee1d1. Both focused generation/reference tests passed on CPU. They checked division instruction source constraints, initialization of vcc_lo, and lane-zero behavior of the reference evaluator. The earlier implementation failed the focused suite. Physical RDNA2 execution was outside this check. AI-assisted verification · GPT-6.2 Astra Medium |
|
Rechecked For the VCC change I also rendered each of the 21 FMAS programs through the Vulkan harness on llvmpipe. The new
For that local integration control I retained this PR’s operand generator and VCC initialization when resolving the overlapping code. I verified that the generated AMD assembly for both campaigns was byte-identical between the standalone and combined runs. The two FMAS skips were the reference's non-finite cases. This separates the encoding fix from the outstanding arithmetic differences. The readbacks were software Vulkan, and the AMD targets were checked by assembly only. AI-assisted QA. |
Claimed as TEST-F64-DIV-ORACLE in coordination issue #7804. Thanks to @Kev-Ball for isolating both failures.
What changed
s_mov_b32 vcc_lo, -1forv_div_fmas_f64. The former e32 compare used two immediates and LLVM rejected it. The reference now reads the VCC bit for lane zero.main. The change merges cleanly with f64_diff: generate one-dword f64 literals, as the ISA encodes them (EGEN-F64DIFF-LITERAL32) #7856, which handles literal widths in the general generator.Tested
WSL2 Linux, Python 3.14.4 and LLVM 22.1.2 AMDGPU, CPU only. Assembled the actual generated hardware-oracle modules to objects with
llvm-mc.86bc1e059.python3 -I tests/test_f64_diff.pypassed 31/31. The harness self-test, compile check, game-data guard andgit diff --checkpassed.mainatdde82f27e(tracked by tests: fix image atomics guard and image_store d16 tests after #4473 and #6805 #7608 and tests/semantic: three image test files red on main (stale after #4473 and #6805; LLVM_MC on Windows) #7284).Validation covered assembly and the CPU reference. GPU execution and arithmetic comparison remain unverified. Synthetic inputs only. AI-assisted with Codex.