[MPlayer-dev-eng] dsputil_mmx.c: -O2

Ismail Donmez ismail at pardus.org.tr
Sun Sep 17 20:29:31 CEST 2006


17 Eyl 2006 Paz 21:13 tarihinde, Carl Eugen Hoyos şunları yazmıştı: 
> Hi!
>
> Attached patch improves H264 decoding speed on my Athlon XP 2600+ by ~3%.
> Tested with gcc 4.0.2 and 4.0.3.
>
> Please consider to apply.
>
> Regards, Carl Eugen
>
> Index: libavcodec/Makefile
> ===================================================================
> --- libavcodec/Makefile (Revision 6286)
> +++ libavcodec/Makefile (Arbeitskopie)
> @@ -295,6 +295,7 @@
>         i386/motion_est_mmx.o \
>         i386/simple_idct_mmx.o i386/fft_sse.o i386/vp3dsp_mmx.o \
>         i386/vp3dsp_sse2.o i386/fft_3dn.o i386/fft_3dn2.o
> i386/snowdsp_mmx.o +i386/dsputil_mmx.o: CFLAGS+= -O2
>  ifeq ($(CONFIG_GPL),yes)
>  OBJS += i386/idct_mmx.o i386/idct_mmx_xvid.o
>  endif

-O4 will just overwrite the -O2 here unless you hacked configure script not to 
use -O4 by default.

/ismail
-- 
アニメは本当にすごいすぎるよ



More information about the MPlayer-dev-eng mailing list