[MPlayer-dev-eng] [PATCH] bzero to memset

Guillaume Poirier poirierg at gmail.com
Mon Jan 24 12:17:03 CET 2005


Hi,


On Sun, 23 Jan 2005 21:43:16 +0100, Diego Biurrun <diego at biurrun.de> wrote:
> Guillaume Poirier writes:
> >
> > I do think a great deal of people are lookning forward to be able to
> > compile MPlayer with gcc-4 for it's quite a fast compiler, which is
> > not the case for gcc-3.x, so many people still use gcc-2.95.x...
> 
> Do you have some numbers?

I compiled two libs with different compilers this morning: libavcodec and x264.
I must take back that gcc-4.0.0 is faster. It might produce better
code though, but so far, it's just a pain in the ass.

libavcodec
-march=athlon-xp -mtune=athlon-xp
4.0.0: make  135,17s user 1,67s system 97% cpu 2:20,18 total
2.95.4: make  74,62s user 1,72s system 99% cpu 1:16,63 total
3.4.4: "a bit faster than 4.0.0"... sorry, I lost the figure, and I'm
not at home to test.

x264:
4.0.0: make NDEBUG=1  21,33s user 0,50s system 97% cpu 22,309 total
3.4.4: make NDEBUG=1  19,31s user 0,56s system 96% cpu 20,581 total
2.95.4: compiles fails (maybe my fault, I don't know)




More information about the MPlayer-dev-eng mailing list