* extend.texi: Improve documentation of volatile asms.
[official-gcc.git] / gcc / params.def
blob749414f6e9c5dd1d07be1146040c6472435ac715
1 /* params.def - Run-time parameters.
2 Copyright (C) 2001 Free Software Foundation, Inc.
3 Written by Mark Mitchell <mark@codesourcery.com>.
5 This file is part of GNU CC.
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.
24 /* This file contains definitions for language-independent
25 parameters. The DEFPARAM macro takes 4 arguments:
27 - The enumeral corresponding to this parameter.
29 - The name that can be used to set this parameter using the
30 command-line option `--param <name>=<value>'.
32 - A help string explaining how the parameter is used.
34 - A default value for the parameter. */
36 /* The maximum number of instructions accepted for inlining a
37 function. Increasing values mean more agressive inlining.
38 This affects currently only functions explicitly marked as
39 inline (or methods defined within the class definition for C++).
40 The default value of 10000 is arbitrary but high to match the
41 previously unlimited gcc capabilities. */
42 DEFPARAM (PARAM_MAX_INLINE_INSNS,
43 "max-inline-insns",
44 "The maximum number of instructions in a function that is eligible for inlining",
45 10000)
47 /* The maximum number of instructions to consider when looking for an
48 instruction to fill a delay slot. If more than this arbitrary
49 number of instructions is searched, the time savings from filling
50 the delay slot will be minimal so stop searching. Increasing
51 values mean more aggressive optimization, making the compile time
52 increase with probably small improvement in executable run time. */
53 DEFPARAM (PARAM_MAX_DELAY_SLOT_INSN_SEARCH,
54 "max-delay-slot-insn-search",
55 "The maximum number of instructions to consider to fill a delay slot",
56 100)
58 /* When trying to fill delay slots, the maximum number of instructions
59 to consider when searching for a block with valid live register
60 information. Increasing this arbitrarily chosen value means more
61 aggressive optimization, increasing the compile time. This
62 parameter should be removed when the delay slot code is rewritten
63 to maintain the control-flow graph. */
64 DEFPARAM(PARAM_MAX_DELAY_SLOT_LIVE_SEARCH,
65 "max-delay-slot-live-search",
66 "The maximum number of instructions to consider to find accurate live register information",
67 333)
69 /* The GCSE optimization will be disabled if it would require
70 significantly more memory than this value. */
71 DEFPARAM(PARAM_MAX_GCSE_MEMORY,
72 "max-gcse-memory",
73 "The maximum amount of memory to be allocated by GCSE",
74 50 * 1024 * 1024)
77 Local variables:
78 mode:c
79 End: */