mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Merge pull request #12900 from Sintendo/jitarm64-remove-temp-gpr
JitArm64: Remove unused temp_gprs
This commit is contained in:
commit
1421c2d9ff
@ -132,8 +132,6 @@ void JitArm64::fp_arith(UGeckoInstruction inst)
|
|||||||
result_reg = reg_encoder(V1Q);
|
result_reg = reg_encoder(V1Q);
|
||||||
}
|
}
|
||||||
|
|
||||||
const ARM64Reg temp_gpr = m_accurate_nans && !single ? gpr.GetReg() : ARM64Reg::INVALID_REG;
|
|
||||||
|
|
||||||
switch (op5)
|
switch (op5)
|
||||||
{
|
{
|
||||||
case 18:
|
case 18:
|
||||||
@ -251,8 +249,6 @@ void JitArm64::fp_arith(UGeckoInstruction inst)
|
|||||||
fpr.Unlock(V0Q);
|
fpr.Unlock(V0Q);
|
||||||
if (V1Q != ARM64Reg::INVALID_REG)
|
if (V1Q != ARM64Reg::INVALID_REG)
|
||||||
fpr.Unlock(V1Q);
|
fpr.Unlock(V1Q);
|
||||||
if (temp_gpr != ARM64Reg::INVALID_REG)
|
|
||||||
gpr.Unlock(temp_gpr);
|
|
||||||
|
|
||||||
if (output_is_single)
|
if (output_is_single)
|
||||||
{
|
{
|
||||||
|
@ -141,8 +141,6 @@ void JitArm64::ps_arith(UGeckoInstruction inst)
|
|||||||
result_reg = reg_encoder(V1Q);
|
result_reg = reg_encoder(V1Q);
|
||||||
}
|
}
|
||||||
|
|
||||||
const ARM64Reg temp_gpr = m_accurate_nans && !singles ? gpr.GetReg() : ARM64Reg::INVALID_REG;
|
|
||||||
|
|
||||||
if (m_accurate_nans)
|
if (m_accurate_nans)
|
||||||
{
|
{
|
||||||
if (V0Q == ARM64Reg::INVALID_REG)
|
if (V0Q == ARM64Reg::INVALID_REG)
|
||||||
@ -304,8 +302,6 @@ void JitArm64::ps_arith(UGeckoInstruction inst)
|
|||||||
fpr.Unlock(V1Q);
|
fpr.Unlock(V1Q);
|
||||||
if (V2Q != ARM64Reg::INVALID_REG)
|
if (V2Q != ARM64Reg::INVALID_REG)
|
||||||
fpr.Unlock(V2Q);
|
fpr.Unlock(V2Q);
|
||||||
if (temp_gpr != ARM64Reg::INVALID_REG)
|
|
||||||
gpr.Unlock(temp_gpr);
|
|
||||||
|
|
||||||
ASSERT_MSG(DYNA_REC, singles == singles_func(),
|
ASSERT_MSG(DYNA_REC, singles == singles_func(),
|
||||||
"Register allocation turned singles into doubles in the middle of ps_arith");
|
"Register allocation turned singles into doubles in the middle of ps_arith");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user