[Angstrom-devel] [Review] mplayer tuning

Koen Kooi koen at dominion.kabel.utwente.nl
Tue Mar 11 13:12:48 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stanislav Brabec schreef:
| Koen Kooi wrote:
|
|> +FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -
|> frename-registers -O4 -ffast-math"
|
| Current gcc does not support -O4. Any -O > 3 is interpreted as -O3.

I just put in the tuning that Tim has tested :)

| -fexpensive-optimizations is on by default for -O2 -O3 and -Os.
|
| Note that -O3 may possibly generate larger code than -O2. It may have
| positive or negative impact.
|
| In case of positive impact:
| Experiment with -funroll-loops (and remove implied -frename-registers)
|
| In case of negative impact (comparing to -Os):
| Replace -O3 by -Os -funswitch-loops -fgcse-after-reload, which is
| something as -O3 version of -Os.

I'll leave that to the mplayer using crowd to test that.

Im the meantime, can we get this patch in as-is? We can always change it
to some of the things you mentioned after people have tested all
permutations.

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFH1ndAMkyGM64RGpERAuzaAKCxP4Rszg8vnnjzHzK6S3KZXtMTwACfRKPz
d+xm2CYreq12oCVd/3D+OyE=
=0Npu
-----END PGP SIGNATURE-----




More information about the Angstrom-distro-devel mailing list