* gcc.texi (Passes): Document branch-shortening.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 May 1999 09:38:33 +0000 (09:38 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 May 1999 09:38:33 +0000 (09:38 +0000)
* invoke.texi (Debugging Options): Document the fact that `-dp'
outputs length information for instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27167 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.texi
gcc/invoke.texi

index 2c2feb6..34f612d 100644 (file)
@@ -1,3 +1,9 @@
+Wed May 26 09:40:02 1999  Mark Mitchell  <mark@codesourcery.com>
+
+       * gcc.texi (Passes): Document branch-shortening.
+       * invoke.texi (Debugging Options): Document the fact that `-dp'
+       outputs length information for instructions.
+
 Wed May 26 08:49:31 1999  Nick Clifton  <nickc@cygnus.com>
 
        * flow.c: Revert previous delta.
index 1682816..0e8cb98 100644 (file)
@@ -3563,6 +3563,15 @@ The option @samp{-dd} causes a debugging dump of the RTL code after
 this pass.  This dump file's name is made by appending @samp{.dbr}
 to the input file name.
 
+@cindex branch shortening
+@item
+Branch shortening.  On many RISC machines, branch instructions have a
+limited range.  Thus, longer sequences of instructions must be used for 
+long branches.  In this pass, the compiler figures out what how far each
+instruction will be from each other instruction, and therefore whether
+the usual instructions, or the longer sequences, must be used for each
+branch. 
+
 @cindex register-to-stack conversion
 @item
 Conversion from usage of some hard registers to usage of a register
index 8d59734..4aecc14 100644 (file)
@@ -2088,7 +2088,8 @@ Print statistics on memory usage, at the end of the run, to
 standard error.
 @item p
 Annotate the assembler output with a comment indicating which
-pattern and alternative was used.
+pattern and alternative was used.  The length of each instruction is
+also printed.
 @item x
 Just generate RTL for a function instead of compiling it.  Usually used
 with @samp{r}.