From 5931d74d52023c7c5238bf22e899ea7ea332ef9c Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 19 Aug 2023 19:46:53 +0200 Subject: [PATCH] JitArm64: Remove unnecessary BindToRegister calls BindToRegister is only needed when writing to a register. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp index 7205cde681..32ac469cfb 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp @@ -95,7 +95,6 @@ void JitArm64::mtmsr(UGeckoInstruction inst) if (imm_value) EmitStoreMembase(gpr.GetImm(inst.RS)); - gpr.BindToRegister(inst.RS, true); STR(IndexType::Unsigned, gpr.R(inst.RS), PPC_REG, PPCSTATE_OFF(msr)); if (!imm_value) @@ -176,7 +175,6 @@ void JitArm64::mtsr(UGeckoInstruction inst) INSTRUCTION_START JITDISABLE(bJITSystemRegistersOff); - gpr.BindToRegister(inst.RS, true); STR(IndexType::Unsigned, gpr.R(inst.RS), PPC_REG, PPCSTATE_OFF_SR(inst.SR)); }