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

Michael Niedermayer michaelni at gmx.at
Mon Sep 18 12:21:31 CEST 2006


Hi

On Sun, Sep 17, 2006 at 10:18:39PM -0700, Corey Hickey wrote:
[...]
> ------------------------------------------------------------------------------
> gcc-4.1 (GCC) 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)
> 
> ---  -O4   ---
> user    3m20.476s
> user    3m21.011s
> user    3m24.656s
> 
> ---  -Os   ---
> user    3m3.894s
> user    3m4.803s
> user    3m3.673s
> 
> ---  -O2   ---
> user    2m57.453s
> user    2m57.820s
> user    2m58.419s

the docs say:
`-O3'
     Optimize yet more.  `-O3' turns on all optimizations specified by
     `-O2' and also turns on the `-finline-functions',
     `-funswitch-loops' and `-fgcse-after-reload' options.

could you test these switches individually?
and whats the output with -Winline from both -O2 and -O4?
also the -O2 and -O4 -Winline output from the one for whom -O4 is faster would
be interresting


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is



More information about the MPlayer-dev-eng mailing list