mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
ARM64 store optimization bugfix
This commit is contained in:
parent
aaa8350591
commit
47f68ae3a3
1 changed files with 1 additions and 1 deletions
|
@ -352,7 +352,7 @@ namespace MIPSComp {
|
|||
gpr.MapRegAsPointer(rs);
|
||||
|
||||
Arm64Gen::ARM64Reg ar;
|
||||
if (gpr.IsImm(rt) && gpr.GetImm(rt) == 0) {
|
||||
if (!load && gpr.IsImm(rt) && gpr.GetImm(rt) == 0) {
|
||||
// Can just store from the zero register directly.
|
||||
ar = WZR;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue