mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 02:40:53 +00:00
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
This commit is contained in:
parent
15fd265fc3
commit
85b28eb411
10
mpcommon.c
10
mpcommon.c
@ -37,10 +37,10 @@ void print_version(const char* name)
|
|||||||
GetCpuCaps(&gCpuCaps);
|
GetCpuCaps(&gCpuCaps);
|
||||||
#if ARCH_X86
|
#if ARCH_X86
|
||||||
mp_msg(MSGT_CPLAYER, MSGL_V,
|
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.hasMMX, gCpuCaps.hasMMX2,
|
||||||
gCpuCaps.has3DNow, gCpuCaps.has3DNowExt,
|
gCpuCaps.has3DNow, gCpuCaps.has3DNowExt,
|
||||||
gCpuCaps.hasSSE, gCpuCaps.hasSSE2);
|
gCpuCaps.hasSSE, gCpuCaps.hasSSE2, gCpuCaps.hasSSSE3);
|
||||||
#ifdef RUNTIME_CPUDETECT
|
#ifdef RUNTIME_CPUDETECT
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithRuntimeDetection);
|
mp_msg(MSGT_CPLAYER,MSGL_V, MSGTR_CompiledWithRuntimeDetection);
|
||||||
#else
|
#else
|
||||||
@ -62,6 +62,12 @@ void print_version(const char* name)
|
|||||||
#endif
|
#endif
|
||||||
#if HAVE_SSE2
|
#if HAVE_SSE2
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_V," 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
|
#endif
|
||||||
mp_msg(MSGT_CPLAYER,MSGL_V,"\n");
|
mp_msg(MSGT_CPLAYER,MSGL_V,"\n");
|
||||||
#endif /* RUNTIME_CPUDETECT */
|
#endif /* RUNTIME_CPUDETECT */
|
||||||
|
Loading…
Reference in New Issue
Block a user