diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-02-15 01:35:44 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-02-15 01:35:44 -0300 |
| commit | be1d01bf7dfd73f44b0bb8398c57da84f3b5ef87 (patch) | |
| tree | c84717ae4e091ddf699084e9673db03f7a3dfc2c | |
| parent | 7c314eadcfc30e0655799e012e795788af8dc84e (diff) | |
Shouldn't have undone this
| -rw-r--r-- | Ryujinx/Cpu/Instruction/AInstEmitAluHelper.cs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Ryujinx/Cpu/Instruction/AInstEmitAluHelper.cs b/Ryujinx/Cpu/Instruction/AInstEmitAluHelper.cs index 5dc3babb..57ec25dd 100644 --- a/Ryujinx/Cpu/Instruction/AInstEmitAluHelper.cs +++ b/Ryujinx/Cpu/Instruction/AInstEmitAluHelper.cs @@ -21,22 +21,13 @@ namespace ChocolArm64.Instruction public static void EmitAddsVCheck(AILEmitterCtx Context) { - //V = (Rd ^ Rn) & (Rd ^ Rm) & ~(Rn ^ Rm) < 0 - Context.EmitSttmp(); - Context.EmitLdtmp(); - Context.EmitLdtmp(); + //V = (Rd ^ Rn) & ~(Rn ^ Rm) < 0 + Context.Emit(OpCodes.Dup); EmitDataLoadRn(Context); Context.Emit(OpCodes.Xor); - Context.EmitLdtmp(); - - EmitDataLoadOper2(Context); - - Context.Emit(OpCodes.Xor); - Context.Emit(OpCodes.And); - EmitDataLoadOpers(Context); Context.Emit(OpCodes.Xor); |
