summaryrefslogtreecommitdiff
path: root/Source/Core/Common/x64FPURoundMode.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-06-23 02:17:36 +0200
committerTillmann Karras <tilkax@gmail.com>2015-06-23 02:17:36 +0200
commitde3c01dc2a6c7a2a0a5b4b73edbc27d2f311d002 (patch)
treea5f175d2e857268490bbf1841e422775d06ed4ec /Source/Core/Common/x64FPURoundMode.cpp
parent319394d63e2d86d1d2f8c45af39f439b9f0b6ad0 (diff)
x64FPURoundMode: fix comments
Diffstat (limited to 'Source/Core/Common/x64FPURoundMode.cpp')
-rw-r--r--Source/Core/Common/x64FPURoundMode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/x64FPURoundMode.cpp b/Source/Core/Common/x64FPURoundMode.cpp
index 0ebbaeefd0..d96c1bfa08 100644
--- a/Source/Core/Common/x64FPURoundMode.cpp
+++ b/Source/Core/Common/x64FPURoundMode.cpp
@@ -42,9 +42,9 @@ namespace FPURoundMode
static const u32 simd_rounding_table[] =
{
(0 << 13) | EXCEPTION_MASK, // nearest
- (3 << 13) | EXCEPTION_MASK, // -inf
+ (3 << 13) | EXCEPTION_MASK, // zero
(2 << 13) | EXCEPTION_MASK, // +inf
- (1 << 13) | EXCEPTION_MASK, // zero
+ (1 << 13) | EXCEPTION_MASK, // -inf
};
u32 csr = simd_rounding_table[rounding_mode];