diff options
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index b5f11408dd0..9f5f87f8fe8 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5755,6 +5755,13 @@ frequently executed functions of the program. If not defined, GCC will provide a default definition if the target supports named sections. @end defmac +@defmac NORMAL_TEXT_SECTION_NAME +If defined, a C string constant for the name of the section containing code +that does not go into the ``unlikely executed text'' partition. This is used +as part of the optimization that partitions hot and cold basic blocks into +separate sections in the .o and executable files. +@end defmac + @defmac UNLIKELY_EXECUTED_TEXT_SECTION_NAME If defined, a C string constant for the name of the section containing unlikely executed functions in the program. @@ -5806,6 +5813,12 @@ finalization code. If not defined, GCC will assume such a section does not exist. @end defmac +@defmac SECTION_FORMAT_STRING +If defined, format string used by fprintf to write out the +text section headers for the hot and cold sections of the +assembly file, when hot and cold partitioning is being performed. +@end defmac + @defmac CRT_CALL_STATIC_FUNCTION (@var{section_op}, @var{function}) If defined, an ASM statement that switches to a different section via @var{section_op}, calls @var{function}, and switches back to @@ -8378,6 +8391,24 @@ For each predicate function named in @code{PREDICATE_CODES}, a declaration will be generated in @file{insn-codes.h}. @end defmac +@defmac HAS_LONG_COND_BRANCH +Define this boolean macro to indicate whether or not your architecture +has conditional branches that can span all of memory. It is used in +conjunction with an optimization that partitions hot and cold basic +blocks into separate sections of the executable. If this macro is +set to false, gcc will convert any conditional branches that attempt +to cross between sections into unconditional branches or indirect jumps. +@end defmac + +@defmac HAS_LONG_UNCOND_BRANCH +Define this boolean macro to indicate whether or not your architecture +has unconditional branches that can span all of memory. It is used in +conjunction with an optimization that partitions hot and cold basic +blocks into separate sections of the executable. If this macro is +set to false, gcc will convert any unconditional branches that attempt +to cross between sections into indirect jumps. +@end defmac + @defmac SPECIAL_MODE_PREDICATES Define this if you have special predicates that know special things about modes. Genrecog will warn about certain forms of |