Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9997 from JosJuice/jitarm64-store-w8
JitArm64: Fix W8 slowmem store
  • Loading branch information
lioncash committed Aug 5, 2021
2 parents 942545b + e753455 commit 37115f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Core/PowerPC/JitArm64/JitArm64_BackPatch.cpp
Expand Up @@ -197,6 +197,8 @@ void JitArm64::EmitBackpatchRoutine(u32 flags, bool fastmem, bool do_farcode, AR
}
else if (flags & BackPatchInfo::FLAG_STORE)
{
MOV(ARM64Reg::W0, RS);

const bool reverse = (flags & BackPatchInfo::FLAG_REVERSE) != 0;

if (flags & BackPatchInfo::FLAG_SIZE_32)
Expand All @@ -206,7 +208,6 @@ void JitArm64::EmitBackpatchRoutine(u32 flags, bool fastmem, bool do_farcode, AR
else
MOVP2R(ARM64Reg::X8, &PowerPC::Write_U8);

MOV(ARM64Reg::W0, RS);
BLR(ARM64Reg::X8);
}
else if (flags & BackPatchInfo::FLAG_ZERO_256)
Expand Down

0 comments on commit 37115f0

Please sign in to comment.