Repository navigation
compute: accept VCC as source in 64-bit scalar bit-count and bit-scan - #3456
Merged
JohnConnorNPC merged 3 commits intoNov 29, 2026
Merged
Conversation
5 tasks done
Collaborator
|
Review of head BLOCKED: this was CI still running. The run started at 13:32Z. At 13:38Z, Checked:
SHOULD
NIT
Nothing blocks. Merging at AI-assisted. |
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.
Takeover of #3402 by @Ammmae0x.
Change
414874b6(@Ammmae0x, unchanged): thes0_pairguard insrc/gfx1013_direct_compute.inlacceptss0 == 106(VCC) as the 64-bit source ofs_bcnt0_i32_b64,s_bcnt1_i32_b64,s_ff0_i32_b64,s_ff1_i32_b64,s_flbit_i32_b64ands_flbit_i32_i64. It addsnative_salu_bitscan64_vcc_controls/native_salu_bitscan64_vcc_hardware, switches two existing VCC refusals toM0, and updatesdocs/experiments/native-direct-salu-bitscan64.md.863e9549: merge ofmainc04e0dd6, no conflict.ee117c4f(tests only, 2 files):tests/native_scalar_mask64_check.py: removes the commentVCC stays refused as a 64-bit count sourceand the twocount_program()cases (64 and 32 threads) that expectedinvalid s_bcnt1_i32_b64 source.count_program()defaults tosrc=106; the guard change stops refusing that source, so the two cases no longer hold (not run on414874b6alone; this is from reading the guard).count_program(src=107)stays.tests/native_salu_bitscan64_vcc_check.py: adds a refusal casesop1(FF1_64, 24, VCC + 1)expectinginvalid s_ff1_i32_b64 source, so the new controls also refusevcc_hi(107) as a source. The printed count goes from 6 to 7 invalid forms.git diff --stat c04e0dd6 ee117c4f: 7 files, +268 -8.git merge-tree --write-tree --name-only origin/main ee117c4fagainstmain17b662a2exits 0.Verification
Head
ee117c4f, Windows, network off,devpreset configured with-DX2W_WITH_OPUS=OFF, full build (exit 0), a hardware adapter.ctest --preset dev --no-tests=error -R '^(native_salu_bitscan64|native_wave64_exec_salu|native_scalar_mask64_)'-> exit 0Not covered
_controlsand_hardwaretests.native_salu_bitscan64_vcc_hardwaretook 57.59 s here against its 60 sTIMEOUT.releasepreset not run on this head.cmp_lt16/cmp_eq0cases expectvcc_hi == 0without setting it.gfx2hlsltext translator and the pixel path are untouched.Refs #3402, #3224, #2935