[MPlayer-dev-eng] [PATCH] support to disable instruction sets when runtime cpu detection is used

Zuxy Meng zuxy.meng at gmail.com
Sat May 26 08:29:39 CEST 2007


Hi,

2007/5/26, Onur Küçük <onur at delipenguen.net>:
>
>  Hello,
>
>  When configure is run with --enable-runtime-cpudetection all the
> instruction sets are turned on automatically. It is not possible to
> disable some sets with --disable (3dnow or ssse3 for example). Attached
> patch fixes the issue.

Usually the definition of "RUNTIME_CPUDETECT" will cause mplayer build
all routines regardless of "HAVE_MMX", "HAVE_3DNOW", "HAVE_SSE2", etc.
so your patch against configure simply doesn't disabled anything.
Please refer to libvo/aclib.c and libvo/osd.c for example.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list