Merge pull request #12341 from JosJuice/jitarm64-msr-pc-order
JitArm64: Fix JitAsm without entry points map
This commit is contained in:
commit
529a51d653
|
@ -133,7 +133,7 @@ void JitArm64::GenerateAsm()
|
||||||
// b.effectiveAddress != addr || b.msrBits != msr
|
// b.effectiveAddress != addr || b.msrBits != msr
|
||||||
static_assert(offsetof(JitBlockData, msrBits) + 4 ==
|
static_assert(offsetof(JitBlockData, msrBits) + 4 ==
|
||||||
offsetof(JitBlockData, effectiveAddress));
|
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));
|
LDR(IndexType::Unsigned, msr2, PPC_REG, PPCSTATE_OFF(msr));
|
||||||
CMP(pc, DISPATCHER_PC);
|
CMP(pc, DISPATCHER_PC);
|
||||||
FixupBranch pc_mismatch = B(CC_NEQ);
|
FixupBranch pc_mismatch = B(CC_NEQ);
|
||||||
|
|
Loading…
Reference in New Issue