Ryujinx.Tests: Add unicorn to test framework (#389)
* Ryujinx.Tests: Add unicorn to test framework * CpuTestSimdArithmetic: Comment out inaccurate results
This commit is contained in:
parent
42dc925c3d
commit
326777ca4a
31 changed files with 1345 additions and 1 deletions
|
@ -49,6 +49,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
Assert.That(ThreadState.Carry, Is.EqualTo(Shared.PSTATE.C));
|
||||
Assert.That(ThreadState.Overflow, Is.EqualTo(Shared.PSTATE.V));
|
||||
});
|
||||
CompareAgainstUnicorn();
|
||||
}
|
||||
|
||||
[Test, Description("CCMN <Wn>, #<imm>, #<nzcv>, <cond>")]
|
||||
|
@ -81,6 +82,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
Assert.That(ThreadState.Carry, Is.EqualTo(Shared.PSTATE.C));
|
||||
Assert.That(ThreadState.Overflow, Is.EqualTo(Shared.PSTATE.V));
|
||||
});
|
||||
CompareAgainstUnicorn();
|
||||
}
|
||||
|
||||
[Test, Description("CCMP <Xn>, #<imm>, #<nzcv>, <cond>")]
|
||||
|
@ -113,6 +115,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
Assert.That(ThreadState.Carry, Is.EqualTo(Shared.PSTATE.C));
|
||||
Assert.That(ThreadState.Overflow, Is.EqualTo(Shared.PSTATE.V));
|
||||
});
|
||||
CompareAgainstUnicorn();
|
||||
}
|
||||
|
||||
[Test, Description("CCMP <Wn>, #<imm>, #<nzcv>, <cond>")]
|
||||
|
@ -145,6 +148,7 @@ namespace Ryujinx.Tests.Cpu
|
|||
Assert.That(ThreadState.Carry, Is.EqualTo(Shared.PSTATE.C));
|
||||
Assert.That(ThreadState.Overflow, Is.EqualTo(Shared.PSTATE.V));
|
||||
});
|
||||
CompareAgainstUnicorn();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue