Repository navigation
Conversation
#1598 merged s_movrels_b32/b64 with CPU-only checks, and #1850's fixture covers only the b32 form. Lane 0 checks the pair read at odd and even M0, M0 from v_readfirstlane (not foldable), the b32 form at a base register, a destination overlapping the source, and SCC kept. Registered in check.py, run_gpu_tests.py and regen_fixtures.py; tests/semantic/ test_movrels64_fixture.py runs it on the CPU against an SGPR-file model.
…:22]) llvm-mc 23 rejects the odd-based 64-bit SGPR pair s[21:22] (invalid register alignment), and one fixture it can't assemble stops the whole GPU run (MKmajster's finding, TEST-961). The overlap case is now s_movrels_b64 s[22:23], s[20:21] with M0 = 1: it reads s21, s22, which overlaps the destination s22, so W[1], W[2] only if the source is read first. The fixture test checks that every SGPR range starts at an even register.
python -I on the file failed with ModuleNotFoundError: support, as the folder was not on sys.path (found by @justr4mzi on #4323, the same template). It is now inserted, as test_cs_shared_memory_limit does.
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py # tests/semantic/regen_fixtures.py
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py # tests/semantic/regen_fixtures.py
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py # tests/semantic/regen_fixtures.py
# Conflicts: # runtime/test/shaders/check.py # scripts/run_gpu_tests.py
This was referenced Nov 24, 2026
Contributor
|
Tested on Linux, merged onto GPU: NVIDIA GeForce RTX 2070 SUPER (Turing, subgroup 32), proprietary driver 620.70.06, Fedora 44, llvm-mc 22.1.8, SPIRV-Tools 2026.1.
New fixture The only failures in both runs are the known AI-assisted: yes (Claude Code ran the build and tests on my machine; numbers are the runners' own output). |
3 of 4 tasks
2 tasks done
3 of 4 tasks
Contributor
|
Taken over by its author in #1447 (rebased on main). This draft can be closed. |
Collaborator
Author
|
Closing carried-over draft: taken over by original author in #1447 (OLD-9913). |
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.
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):#1598mergeds_movrels_b32/s_movrels_b64with CPU-only checks, and#1850'scs_w32_pk_rel_extcovers only theb32form. This adds a GPU fixture,runtime/test/shaders/cs_w32_movrels64.asm.Re-submission of
#4337.#4337was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with currentmain.Checked on
#4337by: vibryxcx (RX 6800), Kev-Ball (RTX 3080 Ti), kapitche (Windows 11), sperm (RX 9070 XT), lunarminus (760M), javdc (Steam Deck LCD), Racurs156 (Windows 11), Mortify7612 (AMD Radeon RX 9060 XT), Itschotsch (RTX 4090), tylerstraub (RTX 5090).No game files.
AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with
main.