From 614a7c20813b8fdc637d2d97d8771c6026e6b1ba Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 7 Sep 2013 01:27:17 +0000 Subject: [PATCH] [ARM] Clean up some host side register allocations I missed. --- Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp | 2 -- Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp index 2295809b3f..36ba7054e5 100644 --- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp +++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_FloatingPoint.cpp @@ -58,12 +58,10 @@ void JitArm::fnabsx(UGeckoInstruction inst) ARMReg vB = fpr.R0(inst.FB); ARMReg vD = fpr.R0(inst.FD, false); - ARMReg V0 = fpr.GetReg(); VABS(vD, vB); VNEG(vD, vD); - fpr.Unlock(V0); if (inst.Rc) Helper_UpdateCR1(vD); } diff --git a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp index a5f7d1a1de..8a0f09f463 100644 --- a/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp +++ b/Source/Core/Core/Src/PowerPC/JitArm32/JitArm_Paired.cpp @@ -353,12 +353,9 @@ void JitArm::ps_nabs(UGeckoInstruction inst) ARMReg vB1 = fpr.R1(b); ARMReg vD0 = fpr.R0(d, false); ARMReg vD1 = fpr.R1(d, false); - ARMReg V0 = fpr.GetReg(); VABS(vD0, vB0); VNEG(vD0, vD0); VABS(vD1, vB1); VNEG(vD1, vD1); - - fpr.Unlock(V0); }