[PR #833] [MERGED] Added S_ANDN2_B32 and S_NAND_B32 opcodes #1797

Closed
opened 2026-02-27 21:13:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/833
Author: @amiddendorp22
Created: 9/7/2024
Status: Merged
Merged: 9/9/2024
Merged by: @raphaelthegreat

Base: mainHead: opcode-s-andn2-b32


📝 Commits (7)

📊 Changes

2 files changed (+15 additions, -5 deletions)

View changed files

📝 src/shader_recompiler/frontend/translate/scalar_alu.cpp (+14 -4)
📝 src/shader_recompiler/frontend/translate/translate.h (+1 -1)

📄 Description

Implements S_ANDN2_B32 (shadps4-emu#496) and S_NAND_B32 using S_AND_B64 as a reference.

Still needs to be tested, none of the games I own seem to use this opcode.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/833 **Author:** [@amiddendorp22](https://github.com/amiddendorp22) **Created:** 9/7/2024 **Status:** ✅ Merged **Merged:** 9/9/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `opcode-s-andn2-b32` --- ### 📝 Commits (7) - [`8fed281`](https://github.com/shadps4-emu/shadPS4/commit/8fed281c1325c54a2fc6154d9381d7b5b734f8d3) Added S_ANDN2_B32 and S_NAND_B32 opcodes - [`3a06c40`](https://github.com/shadps4-emu/shadPS4/commit/3a06c40f2fc2b06b019492b9c747178f2326e5da) Update src/shader_recompiler/frontend/translate/scalar_alu.cpp - [`a88750e`](https://github.com/shadps4-emu/shadPS4/commit/a88750eea8d318e411a9cb245980a3879624fb1e) Fix result and src1 - [`f0f8f9c`](https://github.com/shadps4-emu/shadPS4/commit/f0f8f9c1c7c9fd8d1dd137622385bd8a287dfe48) update result - [`d70ef9b`](https://github.com/shadps4-emu/shadPS4/commit/d70ef9b6e8a13377812fbc03b6a2cc62127c7a6f) Update src1 - [`04edf7e`](https://github.com/shadps4-emu/shadPS4/commit/04edf7ec9ef4734a4dea2437d01a4bf5f0fbdacf) updating branch with main - [`8b9a734`](https://github.com/shadps4-emu/shadPS4/commit/8b9a734450cc067e0181b9cc1abb338a0a9e7f25) Merge branch 'opcode-s-andn2-b32' of https://github.com/amiddendorp22/shadPS4 into opcode-s-andn2-b32 ### 📊 Changes **2 files changed** (+15 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/shader_recompiler/frontend/translate/scalar_alu.cpp` (+14 -4) 📝 `src/shader_recompiler/frontend/translate/translate.h` (+1 -1) </details> ### 📄 Description Implements S_ANDN2_B32 (shadps4-emu#496) and S_NAND_B32 using S_AND_B64 as a reference. Still needs to be tested, none of the games I own seem to use this opcode. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:13:59 +03:00
Sign in to join this conversation.
No milestone
No project
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.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1797
No description provided.