shader: lower s_quadmask_b32 and s_quadmask_b64 #108

Open
github-bot wants to merge 1 commit from github-bot/gh-108 into main AGit
Owner

@⁠GaiuLulius on GitHub · 2026-11-26 01:58 UTC · original
GaiuLulius:shader-lower-s-quadmask → main · +74 −0 · 2 files · 1 commits · open

🇧🇷 Português

Implementa o lowering das instruções escalares de quadmask da arquitetura GFX10/RDNA2 (s_quadmask_b32 e s_quadmask_b64). Reduz cada grupo consecutivo de quatro bits (quads/pixels) para um único bit e preserva o código de condição escalar (SCC = resultado diferente de zero). Inclui teste de regressão em valu_tests.rs.

🇺🇸 English

Lower scalar quadmask instructions for GFX10/RDNA2 (s_quadmask_b32 and s_quadmask_b64). Reduces each consecutive group of four bits to one bit and preserves the scalar condition code (SCC = nonzero result). Includes regression test in valu_tests.rs.

**@⁠GaiuLulius** on GitHub · 2026-11-26 01:58 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/108) `GaiuLulius:shader-lower-s-quadmask` → `main` · +74 −0 · 2 files · 1 commits · open ## 🇧🇷 Português Implementa o lowering das instruções escalares de quadmask da arquitetura GFX10/RDNA2 (s_quadmask_b32 e s_quadmask_b64). Reduz cada grupo consecutivo de quatro bits (quads/pixels) para um único bit e preserva o código de condição escalar (SCC = resultado diferente de zero). Inclui teste de regressão em valu_tests.rs. ## 🇺🇸 English Lower scalar quadmask instructions for GFX10/RDNA2 (s_quadmask_b32 and s_quadmask_b64). Reduces each consecutive group of four bits to one bit and preserves the scalar condition code (SCC = nonzero result). Includes regression test in valu_tests.rs.
## 🇧🇷 Português
Implementa o lowering das instruções escalares de quadmask da arquitetura GFX10/RDNA2 (s_quadmask_b32 e s_quadmask_b64).
Reduz cada grupo consecutivo de quatro bits (quads/pixels) para um único bit e preserva o código de condição escalar (SCC = resultado diferente de zero). Inclui teste de regressão em valu_tests.rs.

## 🇺🇸 English
Lower scalar quadmask instructions for GFX10/RDNA2 (s_quadmask_b32 and s_quadmask_b64).
Reduces each consecutive group of four bits to one bit and preserves the scalar condition code (SCC = nonzero result). Includes regression test in valu_tests.rs.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:44:12 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/108/head:github-bot/gh-108'
git switch 'github-bot/gh-108'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-108'
git switch 'github-bot/gh-108'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-108'
git switch 'github-bot/gh-108'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-108'
git switch 'main'
git merge --squash 'github-bot/gh-108'
git switch 'main'
git merge --ff-only 'github-bot/gh-108'
git switch 'main'
git merge 'github-bot/gh-108'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.