Fix errors 2

This commit is contained in:
MS-DOS1999 2018-03-21 20:34:56 +01:00 committed by GitHub
parent 9e73f07df8
commit acfcd98784
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,22 +67,22 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
public void Frinta_S(uint A, bool DefaultNaN, uint Result)
{
int FpcrTemp = 0x0;
@ -104,8 +104,8 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0x2E219820u, 0x3fc000003fc00000ul, 0x3fc000003fc00000ul, false, 0x4000000040000000ul, 0x0000000000000000ul)]
[TestCase(0x2E218820u, 0x0000000080000000ul, 0x0000000000000000ul, false, 0x0000000080000000ul, 0x0000000000000000ul)]
[TestCase(0x2E218820u, 0x7F800000FF800000ul, 0x0000000000000000ul, false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0x2E218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test.", Ignore = "NaN test."]
[TestCase(0x2E218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
public void Frinta_V(uint Opcode, ulong A, ulong B, bool DefaultNaN, ulong Result0, ulong Result1)
{
int FpcrTemp = 0x0;
@ -146,22 +146,22 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xFF800000u, 'P', false, 0xFF800000u)]
[TestCase(0xFF800000u, 'M', false, 0xFF800000u)]
[TestCase(0xFF800000u, 'Z', false, 0xFF800000u)]
[TestCase(0xFF800001u, 'N', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'P', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'M', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'Z', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'N', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'P', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'M', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'Z', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'N', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'P', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'M', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'Z', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'N', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'P', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'M', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'Z', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'N', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'P', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'M', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'Z', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'N', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'P', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'M', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'Z', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'N', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'P', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'M', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'Z', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'N', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'P', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'M', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'Z', true, 0x7FC00000u, Ignore = "NaN test.")]
public void Frinti_S(uint A, char RoundType, bool DefaultNaN, uint Result)
{
int FpcrTemp = 0x0;
@ -216,14 +216,14 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0x2EA19820u, 0x7F800000FF800000ul, 0x0000000000000000ul, 'P', false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0x2EA19820u, 0x7F800000FF800000ul, 0x0000000000000000ul, 'M', false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0x2EA19820u, 0x7F800000FF800000ul, 0x0000000000000000ul, 'Z', false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2EA19820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
public void Frinti_V(uint Opcode, ulong A, ulong B, char RoundType, bool DefaultNaN, ulong Result0, ulong Result1)
{
int FpcrTemp = 0x0;
@ -280,22 +280,22 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
public void Frintm_S(uint A, bool DefaultNaN, uint Result)
{
int FpcrTemp = 0x0;
@ -314,8 +314,8 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xE219820u, 0x3f99999a3fe66666ul, 0x3f99999a3fe66666ul, false, 0x3f8000003f800000ul, 0x0000000000000000ul)]
[TestCase(0xE219820u, 0x0000000080000000ul, 0x0000000000000000ul, false, 0x0000000080000000ul, 0x0000000000000000ul)]
[TestCase(0xE219820u, 0x7F800000FF800000ul, 0x0000000000000000ul, false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0xE219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0xE219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0xE219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0xE219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
public void Frintm_V(uint Opcode, ulong A, ulong B, bool DefaultNaN, ulong Result0, ulong Result1)
{
int FpcrTemp = 0x0;
@ -354,22 +354,22 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
public void Frintn_S(uint A, bool DefaultNaN, uint Result)
{
int FpcrTemp = 0x0;
@ -391,8 +391,8 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xE218820u, 0x3fc000003fc00000ul, 0x3fc000003fc00000ul, false, 0x4000000040000000ul, 0x0000000000000000ul)]
[TestCase(0xE218820u, 0x0000000080000000ul, 0x0000000000000000ul, false, 0x0000000080000000ul, 0x0000000000000000ul)]
[TestCase(0xE218820u, 0x7F800000FF800000ul, 0x0000000000000000ul, false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0xE218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test.", Ignore = "NaN test."]
[TestCase(0xE218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test.", Ignore = "NaN test."]
[TestCase(0xE218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0xE218820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
public void Frintn_V(uint Opcode, ulong A, ulong B, bool DefaultNaN, ulong Result0, ulong Result1)
{
int FpcrTemp = 0x0;
@ -431,22 +431,22 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800000u, false, 0xFF800000u)]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, true, 0x7FC00000u, Ignore = "NaN test.")]
public void Frintp_S(uint A, bool DefaultNaN, uint Result)
{
int FpcrTemp = 0x0;
@ -465,8 +465,8 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xEA18820u, 0x3f99999a3fe66666ul, 0x3f99999a3fe66666ul, false, 0x4000000040000000ul, 0x0000000000000000ul)]
[TestCase(0xEA18820u, 0x0000000080000000ul, 0x0000000000000000ul, false, 0x0000000080000000ul, 0x0000000000000000ul)]
[TestCase(0xEA18820u, 0x7F800000FF800000ul, 0x0000000000000000ul, false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0xEA18820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0xEA18820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0xEA18820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0xEA18820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
public void Frintp_V(uint Opcode, ulong A, ulong B, bool DefaultNaN, ulong Result0, ulong Result1)
{
int FpcrTemp = 0x0;
@ -507,22 +507,22 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0xFF800000u, 'P', false, 0xFF800000u)]
[TestCase(0xFF800000u, 'M', false, 0xFF800000u)]
[TestCase(0xFF800000u, 'Z', false, 0xFF800000u)]
[TestCase(0xFF800001u, 'N', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'P', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'M', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'Z', false, 0xFFC00001u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'N', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'P', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'M', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'Z', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'N', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'P', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'M', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'Z', false, 0x7FC00002u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'N', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'P', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'M', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0x7FC00002u, 'Z', true, 0x7FC00000u), Ignore = "NaN test."]
[TestCase(0xFF800001u, 'N', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'P', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'M', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'Z', false, 0xFFC00001u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'N', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'P', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'M', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0xFF800001u, 'Z', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'N', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'P', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'M', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'Z', false, 0x7FC00002u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'N', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'P', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'M', true, 0x7FC00000u, Ignore = "NaN test.")]
[TestCase(0x7FC00002u, 'Z', true, 0x7FC00000u, Ignore = "NaN test.")]
public void Frintx_S(uint A, char RoundType, bool DefaultNaN, uint Result)
{
int FpcrTemp = 0x0;
@ -577,14 +577,14 @@ namespace Ryujinx.Tests.Cpu
[TestCase(0x2E219820u, 0x7F800000FF800000ul, 0x0000000000000000ul, 'P', false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0x2E219820u, 0x7F800000FF800000ul, 0x0000000000000000ul, 'M', false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0x2E219820u, 0x7F800000FF800000ul, 0x0000000000000000ul, 'Z', false, 0x7F800000FF800000ul, 0x0000000000000000ul)]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', false, 0xFFC000017FC00002ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', true, 0x7FC000007FC00000ul, 0x0000000000000000ul), Ignore = "NaN test."]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', false, 0xFFC000017FC00002ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'N', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'P', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'M', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
[TestCase(0x2E219820u, 0xFF8000017FC00002ul, 0x0000000000000000ul, 'Z', true, 0x7FC000007FC00000ul, 0x0000000000000000ul, Ignore = "NaN test.")]
public void Frintx_V(uint Opcode, ulong A, ulong B, char RoundType, bool DefaultNaN, ulong Result0, ulong Result1)
{
int FpcrTemp = 0x0;