From cea396e9018b9e9103a34ea6ffd7f59df4f6ed6b Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 7 Mar 2013 02:09:13 -0800 Subject: [PATCH] armjit: Don't use R1 in the regcache. This way it can be used in swl/swr/ins as a temp reg. Note: those instructions are currently DISABLEd, though. --- Core/MIPS/ARM/ArmRegCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/MIPS/ARM/ArmRegCache.cpp b/Core/MIPS/ARM/ArmRegCache.cpp index 32b3111028..f3054a7c22 100644 --- a/Core/MIPS/ARM/ArmRegCache.cpp +++ b/Core/MIPS/ARM/ArmRegCache.cpp @@ -48,7 +48,7 @@ static const ARMReg *GetMIPSAllocationOrder(int &count) { // R8 is used to preserve flags in nasty branches. // R9 and upwards are reserved for jit basics. static const ARMReg allocationOrder[] = { - R12, R1, R2, R3, R4, R5, R6, R7, + R2, R3, R4, R5, R6, R7, R12, }; count = sizeof(allocationOrder) / sizeof(const int); return allocationOrder;