mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-12 22:10:29 +02:00
ARM64 store optimization bugfix
This commit is contained in:
1 parent
aaa8350591
commit
47f68ae3a3
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user