[MPlayer-dev-eng] Re: Compile options

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Sep 17 18:02:09 CEST 2006


Andrew Savchenko <Bircoph <at> list.ru> writes:

[...]

> It is rather strange that higher optimization level produces worse code 
> on your machine.

AFAICR this was always true for gcc3.x and -O3.

> According to your earlier post, you are using gcc 
> version 4.0.2 20050901 (prerelease), maybe you should upgrade to 
> release?

Thanks for suggesting, the results are even more convincing (for my personal
future use) with gcc 4.0.3 release:

-O4:
BENCHMARKs: VC:  58.442s VO:  18.009s A:   0.000s Sys:   2.152s =   78.603s
BENCHMARKs: VC:  58.477s VO:  18.052s A:   0.000s Sys:   2.076s =   78.605s
BENCHMARKs: VC:  58.487s VO:  18.120s A:   0.000s Sys:   2.076s =   78.683s

-O2:
BENCHMARKs: VC:  55.917s VO:  18.127s A:   0.000s Sys:   2.442s =   76.487s
BENCHMARKs: VC:  56.172s VO:  18.253s A:   0.000s Sys:   2.032s =   76.458s
BENCHMARKs: VC:  55.869s VO:  18.192s A:   0.000s Sys:   2.001s =   76.062s

Carl Eugen




More information about the MPlayer-dev-eng mailing list