diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-07-16 21:39:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 20:39:08 +0100 |
commit | 016262514d46cd51f1f2298bc7583ef44504a90d (patch) | |
tree | ebff24929acfe89fe7633854a6d585b5d75adecb /src | |
parent | 326749498bed4360e5a4b11fc67d5ec7cb9a3076 (diff) |
cpu: Hotfix missing ToNearest rounding mode cases1.1.963
Diffstat (limited to 'src')
-rw-r--r-- | src/ARMeilleure/Instructions/SoftFloat.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ARMeilleure/Instructions/SoftFloat.cs b/src/ARMeilleure/Instructions/SoftFloat.cs index 05975d04..a67349e6 100644 --- a/src/ARMeilleure/Instructions/SoftFloat.cs +++ b/src/ARMeilleure/Instructions/SoftFloat.cs @@ -1448,6 +1448,7 @@ namespace ARMeilleure.Instructions { var overflowToInf = fpcr.GetRoundingMode() switch { + FPRoundingMode.ToNearest => true, FPRoundingMode.TowardsPlusInfinity => !sign, FPRoundingMode.TowardsMinusInfinity => sign, FPRoundingMode.TowardsZero => false, @@ -2879,6 +2880,7 @@ namespace ARMeilleure.Instructions { var overflowToInf = fpcr.GetRoundingMode() switch { + FPRoundingMode.ToNearest => true, FPRoundingMode.TowardsPlusInfinity => !sign, FPRoundingMode.TowardsMinusInfinity => sign, FPRoundingMode.TowardsZero => false, |