summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-11-13 14:48:25 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-11-13 14:56:13 +0100
commit726ce582abb800a809ac144f50a7aa20e3fadcef (patch)
tree8b4f10f8f10fbbe78e0c11fb8f1b67cd6f3ec8d8 /tools
parent61ff0d658e0d0fd30dd433ccb4b77e04e5f9293e (diff)
remove SSE detection code (but keep SSE2)
For corner case CPUs out there that support SSE and not SSE2 it makes more sense to use the "fallback" code path instead of writing a SSE only version. For this reason detecting SSE is not relevant anymore - so removing it. Change-Id: I3f1425af2cb5cdf9fba699e2996014598a15b5c1
Diffstat (limited to 'tools')
-rw-r--r--tools/source/misc/cpuid.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/source/misc/cpuid.cxx b/tools/source/misc/cpuid.cxx
index 1d0518c2442e..b4406befb0e8 100644
--- a/tools/source/misc/cpuid.cxx
+++ b/tools/source/misc/cpuid.cxx
@@ -36,12 +36,6 @@ static void getCpuId(uint32_t array[4])
#endif
}
-bool hasSSE()
-{
- uint32_t cpuInfoArray[] = {0, 0, 0, 0};
- getCpuId(cpuInfoArray);
- return (cpuInfoArray[3] & (1 << 25)) != 0;
-}
bool hasSSE2()
{
uint32_t cpuInfoArray[] = {0, 0, 0, 0};
@@ -51,7 +45,6 @@ bool hasSSE2()
#else
-bool hasSSE() { return false; }
bool hasSSE2() { return false; }
#endif