docs(debt): measure the VOP3 16-bit integer clamp in wave64 on gfx1036 #22615
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/22615"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MichonGoddijn231849 on 2026-11-17T23:16:35Z.
What
Closes the "wave64 is not measured" clause of the [VOP3 16-bit integer binary clamp] entry of
docs/dev/debt/shader.md(the wave32 measurement came in #21997). No code changes; one debt fragment.The body of
Vop3Integer16Clamp.cpp'sCode(the eight opcodes with the VOP3 clamp bit intov10..v17, the same eight without it intov18..v25) ran on RDNA2 hardware over the test's 32Rows, in wave32 and in wave64 (rows repeated over 64 lanes):Expected; the clamped and unclamped forms agree on 256 / 256.Expected; clamped and unclamped agree on 512 / 512.The fragment replaces "wave64 is not measured" with that result; the rest of the entry is unchanged.
Tested
gfx1036), AMD Windows driver 32.0.21045.16010, Windows 11 Pro 10.0.26200, throughtools/hw-oracle(HIP runtime). Float controls (integer opcodes): IEEE 0, DX10_CLAMP 1, f32 denormals flushed, f16/f64 kept, round to nearest even, FP16_OVFL 0.python3 tools/check_conventions.py --base mainon the branch: all checks passed.Measurement script (run from the repository root; it reads the words, rows and expected values from the test file)
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code