summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2013-11-03 23:56:30 +0100
committerTillmann Karras <tilkax@gmail.com>2013-11-13 06:26:57 +0100
commit288bef280784e02cc80f0aee9360e45548c06e9a (patch)
tree493c75940bf7cd5ab13cfba88700675101bf80a8 /Source/Core
parentd78c8c21a21a58f6bcd0fd8c01648c5c0bf2cc8b (diff)
x64: add small warning if CPU has SSE2 but not DAZ
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Src/x64CPUDetect.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/x64CPUDetect.cpp b/Source/Core/Common/Src/x64CPUDetect.cpp
index d6f36eb142..2fa25e8074 100644
--- a/Source/Core/Common/Src/x64CPUDetect.cpp
+++ b/Source/Core/Common/Src/x64CPUDetect.cpp
@@ -250,7 +250,12 @@ std::string CPUInfo::Summarize()
{
std::string sum(cpu_string);
if (bSSE) sum += ", SSE";
- if (bSSE2) sum += ", SSE2";
+ if (bSSE2)
+ {
+ sum += ", SSE2";
+ if (!bFlushToZero)
+ sum += " (but not DAZ!)";
+ }
if (bSSE3) sum += ", SSE3";
if (bSSSE3) sum += ", SSSE3";
if (bSSE4_1) sum += ", SSE4.1";