[ARM] Clean up some host side register allocations I missed.
This commit is contained in:
parent
cf09974d61
commit
614a7c2081
|
@ -58,12 +58,10 @@ void JitArm::fnabsx(UGeckoInstruction inst)
|
||||||
|
|
||||||
ARMReg vB = fpr.R0(inst.FB);
|
ARMReg vB = fpr.R0(inst.FB);
|
||||||
ARMReg vD = fpr.R0(inst.FD, false);
|
ARMReg vD = fpr.R0(inst.FD, false);
|
||||||
ARMReg V0 = fpr.GetReg();
|
|
||||||
|
|
||||||
VABS(vD, vB);
|
VABS(vD, vB);
|
||||||
VNEG(vD, vD);
|
VNEG(vD, vD);
|
||||||
|
|
||||||
fpr.Unlock(V0);
|
|
||||||
if (inst.Rc) Helper_UpdateCR1(vD);
|
if (inst.Rc) Helper_UpdateCR1(vD);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -353,12 +353,9 @@ void JitArm::ps_nabs(UGeckoInstruction inst)
|
||||||
ARMReg vB1 = fpr.R1(b);
|
ARMReg vB1 = fpr.R1(b);
|
||||||
ARMReg vD0 = fpr.R0(d, false);
|
ARMReg vD0 = fpr.R0(d, false);
|
||||||
ARMReg vD1 = fpr.R1(d, false);
|
ARMReg vD1 = fpr.R1(d, false);
|
||||||
ARMReg V0 = fpr.GetReg();
|
|
||||||
|
|
||||||
VABS(vD0, vB0);
|
VABS(vD0, vB0);
|
||||||
VNEG(vD0, vD0);
|
VNEG(vD0, vD0);
|
||||||
VABS(vD1, vB1);
|
VABS(vD1, vB1);
|
||||||
VNEG(vD1, vD1);
|
VNEG(vD1, vD1);
|
||||||
|
|
||||||
fpr.Unlock(V0);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue