From 23fb88c5fec8df5c7307ae63c3756b015a21ba30 Mon Sep 17 00:00:00 2001 From: Sacha Date: Wed, 6 Mar 2013 13:25:26 +1000 Subject: [PATCH] Enable optimisation codepath (left+right combines). --- Core/MIPS/ARM/ArmCompLoadStore.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Core/MIPS/ARM/ArmCompLoadStore.cpp b/Core/MIPS/ARM/ArmCompLoadStore.cpp index 99cba9d747..51d8375838 100644 --- a/Core/MIPS/ARM/ArmCompLoadStore.cpp +++ b/Core/MIPS/ARM/ArmCompLoadStore.cpp @@ -98,7 +98,6 @@ namespace MIPSComp // Don't load anything into $zr return; } - /* // Optimisation: Combine to single unaligned load/store switch(o) { @@ -115,7 +114,7 @@ namespace MIPSComp if (!js.inDelaySlot && nextOp == desiredOp) { EatInstruction(nextOp); - nextOp = ((load ? 35 : 43) << 26) | (nextOp & 0x3FFFFFF); //lw, sw + nextOp = ((load ? 35 : 43) << 26) | ((left ? nextOp : op) & 0x3FFFFFF); //lw, sw Comp_ITypeMem(nextOp); return; } @@ -123,7 +122,7 @@ namespace MIPSComp } default: break; - }*/ + } switch (o) {