Merge pull request #12341 from JosJuice/jitarm64-msr-pc-order

JitArm64: Fix JitAsm without entry points map
This commit is contained in:
Admiral H. Curtiss 2023-11-30 20:44:33 +01:00 committed by GitHub
commit 529a51d653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ void JitArm64::GenerateAsm()
// b.effectiveAddress != addr || b.msrBits != msr
static_assert(offsetof(JitBlockData, msrBits) + 4 ==
offsetof(JitBlockData, effectiveAddress));
LDP(IndexType::Signed, msr, pc, block, offsetof(JitBlockData, effectiveAddress));
LDP(IndexType::Signed, msr, pc, block, offsetof(JitBlockData, msrBits));
LDR(IndexType::Unsigned, msr2, PPC_REG, PPCSTATE_OFF(msr));
CMP(pc, DISPATCHER_PC);
FixupBranch pc_mismatch = B(CC_NEQ);