diff options
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/install.texi | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 11 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 30 |
3 files changed, 40 insertions, 6 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index ec9f7ad32f1..f859f56d22b 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -3664,15 +3664,14 @@ GCC you first have to install a pre-built compiler, see the The Solaris 2 @command{/bin/sh} will often fail to configure @file{libstdc++-v3}, @file{boehm-gc} or @file{libjava}. We therefore -recommend to use the following sequence of commands to bootstrap and -install GCC: +recommend using the following initial sequence of commands @smallexample % CONFIG_SHELL=/bin/ksh % export CONFIG_SHELL @end smallexample -and then proceed as described in @uref{build.html,,the build instructions}. +and proceed as described in @uref{configure.html,,the configure instructions}. In addition we strongly recommend specifying an absolute path to invoke @var{srcdir}/configure. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7f561d2c753..5dcf70b9747 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2682,8 +2682,9 @@ if a variable may be clobbered by a @code{setjmp} call. These warnings are possible only in optimizing compilation, because they require data flow information that is computed only -when optimizing. If you don't specify @option{-O}, you simply won't -get these warnings. +when optimizing. If you do not specify @option{-O}, you will not get +these warnings. Instead, GCC will issue a warning about @option{-Wuninitialized} +requiring @option{-O}. If you want to warn about code which uses the uninitialized value of the variable in its own initializer, use the @option{-Winit-self} option. @@ -6191,6 +6192,12 @@ feedback is available and may be set to higher values than @option{reorder-block-duplicate} since information about the hot spots is more accurate. +@item max-sched-ready-insns +The maximum number of instructions ready to be issued the scheduler should +consider at any given time during the first scheduling pass. Increasing +values mean more thorough searches, making the compilation time increase +with probably little benefit. The default value is 100. + @item max-sched-region-blocks The maximum number of blocks in a region to be considered for interblock scheduling. The default value is 10. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 9ee6a835e85..aceebf6d860 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -6559,7 +6559,7 @@ based on a variable or function decl, a section name, and whether or not the declaration's initializer may contain runtime relocations. @var{decl} may be null, in which case read-write data should be assumed. -The default version if this function handles choosing code vs data, +The default version of this function handles choosing code vs data, read-only vs read-write data, and @code{flag_pic}. You should only need to override this if your target has special flags that might be set via @code{__attribute__}. @@ -9143,6 +9143,34 @@ If this is the case, making @code{TRULY_NOOP_TRUNCATION} return 0 in such cases may improve things. @end defmac +@deftypefn {Target Hook} int TARGET_MODE_REP_EXTENDED (enum machine_mode @var{mode}, enum machine_mode @var{rep_mode}) +The representation of an integral mode can be such that the values +are always extended to a wider integral mode. Return +@code{SIGN_EXTEND} if values of @var{mode} are represented in +sign-extended form to @var{rep_mode}. Return @code{UNKNOWN} +otherwise. (Currently, none of the targets use zero-extended +representation this way so unlike @code{LOAD_EXTEND_OP}, +@code{TARGET_MODE_REP_EXTENDED} is expected to return either +@code{SIGN_EXTEND} or @code{UNKNOWN}. Also no target extends +@var{mode} to @var{mode_rep} so that @var{mode_rep} is not the next +widest integral mode and currently we take advantage of this fact.) + +Similarly to @code{LOAD_EXTEND_OP} you may return a non-@code{UNKNOWN} +value even if the extension is not performed on certain hard registers +as long as for the @code{REGNO_REG_CLASS} of these hard registers +@code{CANNOT_CHANGE_MODE_CLASS} returns nonzero. + +Note that @code{TARGET_MODE_REP_EXTENDED} and @code{LOAD_EXTEND_OP} +describe two related properties. If you define +@code{TARGET_MODE_REP_EXTENDED (mode, word_mode)} you probably also want +to define @code{LOAD_EXTEND_OP (mode)} to return the same type of +extension. + +In order to enforce the representation of @code{mode}, +@code{TRULY_NOOP_TRUNCATION} should return false when truncating to +@code{mode}. +@end deftypefn + @defmac STORE_FLAG_VALUE A C expression describing the value returned by a comparison operator with an integral mode and stored by a store-flag instruction |