Merge pull request #12429 from JosJuice/jitarm64-mtsrin-64-bit
JitArm64: Use 64-bit register for address in mtsrin
This commit is contained in:
commit
519234949e
|
@ -209,8 +209,8 @@ void JitArm64::mtsrin(UGeckoInstruction inst)
|
|||
ARM64Reg addr = gpr.GetReg();
|
||||
|
||||
UBFM(index, RB, 28, 31);
|
||||
ADDI2R(addr, PPC_REG, PPCSTATE_OFF_SR(0), addr);
|
||||
STR(RD, addr, ArithOption(EncodeRegTo64(index), true));
|
||||
ADDI2R(EncodeRegTo64(addr), PPC_REG, PPCSTATE_OFF_SR(0), EncodeRegTo64(addr));
|
||||
STR(RD, EncodeRegTo64(addr), ArithOption(EncodeRegTo64(index), true));
|
||||
|
||||
gpr.Unlock(index, addr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue