[MPlayer-cygwin] Is SSE ok under mingw now?

Goodwu younggoodwu at yahoo.com.cn
Fri Jul 22 03:11:08 CEST 2005


I opened SSE support under mingw ( as following ), but it does not crash. I've tried several videos and all plays fine. Is it to say that SSE support is ok under mingw now?
----------------------------------------------------------------------------------------------------------------------
Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.40
diff -u -r1.40 cpudetect.c
--- cpudetect.c 25 May 2005 08:48:31 -0000      1.40
+++ cpudetect.c 22 Jul 2005 00:58:50 -0000
@@ -169,7 +169,7 @@
 #endif
 
                /* FIXME: Does SSE2 need more OS support, too? */
-#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__CYGWIN__) || defined(__OpenBSD__) || defined(__DragonFly__)
+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__CYGWIN__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__MINGW32__)
                if (caps->hasSSE)
                        check_os_katmai_support();
                if (!caps->hasSSE)
----------------------------------------------------------------------------------------------------------------------
After modify the mplayer shows the following messages:
 				
MPlayer dev-CVS-050721-02:09-4.0.1 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


        Goodwu
        younggoodwu at yahoo.com.cn
          2005-07-22


More information about the MPlayer-cygwin mailing list