parent
85aee64cd8
commit
3bd920638d
|
@ -153,8 +153,9 @@ void JitArm64::GenerateAsm()
|
||||||
SetJumpTarget(bail);
|
SetJumpTarget(bail);
|
||||||
do_timing = GetCodePtr();
|
do_timing = GetCodePtr();
|
||||||
// Write the current PC out to PPCSTATE
|
// Write the current PC out to PPCSTATE
|
||||||
STR(IndexType::Unsigned, DISPATCHER_PC, PPC_REG, PPCSTATE_OFF(pc));
|
static_assert(PPCSTATE_OFF(pc) <= 252);
|
||||||
STR(IndexType::Unsigned, DISPATCHER_PC, PPC_REG, PPCSTATE_OFF(npc));
|
static_assert(PPCSTATE_OFF(pc) + 4 == PPCSTATE_OFF(npc));
|
||||||
|
STP(IndexType::Signed, DISPATCHER_PC, DISPATCHER_PC, PPC_REG, PPCSTATE_OFF(pc));
|
||||||
|
|
||||||
// Check the state pointer to see if we are exiting
|
// Check the state pointer to see if we are exiting
|
||||||
// Gets checked on at the end of every slice
|
// Gets checked on at the end of every slice
|
||||||
|
|
Loading…
Reference in New Issue