public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Optimizations documentation
       [not found] <E1J9nH0-000Ami-00.oks-mgn-mail-ru@mx27.mail.ru>
@ 2008-01-01 20:49 ` Tim Prince
  0 siblings, 0 replies; only message in thread
From: Tim Prince @ 2008-01-01 20:49 UTC (permalink / raw)
  To: Константин
  Cc: gcc, gcc-help

ц╚ц▐ц▌ц⌠ц■ц│ц▌ц■ц┴ц▌ wrote:
> Hi!
>
> I ask you to put optimimizations tips for programmers into your documentation site on www. Sure, there are some texts about program optimimization, but you are the only one, who really understand compilation and execution processes and know how to make program faster.
> I read on some site that it would better and quicker to use floats instead of doubles, use unsigned int instead of signed as counters in loops, mark const function parameters when they are and so on. Is it true for GCC (G++)?
> Your compiler makes great optimization, but it'd be better if you explain to programmers how to help to compiler optimize program. For example, some time ago I listened that GCC supports vectorization, but still can't find anything about it, how can I use it in my programs.
> Your site is the right place for such documentation. PLEASE put it on.
> Thank you!
>   
This topic seems more appropriate to the gcc-help mail list.
The on-line docs show a fair effort, although documentation of 
-ftree-vectorize seems difficult to find in a single search:
http://gcc.gnu.org/onlinedocs/

Superior performance of float over double is more marked for the SSE 
platforms, so you should specify your platform of interest when asking 
such questions.
If you want examples, quite a few of those are available on line.

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

only message in thread, other threads:[~2008-01-01 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1J9nH0-000Ami-00.oks-mgn-mail-ru@mx27.mail.ru>
2008-01-01 20:49 ` Optimizations documentation Tim Prince

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).