mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-22 20:17:16 +01:00
JitArm64: Remove unnecessary BindToRegister calls
BindToRegister is only needed when writing to a register.
This commit is contained in:
parent
9192128c50
commit
5931d74d52
@ -95,7 +95,6 @@ void JitArm64::mtmsr(UGeckoInstruction inst)
|
|||||||
if (imm_value)
|
if (imm_value)
|
||||||
EmitStoreMembase(gpr.GetImm(inst.RS));
|
EmitStoreMembase(gpr.GetImm(inst.RS));
|
||||||
|
|
||||||
gpr.BindToRegister(inst.RS, true);
|
|
||||||
STR(IndexType::Unsigned, gpr.R(inst.RS), PPC_REG, PPCSTATE_OFF(msr));
|
STR(IndexType::Unsigned, gpr.R(inst.RS), PPC_REG, PPCSTATE_OFF(msr));
|
||||||
|
|
||||||
if (!imm_value)
|
if (!imm_value)
|
||||||
@ -176,7 +175,6 @@ void JitArm64::mtsr(UGeckoInstruction inst)
|
|||||||
INSTRUCTION_START
|
INSTRUCTION_START
|
||||||
JITDISABLE(bJITSystemRegistersOff);
|
JITDISABLE(bJITSystemRegistersOff);
|
||||||
|
|
||||||
gpr.BindToRegister(inst.RS, true);
|
|
||||||
STR(IndexType::Unsigned, gpr.R(inst.RS), PPC_REG, PPCSTATE_OFF_SR(inst.SR));
|
STR(IndexType::Unsigned, gpr.R(inst.RS), PPC_REG, PPCSTATE_OFF_SR(inst.SR));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user