This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

doc/invoke.texi currently broken: here's a fix



Just did a cvs update and "make" bailed in gcc/invoke.texi with
"Mismatched {" errors.  Here is a fix.


2002-03-08  Ryan T. Sammartino <ryants@shaw.ca>

	* doc/invoke.texi (TMS320C3x/C4x Options): fix texinfo errors.


Index: invoke.texi
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.127
diff -c -3 -r1.127 invoke.texi
*** invoke.texi	7 Mar 2002 06:50:31 -0000	1.127
--- invoke.texi	9 Mar 2002 05:39:14 -0000
***************
*** 8622,8633 ****
  Enable (disable) generation of code using decrement and branch,
  DBcond(D), instructions.  This is enabled by default for the C4x.  To be
  on the safe side, this is disabled for the C3x, since the maximum
! iteration count on the C3x is @math{2^{23} + 1} (but who iterates loops more than
! @math{2^{23}} times on the C3x?).  Note that GCC will try to reverse a loop so
! that it can utilise the decrement and branch instruction, but will give
! up if there is more than one memory reference in the loop.  Thus a loop
! where the loop counter is decremented can generate slightly more
! efficient code, in cases where the RPTB instruction cannot be utilised.
  
  @item -mdp-isr-reload
  @itemx -mparanoid
--- 8622,8646 ----
  Enable (disable) generation of code using decrement and branch,
  DBcond(D), instructions.  This is enabled by default for the C4x.  To be
  on the safe side, this is disabled for the C3x, since the maximum
! iteration count on the C3x is
! @ifinfo
! @math{2^23 + 1}
! @end ifinfo
! @ifnotinfo
! @math{2^{23} + 1}
! @end ifnotinfo
! (but who iterates loops more than
! @ifinfo
! @math{2^23 + 1}
! @end ifinfo
! @ifnotinfo
! @math{2^{23} + 1}
! @end ifnotinfo
! times on the C3x?).  Note that GCC will try to reverse a loop so that it
! can utilise the decrement and branch instruction, but will give up if
! there is more than one memory reference in the loop.  Thus a loop where
! the loop counter is decremented can generate slightly more efficient
! code, in cases where the RPTB instruction cannot be utilised.
  
  @item -mdp-isr-reload
  @itemx -mparanoid
***************
*** 8691,8700 ****
  @opindex mloop-unsigned
  @opindex mno-loop-unsigned
  The maximum iteration count when using RPTS and RPTB (and DB on the C40)
! is @math{2^{31} + 1} since these instructions test if the iteration count is
! negative to terminate the loop.  If the iteration count is unsigned
! there is a possibility than the @math{2^{31} + 1} maximum iteration count may be
! exceeded.  This switch allows an unsigned iteration count.
  
  @item -mti
  @opindex mti
--- 8704,8727 ----
  @opindex mloop-unsigned
  @opindex mno-loop-unsigned
  The maximum iteration count when using RPTS and RPTB (and DB on the C40)
! is
! @ifinfo
! @math{2^23 + 1}
! @end ifinfo
! @ifnotinfo
! @math{2^{23} + 1}
! @end ifnotinfo
! since these instructions test if the iteration count is negative to
! terminate the loop.  If the iteration count is unsigned there is a
! possibility than the
! @ifinfo
! @math{2^23 + 1}
! @end ifinfo
! @ifnotinfo
! @math{2^{23} + 1}
! @end ifnotinfo
! maximum iteration count may be exceeded.  This switch allows an unsigned
! iteration count.
  
  @item -mti
  @opindex mti

-- 
Ryan T. Sammartino
http://members.shaw.ca/ryants/
disbar, n:
	As distinguished from some other bar.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]