From 85b28eb411cfa304f1714219ebd17b10a0977fa3 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 25 Jan 2009 22:52:00 +0000 Subject: Add SSSE3 and CMOV to CPU information printed on startup. Fixes Bugzilla #1378. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28366 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mpcommon.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mpcommon.c') diff --git a/mpcommon.c b/mpcommon.c index a80c88c620..34ab976fd2 100644 --- a/mpcommon.c +++ b/mpcommon.c @@ -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 @@ -62,6 +62,12 @@ void print_version(const char* name) #endif #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 */ -- cgit v1.2.3