mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-31 07:47:09 +02:00
Optimize CMN/ADDS to do a single comparision like CMP/SUBS (#576)
This commit is contained in:
parent
309b1b3905
commit
0bb388801f
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