summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-10 18:33:51 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-10 18:33:51 +0000
commit2de16c0b07fd7bdb397f787afc930b195444af6b (patch)
tree86edaca11c170e474cefc45a6bb5151467b89743 /cpudetect.c
parentd8ec32f3fffd5d78dbe1b7e9e3dac3eef1d00b80 (diff)
downloadmpv-2de16c0b07fd7bdb397f787afc930b195444af6b.tar.bz2
mpv-2de16c0b07fd7bdb397f787afc930b195444af6b.tar.xz
assume OS support SSE on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14456 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpudetect.c b/cpudetect.c
index 65d7e5ed6d..ac0fba6906 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -320,7 +320,10 @@ LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep)
*/
static void check_os_katmai_support( void )
{
-#if defined(__FreeBSD__)
+#ifdef ARCH_X86_64
+ gCpuCaps.hasSSE=1;
+ gCpuCaps.hasSSE2=1;
+#elif defined(__FreeBSD__)
int has_sse=0, ret;
size_t len=sizeof(has_sse);