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

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Sep 17 20:13:52 CEST 2006


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





More information about the MPlayer-dev-eng mailing list