compute DPP16 row_shr OR/ADD lowering #2496

Closed
github-bot wants to merge 2 commits from gh-pr/2496/head into gh-pr/2496/base
Owner

@⁠KelboLive on GitHub · 2026-11-25 18:37 UTC · original
KelboLive:pr/1884-row-shr → main · +426 −5 · 7 files · 1 commits · closed without merging

Adds lowerings for DPP16 row_shr OR/ADD patterns and an offline AOT test tool.

Files:

  • (+16/-5)
  • (+302)
  • (+72)
  • (+30)

Run: UpdateCTestConfiguration from :D:/Kelbo AI Dashboard Projects/Xbox2Windows/DartConfiguration.tcl
Test project D:/Kelbo AI Dashboard Projects/Xbox2Windows/out/build/dev
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end

**@⁠KelboLive** on GitHub · 2026-11-25 18:37 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2496) `KelboLive:pr/1884-row-shr` → `main` · +426 −5 · 7 files · 1 commits · closed without merging Adds lowerings for DPP16 row_shr OR/ADD patterns and an offline AOT test tool. **Files:** - (+16/-5) - (+302) - (+72) - (+30) Run: UpdateCTestConfiguration from :D:/Kelbo AI Dashboard Projects/Xbox2Windows/DartConfiguration.tcl Test project D:/Kelbo AI Dashboard Projects/Xbox2Windows/out/build/dev Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end
Follow-up to tedin7's reviews of #1785 and #1844. The device-free
pixel_aot_check.py run now pins the v_swaprel_b32 selects: for a static
swap of v25 and v26 (m0 0x10002) and a dynamic swap with m0 masked to
0x30001, the swap lines must match an expected text with temporaries
renamed in order of appearance and bank values named by their literal.
It also exercises the plain movrel branch's own entry-mask refusal with
v_movrels_b32_e32 and v_movreld_b32_e64 in the whole-quad region.

Each of five one-line mutations of tools/pixel_aot.py, applied alone,
now makes `python -B tests/pixel_aot_check.py` exit 1: the source side
reading swap_sval, swapped static m0 halves, dynamic source offsets from
m0 >> 16, a removed destination select, and a removed plain-movrel mask
check. pixel_aot.py itself is unchanged. The swaprel, plain movrel and
DPP movrel draws still pass on WARP and a Quadro M1000M.

Refs #1785, #1844

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:56:52 +00:00
github-bot closed this pull request 2026-11-27 00:56:52 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-25 19:42 UTC · original

The DPP16 row_shr OR/ADD implementation and the WARP/hardware fixtures landed in #1884, which follows the original #1543 claim. I compared the two lowering blocks; their behavior is the same. This PR also carries unrelated pixel movrel controls. If any of those controls are still missing on current main, please keep them in a focused test-only follow-up and link the specific coverage gap. There is no need to carry the second row_shr implementation.

**@⁠R0Y00** on GitHub · 2026-11-25 19:42 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2496#issuecomment-7172651512) The DPP16 row_shr OR/ADD implementation and the WARP/hardware fixtures landed in #1884, which follows the original #1543 claim. I compared the two lowering blocks; their behavior is the same. This PR also carries unrelated pixel movrel controls. If any of those controls are still missing on current main, please keep them in a focused test-only follow-up and link the specific coverage gap. There is no need to carry the second row_shr implementation.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.