* GCC parameter optimisation help
@ 2011-12-26 10:30 vikramsp
2011-12-27 15:24 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: vikramsp @ 2011-12-26 10:30 UTC (permalink / raw)
To: gcc-help
I've observed that --param name=value type of options are
having default, min, max values but not all. eg. max-goto-duplication-insns
has default 8 but max-delay-slot-insn-search has none. My problem is:
1. Do all parameter have limits and defaults?
2. If yes why they are not documented?
3. If no how to find the best values?
Regard,
vikram
--
View this message in context: http://old.nabble.com/GCC-parameter-optimisation-help-tp33037405p33037405.html
Sent from the gcc - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC parameter optimisation help
2011-12-26 10:30 GCC parameter optimisation help vikramsp
@ 2011-12-27 15:24 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-12-27 15:24 UTC (permalink / raw)
To: vikramsp; +Cc: gcc-help
vikramsp <vikram2rhyme@gmail.com> writes:
> I've observed that --param name=value type of options are
> having default, min, max values but not all. eg. max-goto-duplication-insns
> has default 8 but max-delay-slot-insn-search has none. My problem is:
>
> 1. Do all parameter have limits and defaults?
They all have defaults, of course. They do not all have limits.
> 2. If yes why they are not documented?
Either because the of a documentation bug or because the default is
obvious. I agree that the default for max-delay-slot-insn-search should
be documented. It is 100.
> 3. If no how to find the best values?
Start by looking at gcc/params.def.
The --param options are generally intended for expert use by people
familiar with how the compiler works. The -f options intended for use
by people not deeply familiar with the compiler. This is not an excuse
for poor documentations, but some of the --param options are quite
difficult to document precisely.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-27 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-26 10:30 GCC parameter optimisation help vikramsp
2011-12-27 15:24 ` Ian Lance Taylor
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).