Optimize CMN/ADDS to do a single comparision like CMP/SUBS (#576)
This commit is contained in:
parent
17ac118946
commit
948a758270
2 changed files with 49 additions and 9 deletions
|
@ -51,6 +51,8 @@ namespace ChocolArm64.Instructions
|
|||
|
||||
public static void Adds(ILEmitterCtx context)
|
||||
{
|
||||
context.TryOptMarkCondWithoutCmp();
|
||||
|
||||
EmitAluLoadOpers(context);
|
||||
|
||||
context.Emit(OpCodes.Add);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue