diff options
-rw-r--r-- | include/tools/cpuid.hxx | 1 | ||||
-rw-r--r-- | tools/source/misc/cpuid.cxx | 7 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/tools/cpuid.hxx b/include/tools/cpuid.hxx index 316e656c06cb..244512989cb6 100644 --- a/include/tools/cpuid.hxx +++ b/include/tools/cpuid.hxx @@ -18,7 +18,6 @@ namespace tools { namespace cpuid { - TOOLS_DLLPUBLIC bool hasSSE(); TOOLS_DLLPUBLIC bool hasSSE2(); } } 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 |