From 326777ca4a68b38c7a5e44c76291f09f07ddcf2e Mon Sep 17 00:00:00 2001 From: Merry Date: Sat, 1 Sep 2018 15:24:05 +0100 Subject: Ryujinx.Tests: Add unicorn to test framework (#389) * Ryujinx.Tests: Add unicorn to test framework * CpuTestSimdArithmetic: Comment out inaccurate results --- Ryujinx.Tests/Cpu/CpuTestSimdCrypto.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Ryujinx.Tests/Cpu/CpuTestSimdCrypto.cs') diff --git a/Ryujinx.Tests/Cpu/CpuTestSimdCrypto.cs b/Ryujinx.Tests/Cpu/CpuTestSimdCrypto.cs index cce0db63..1e58a68a 100644 --- a/Ryujinx.Tests/Cpu/CpuTestSimdCrypto.cs +++ b/Ryujinx.Tests/Cpu/CpuTestSimdCrypto.cs @@ -37,6 +37,7 @@ namespace Ryujinx.Tests.Cpu Assert.That(GetVectorE0(ThreadState.V1), Is.EqualTo(RoundKeyL)); Assert.That(GetVectorE1(ThreadState.V1), Is.EqualTo(RoundKeyH)); }); + CompareAgainstUnicorn(); } [Test, Description("AESE .16B, .16B")] @@ -66,6 +67,7 @@ namespace Ryujinx.Tests.Cpu Assert.That(GetVectorE0(ThreadState.V1), Is.EqualTo(RoundKeyL)); Assert.That(GetVectorE1(ThreadState.V1), Is.EqualTo(RoundKeyH)); }); + CompareAgainstUnicorn(); } [Test, Description("AESIMC .16B, .16B")] @@ -98,6 +100,7 @@ namespace Ryujinx.Tests.Cpu Assert.That(GetVectorE1(ThreadState.V1), Is.EqualTo(ValueH)); }); } + CompareAgainstUnicorn(); } [Test, Description("AESMC .16B, .16B")] @@ -130,6 +133,7 @@ namespace Ryujinx.Tests.Cpu Assert.That(GetVectorE1(ThreadState.V1), Is.EqualTo(ValueH)); }); } + CompareAgainstUnicorn(); } } } -- cgit v1.2.3