public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* -O and other optimization flags
@ 2006-07-04  4:54 zhou13
  0 siblings, 0 replies; only message in thread
From: zhou13 @ 2006-07-04  4:54 UTC (permalink / raw)
  To: gcc-help

Hello GCC-Help list:

I am wondering if i have used -O, -O2 or -O3, do i still benifit from 
flags such as -march -fmpmath -ffast-math -mmx -sse -sse2 -3dnow?

I am optimizing a video codec and i see barely any performance 
difference whether i use just -O2 or "-ffast-math -march=athlon-xp 
-mmmx -msse -msse2 -m3dnow -mfpmath=sse,387 -O3".

The codec is at http://www.sourceforge.net/projects/openavs/. 
Currently, it requires a 3Ghz or better CPU to get a resonable 
framerate.   I would like the codec to be useful even on 586 (  1Ghz or 
so ). Any ideas?

Regards
Lionel




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-04  4:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-04  4:54 -O and other optimization flags zhou13

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).