aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-07-03 21:54:05 -0300
committerGitHub <noreply@github.com>2018-07-03 21:54:05 -0300
commitc99b2884e4eb9adfb5b893ee84d7678262d19b06 (patch)
tree420e4e6dcf7f8adae38edca8a1284f6ad75f7e38 /ChocolArm64/Translation
parentc206239d28b33f6696b16639e35bf5c533de7cf9 (diff)
Remove broken adds/cmn with condition check optimization (#218)
Diffstat (limited to 'ChocolArm64/Translation')
-rw-r--r--ChocolArm64/Translation/AILEmitterCtx.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/ChocolArm64/Translation/AILEmitterCtx.cs b/ChocolArm64/Translation/AILEmitterCtx.cs
index a004a966..3fa46e96 100644
--- a/ChocolArm64/Translation/AILEmitterCtx.cs
+++ b/ChocolArm64/Translation/AILEmitterCtx.cs
@@ -187,11 +187,6 @@ namespace ChocolArm64.Translation
Ldloc(Tmp3Index, AIoType.Int, OptOpLastCompare.RegisterSize);
Ldloc(Tmp4Index, AIoType.Int, OptOpLastCompare.RegisterSize);
- if (OptOpLastCompare.Emitter == AInstEmit.Adds)
- {
- Emit(OpCodes.Neg);
- }
-
ILOp = BranchOps[Cond];
}
else if (IntCond < 14)