mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:55:52 +01:00
[PR #993] [MERGED] tests/semantic: wave32 s_cbranch_vccz/vccnz read vcc_lo only (TEST-W32-VCCZ-VCC-HI) #1032
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1032
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/993
Author: @qhukz13
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:cont/wave32-vccz-vcc-hi📝 Commits (1)
7c59c18tests/semantic: wave32 s_cbranch_vccz/vccnz read vcc_lo only (TEST-W32-VCCZ-VCC-HI)📊 Changes
1 file changed (+43 additions, -0 deletions)
View changed files
📝
tests/semantic/test_wave64_vcc_data_branch.py(+43 -0)📄 Description
Claimed in the coordination issue as: TEST-W32-VCCZ-VCC-HI
In wave32, VCC is
vcc_loalone andvcc_hiis an ordinary SGPR.branch_conditionintools/rdna2spirv.pyreads%vcc_hionly under wave64 (if g.wave64 and "vcc" not in g.cur_masks), and the reference model intests/semantic/test_control_flow_vcc.py(eval_vcczmasks VCC to the wave size) assumes the same, but no test pinned it: withtools/semantic_mutants.py(#734),and -> oron that line survived all four test files that reachbranch_condition, run together.Wave32VccDataBranchTestsintests/semantic/test_wave64_vcc_data_branch.py, next to the wave64 class, runs the same programs without the 64-bit op that selects wave64, as two 32-lane subgroups, with SGPR-sourced and constant VCC writes:vcc_lo = 0withvcc_hi != 0takess_cbranch_vcczand falls throughs_cbranch_vccnz.Test only. Tested: the file passes (5 tests); with the
and -> ormutant it gives 4 failures.scripts/check_no_game_data.py: OK. Linux, CPU only; no GPU, no game files. No hardware measurement of the wave32 rule is in the repository; the test pins the translator's and the reference model's shared assumption.AI-assisted (Claude Code).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.