Mercurial > mplayer.hg
changeset 3742:fb8385e6100d
print some info on cpu (runtime/compiled flags)
author | arpi |
---|---|
date | Tue, 25 Dec 2001 17:53:31 +0000 |
parents | 99ac808d97c0 |
children | 38ee592422aa |
files | mplayer.c |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Tue Dec 25 17:45:25 2001 +0000 +++ b/mplayer.c Tue Dec 25 17:53:31 2001 +0000 @@ -450,6 +450,28 @@ 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] )