changeset 28331:8461282f0eed

Add SSSE3 and CMOV to CPU information printed on startup. Fixes Bugzilla #1378.
author diego
date Sun, 25 Jan 2009 22:52:00 +0000
parents d985feb803b5
children 7f31bbff8ddb
files mpcommon.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mpcommon.c	Sun Jan 25 22:49:51 2009 +0000
+++ b/mpcommon.c	Sun Jan 25 22:52:00 2009 +0000
@@ -37,10 +37,10 @@
     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 @@
 #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 */