JitArm64: Remove unnecessary BindToRegister calls

BindToRegister is only needed when writing to a register.
This commit is contained in:
JosJuice 2023-08-19 19:46:53 +02:00
parent 9192128c50
commit 5931d74d52
1 changed files with 0 additions and 2 deletions

View File

@ -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));
}