mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #2405] [MERGED] Fix S_LSHR_B32 #2707
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#2707
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/2405
Author: @DanielSvoboda
Created: 2/12/2025
Status: ✅ Merged
Merged: 2/12/2025
Merged by: @squidbus
Base:
main← Head:patch-1📝 Commits (1)
d3582a9Fix S_LSHR_B32📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
src/shader_recompiler/frontend/translate/scalar_alu.cpp(+2 -1)📄 Description
The shift value should be extracted from the 5 least significant bits of the second operand (S1.u[4:0]), to ensure that the shift is limited to values from 0 to 31, suitable for 32-bit operations
Instruction S_LSHR_B32
Description D.u = S0.u >> S1.u[4:0]. SCC = 1 if result is non-zero.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.