mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-03 22:43:07 +00:00
Convert new CPU tests
This commit is contained in:
parent
9ddb42c170
commit
7a1fdb58f1
1 changed files with 11 additions and 9 deletions
|
@ -525,16 +525,18 @@ namespace Ryujinx.Tests.Cpu
|
|||
CompareAgainstUnicorn();
|
||||
}
|
||||
|
||||
[Test, Pairwise, Description("VRINTR.F<size> <Sd>, <Sm>")]
|
||||
[Platform(Exclude = "Linux,MacOsX")] // Instruction isn't testable due to Unicorn.
|
||||
public void Vrintr([Values(0u, 1u)] uint rd,
|
||||
[Values(0u, 1u)] uint rm,
|
||||
[Values(2u, 3u)] uint size,
|
||||
[ValueSource(nameof(_1D_F_))] ulong s0,
|
||||
[ValueSource(nameof(_1D_F_))] ulong s1,
|
||||
[ValueSource(nameof(_1D_F_))] ulong s2,
|
||||
[Values(RMode.Rn, RMode.Rm, RMode.Rp)] RMode rMode)
|
||||
[Theory(DisplayName = "VRINTR.F<size> <Sd>, <Sm>")]
|
||||
[PairwiseData]
|
||||
public void Vrintr([CombinatorialValues(0u, 1u)] uint rd,
|
||||
[CombinatorialValues(0u, 1u)] uint rm,
|
||||
[CombinatorialValues(2u, 3u)] uint size,
|
||||
[CombinatorialMemberData(nameof(_1D_F_))] ulong s0,
|
||||
[CombinatorialMemberData(nameof(_1D_F_))] ulong s1,
|
||||
[CombinatorialMemberData(nameof(_1D_F_))] ulong s2,
|
||||
[CombinatorialValues(RMode.Rn, RMode.Rm, RMode.Rp)] RMode rMode)
|
||||
{
|
||||
Skip.If(OperatingSystem.IsLinux() || OperatingSystem.IsMacOS(), "Instruction not testable with Unicorn");
|
||||
|
||||
uint opcode = 0xEEB60A40;
|
||||
|
||||
V128 v0, v1, v2;
|
||||
|
|
Loading…
Reference in a new issue