Repository navigation
GPU test cs_w32_movrels64: s_movrels_b64 (OLD-9913) - #1447
Open
LouisRiverstone wants to merge 3 commits into
Open
LouisRiverstone wants to merge 3 commits into
LouisRiverstone wants to merge 3 commits into
Conversation
- GPU test cs_w32_movrels64: s_movrels_b64 - cs_w32_movrels64: an even-aligned overlap pair (LLVM 22+ rejects s[21:22]) - test_movrels64_fixture: runs under python -I Carried over from old-pr/9913 (old upstream PR 9913), rebased on main.
This was referenced Nov 25, 2026
Contributor
|
Tested
AI-assisted; synthetic fixtures only, no game data. |
Contributor
|
GPU test on an NVIDIA Ada card, for the record: this passes on an RTX 4090.
Only the filtered fixture(s) were run for this PR, not the full suite or ctest; the full-suite baseline for this card on |
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: OLD-9913 (#14 (comment))
Replaces the carried-over draft #179. I'm the original author of old upstream PR 9913.
What and why
An old upstream PR merged
s_movrels_b32/s_movrels_b64with CPU-only checks, and thecs_w32_pk_rel_extfixture covers only theb32form. This adds a GPU fixture,runtime/test/shaders/cs_w32_movrels64.asm:s_movrels_b64pairs with an M0 set at run time, an overlapping source and destination pair (even-aligned, because LLVM 22+ rejectss[21:22]), and SCC kept. The fixture is wired intocheck.pyandscripts/run_gpu_tests.py. Its disassembly is intests/semantic/fixtures/disasm/and is checked bytests/semantic/test_movrels64_fixture.py.The old branch's final diff, applied on current
mainas one commit. It applied cleanly.Tested
python -I scripts/run_gpu_tests.py --filter cs_w32_movrels64: PASS with llvm-mc 21.1 and with llvm-mc 23. Words0x5EED0111 0x5EED0222 0x5EED0444 0x5EED0555 0x5EED0555 0x5EED0111 0x5EED0222 1, as expected.python -I tests/semantic/test_movrels64_fixture.py: OK.python -I scripts/run_semantic_tests.py tests/semantic: 477 files, 6228 tests, 0 files failed.The old PR was also checked on real GPUs by other people (RX 6800, RTX 3080 Ti, RX 9070 XT, RTX 4090, RTX 5090, Steam Deck and others), on the branch as it was then.
GPUs tested: llvmpipe (Mesa, LLVM 21.1.8) on Linux under WSL2
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator rule changes)