diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-25 17:53:31 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-25 17:53:31 +0000 |
commit | b5874d029e9947449bb6ee56a8de450a1691efe2 (patch) | |
tree | 1f23593ab35c7a7c7e05a6363bcb38ab2577222f | |
parent | 5df91323f68c2687fd3559b8fab7d266e3480236 (diff) | |
download | mpv-b5874d029e9947449bb6ee56a8de450a1691efe2.tar.bz2 mpv-b5874d029e9947449bb6ee56a8de450a1691efe2.tar.xz |
print some info on cpu (runtime/compiled flags)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3743 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | mplayer.c | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -450,6 +450,28 @@ int gui_no_filename=0; gCpuCaps.cpuType,gCpuCaps.hasMMX,gCpuCaps.hasMMX2, gCpuCaps.has3DNow, gCpuCaps.has3DNowExt, gCpuCaps.hasSSE, gCpuCaps.hasSSE2); +#ifdef RUNTIME_CPUDETECT + mp_msg(MSGT_CPLAYER,MSGL_INFO,"Compiled with RUNTIME CPU Detection - warning, it's untested!\n"); +#else + mp_msg(MSGT_CPLAYER,MSGL_INFO,"Compiled for x86 CPU with features:"); +#ifdef HAVE_MMX + mp_msg(MSGT_CPLAYER,MSGL_INFO," MMX"); +#endif +#ifdef HAVE_MMX2 + mp_msg(MSGT_CPLAYER,MSGL_INFO," MMX2"); +#endif +#ifdef HAVE_3DNOW + mp_msg(MSGT_CPLAYER,MSGL_INFO," 3DNow"); +#endif +#ifdef HAVE_3DNOWEX + mp_msg(MSGT_CPLAYER,MSGL_INFO," 3DNowEx"); +#endif +#ifdef HAVE_SSE + mp_msg(MSGT_CPLAYER,MSGL_INFO," SSE"); +#endif + mp_msg(MSGT_CPLAYER,MSGL_INFO,"\n"); +#endif + #endif if ( argv[0] ) |