Correct scalar shader operands and condition flags #315

Merged
TaynanGT merged 2 commits from upstream-pr/315 into main 2026-11-27 15:50:32 +00:00
TaynanGT commented 2026-11-27 15:44:51 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T15:44:51Z.


The scalar usage table now covers the range of operand codes returned by the decoder. The regression exercises spill analysis with codes above 127. This ports VIctory-NVIDIA #53 by illuminatedfellow.

Scalar min/max now set SCC from the operand comparison specified in the RDNA 2 ISA. The dispatch test covers signed and unsigned comparisons, equal operands, and zero results. Version 12 regenerates cached translations with the corrected flag. Thanks to 11run11 and simbaui4life for the reports in Belobug #634 and VIctory-7900XTX #404.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5529352787 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/315). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T15:44:51Z. --- The scalar usage table now covers the range of operand codes returned by the decoder. The regression exercises spill analysis with codes above 127. This ports [VIctory-NVIDIA #53](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/53) by illuminatedfellow. Scalar min/max now set SCC from the operand comparison specified in the [RDNA 2 ISA](https://docs.amd.com/v/u/en-US/rdna2-shader-instruction-set-architecture). The dispatch test covers signed and unsigned comparisons, equal operands, and zero results. Version 12 regenerates cached translations with the corrected flag. Thanks to 11run11 and simbaui4life for the reports in [Belobug #634](https://github.com/Belobug/VIctory-Belobug-AMD/pull/634) and [VIctory-7900XTX #404](https://github.com/avatarmanz/VIctory-7900XTX/pull/404).
chatgpt-codex-connector[bot] commented 2026-11-27 15:45:06 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by chatgpt-codex-connector[bot] on 2026-11-27T15:45:06Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T15:46:09.712355Z 3c83a33 PR opened
🔒 Security Review ✅ Completed 2026-11-27T15:47:46.774601Z 3c83a33 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7222437005 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/315#issuecomment-7222437005). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/apps/chatgpt-codex-connector) on 2026-11-27T15:45:06Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"3c83a339ca4b248f8b1f0b4fbb953453c82e4c71","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"3c83a339ca4b248f8b1f0b4fbb953453c82e4c71","has_any_findings":null,"has_unresolved_findings":null,"status":"completed"}} --> <!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"3c83a339ca4b248f8b1f0b4fbb953453c82e4c71","mergeGateEnabled":false,"pullRequestNumber":315,"repository":"TaynanGT/Vice-Tay","status":"completed"} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-27T15:46:09.712355Z">2026-11-27T15:46:09.712355Z</relative-time> | `3c83a33` | PR opened | | 🔒 **Security Review** | ✅ **Completed** <relative-time datetime="2026-11-27T15:47:46.774601Z">2026-11-27T15:47:46.774601Z</relative-time> | `3c83a33` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
TaynanGT/Vice-Tay!315
No description provided.