[MPlayer-cvslog] r28366 - trunk/mpcommon.c

diego subversion at mplayerhq.hu
Sun Jan 25 23:52:00 CET 2009


Author: diego
Date: Sun Jan 25 23:52:00 2009
New Revision: 28366

Log:
Add SSSE3 and CMOV to CPU information printed on startup.

Modified:
   trunk/mpcommon.c

Modified: trunk/mpcommon.c
==============================================================================
--- trunk/mpcommon.c	Sun Jan 25 23:49:51 2009	(r28365)
+++ trunk/mpcommon.c	Sun Jan 25 23:52:00 2009	(r28366)
@@ -37,10 +37,10 @@ void print_version(const char* name)
     GetCpuCaps(&gCpuCaps);
 #if ARCH_X86
     mp_msg(MSGT_CPLAYER, MSGL_V,
-	   "CPUflags:  MMX: %d MMX2: %d 3DNow: %d 3DNowExt: %d SSE: %d SSE2: %d\n",
+	   "CPUflags:  MMX: %d MMX2: %d 3DNow: %d 3DNowExt: %d SSE: %d SSE2: %d SSSE3: %d\n",
 	   gCpuCaps.hasMMX, gCpuCaps.hasMMX2,
 	   gCpuCaps.has3DNow, gCpuCaps.has3DNowExt,
-	   gCpuCaps.hasSSE, gCpuCaps.hasSSE2);
+	   gCpuCaps.hasSSE, gCpuCaps.hasSSE2, gCpuCaps.hasSSSE3);
 #ifdef RUNTIME_CPUDETECT
     mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithRuntimeDetection);
 #else
@@ -63,6 +63,12 @@ void print_version(const char* name)
 #if HAVE_SSE2
     mp_msg(MSGT_CPLAYER,MSGL_V," SSE2");
 #endif
+#if HAVE_SSSE3
+    mp_msg(MSGT_CPLAYER,MSGL_V," SSSE3");
+#endif
+#if HAVE_CMOV
+    mp_msg(MSGT_CPLAYER,MSGL_V," CMOV");
+#endif
     mp_msg(MSGT_CPLAYER,MSGL_V,"\n");
 #endif /* RUNTIME_CPUDETECT */
 #endif /* ARCH_X86 */



More information about the MPlayer-cvslog mailing list