mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2797] [MERGED] Implementing DS_SUB_U32, DS_INC_U32, DS_DEC_U32. #2988
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2988
Loading…
Add table
Add a link
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/shadps4-emu/shadPS4/pull/2797
Author: @diegolix29
Created: 4/16/2025
Status: ✅ Merged
Merged: 4/17/2025
Merged by: @squidbus
Base:
main← Head:More-opcodes📝 Commits (3)
9c1827cImplementing DS_SUB_U32, DS_INC_U32, DS_DEC_U32, DS_WRITE_SRC2_B32, DS_WRITE_SRC2_B64.bbf89cdAdded ir instructions for new opcodes.981b3e4Suggestions📊 Changes
7 files changed (+89 additions, -0 deletions)
View changed files
📝
src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp(+21 -0)📝
src/shader_recompiler/backend/spirv/emit_spirv_instructions.h(+4 -0)📝
src/shader_recompiler/frontend/translate/data_share.cpp(+42 -0)📝
src/shader_recompiler/frontend/translate/translate.h(+3 -0)📝
src/shader_recompiler/ir/ir_emitter.cpp(+12 -0)📝
src/shader_recompiler/ir/ir_emitter.h(+4 -0)📝
src/shader_recompiler/ir/opcodes.inc(+3 -0)📄 Description
Based on AMD GCN ISA documentaion this pr add some of the missing opcode cases for read and write memory(DS), this is my first implementation of this cases so feel free to correct me if i missed something. Most of the implementations are based on the already done ones. This will only benefit games that use shared memory but for the long run i guess is better to add them first instead of being needed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.