[MPlayer-dev-eng] [PATCH] CFLAGS cleanups

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Jan 13 23:51:04 CET 2006


On Friday, 13 January 2006 at 23:41, Guillaume POIRIER wrote:
> Hi,
> 
> On 1/13/06, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org> wrote:
> > This patch cleans up OPTFLAGS in Gui, removes hardcoded -Wall from
> > libaf's and libmenu's Makefiles and -g from main Makefile.
> > Now we can add -Wall to default CFLAGS and be sure it's used
> > consistently.
> 
> Good idea! There's actually some more flags that are now stupid to put
> by default, like fomit-frame-pointer (useless with AMD64 AKAIK).
> 
> I'll add this to my todo list.

I think somebody should run some benchmarks with different CFLAGS on
various platforms and come up with the combination that produces the
fastest binaries. ;)

But that's a lot of work:
-O2 vs -O3
beyond -O3:
-funroll-loops
-ftree-vectorize (with GCC4+ and SSE1/2/3)
-floop-optimize2
-ftree-loop-linear
-ftree-loop-im
-ftree-loop-ivcanon

Regards,
R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-dev-eng mailing list