[MPlayer-cvslog] CVS: main cpudetect.c,1.37,1.38

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Mon Jan 10 19:33:53 CET 2005


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv6578

Modified Files:
	cpudetect.c 
Log Message:
assume OS support SSE on x86_64

Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- cpudetect.c	21 Oct 2004 11:55:19 -0000	1.37
+++ cpudetect.c	10 Jan 2005 18:33:51 -0000	1.38
@@ -320,7 +320,10 @@
  */
 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);
 




More information about the MPlayer-cvslog mailing list