Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11575 from AdmiralCurtiss/mtmsr-5byte-jmp
Jit64: Use 5 byte jump in mtmsr for the CP interrupt check.
  • Loading branch information
degasus committed Feb 16, 2023
2 parents f004080 + 0c48324 commit 1903116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp
Expand Up @@ -460,7 +460,7 @@ void Jit64::mtmsr(UGeckoInstruction inst)
auto& system = Core::System::GetInstance();
MOV(64, R(RSCRATCH), ImmPtr(&system.GetProcessorInterface().m_interrupt_cause));
TEST(32, MatR(RSCRATCH), Imm32(ProcessorInterface::INT_CAUSE_CP));
FixupBranch cpInt = J_CC(CC_NZ);
FixupBranch cpInt = J_CC(CC_NZ, true);

MOV(32, PPCSTATE(pc), Imm32(js.compilerPC + 4));
WriteExternalExceptionExit();
Expand Down

0 comments on commit 1903116

Please sign in to comment.