diff --git a/Ryujinx.Tests/Cpu/CpuTest.cs b/Ryujinx.Tests/Cpu/CpuTest.cs
index 76f107f25c..24585fe78f 100644
--- a/Ryujinx.Tests/Cpu/CpuTest.cs
+++ b/Ryujinx.Tests/Cpu/CpuTest.cs
@@ -178,26 +178,11 @@ namespace Ryujinx.Tests.Cpu
return GetThreadState();
}
- /// Rounding Mode control field.
- public enum RMode
- {
- /// Round to Nearest (RN) mode.
- RN,
- /// Round towards Plus Infinity (RP) mode.
- RP,
- /// Round towards Minus Infinity (RM) mode.
- RM,
- /// Round towards Zero (RZ) mode.
- RZ
- };
-
/// Floating-point Control Register.
protected enum FPCR
{
- /// Rounding Mode control field.
- RMode = 22,
/// Default NaN mode control bit.
- DN = 25
+ DN = 25
}
/// Floating-point Status Register.
@@ -217,13 +202,29 @@ namespace Ryujinx.Tests.Cpu
IXC = 1 << 4,
/// Input Denormal cumulative floating-point exception bit.
IDC = 1 << 7,
+
/// Cumulative saturation bit.
- QC = 1 << 27
+ QC = 1 << 27
}
- [Flags] protected enum FpSkips { None = 0, IfNaN_S = 1, IfNaN_D = 2, IfUnderflow = 4, IfOverflow = 8 };
+ [Flags] protected enum FpSkips
+ {
+ None = 0,
- protected enum FpTolerances { None, UpToOneUlps_S, UpToOneUlps_D };
+ IfNaN_S = 1,
+ IfNaN_D = 2,
+
+ IfUnderflow = 4,
+ IfOverflow = 8
+ }
+
+ protected enum FpTolerances
+ {
+ None,
+
+ UpToOneUlps_S,
+ UpToOneUlps_D
+ }
protected void CompareAgainstUnicorn(
FPSR FpsrMask = FPSR.None,