This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Unreviewed tm.texi patch
- To: gcc-patches at gcc dot gnu dot org
- Subject: Unreviewed tm.texi patch
- From: Lars Brinkhoff <lars at nocrew dot org>
- Date: 23 Jul 2001 16:55:14 +0200
- Organization: nocrew
- References: <85n19biqtj.fsf@junk.nocrew.org> <853dagug0s.fsf@junk.nocrew.org><85ofsf2hy2.fsf_-_@junk.nocrew.org><85wv6ndth1.fsf_-_@junk.nocrew.org><85bsnucco2.fsf_-_@junk.nocrew.org><85r8v73djo.fsf_-_@junk.nocrew.org>
For the record, resent with the correct subject line.
This patch documents IBM_FLOAT_FORMAT and C4X_FLOAT_FORMAT defined in
real.h, and BOOL_TYPE_SIZE used in decl.c and defined by the i960,
mcore, and mn10200 backends.
Tested with "make info" and "make dvi" on powerpc-unknown-linux-gnu.
Bits of this patch have previously gone unreviewed as
http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01251.html
http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01691.html
http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00997.html
http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00444.html
http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01909.html
http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00432.html
http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00767.html
2001-07-23 lars brinkhoff <lars@nocrew.org>
* tm.texi (TARGET_FLOAT_FORMAT): Document IBM_FLOAT_FORMAT
and C4X_FLOAT_FORMAT.
(BOOL_TYPE_SIZE): Document.
Index: tm.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/tm.texi,v
retrieving revision 1.37
diff -c -3 -p -r1.37 tm.texi
*** tm.texi 2001/07/21 09:42:21 1.37
--- tm.texi 2001/07/23 14:38:36
*************** This macro need not be defined if there
*** 1294,1300 ****
@findex TARGET_FLOAT_FORMAT
@item TARGET_FLOAT_FORMAT
A code distinguishing the floating point format of the target machine.
! There are three defined values:
@table @code
@findex IEEE_FLOAT_FORMAT
--- 1294,1300 ----
@findex TARGET_FLOAT_FORMAT
@item TARGET_FLOAT_FORMAT
A code distinguishing the floating point format of the target machine.
! There are five defined values:
@table @code
@findex IEEE_FLOAT_FORMAT
*************** need to define this macro when the forma
*** 1306,1311 ****
--- 1306,1319 ----
@item VAX_FLOAT_FORMAT
This code indicates the peculiar format used on the Vax.
+ @findex IBM_FLOAT_FORMAT
+ @item IBM_FLOAT_FORMAT
+ This code indicates the format used on the IBM System/370.
+
+ @findex C4X_FLOAT_FORMAT
+ @item C4X_FLOAT_FORMAT
+ This code indicates the format used on the TMS320C3x/C4x.
+
@findex UNKNOWN_FLOAT_FORMAT
@item UNKNOWN_FLOAT_FORMAT
This code indicates any other format.
*************** target machine. If this is undefined, t
*** 1383,1388 ****
--- 1391,1402 ----
@code{CHAR_TYPE_SIZE}. Otherwise, it is the constant value that is the
largest value that @code{CHAR_TYPE_SIZE} can have at run-time. This is
used in @code{cpp}.
+
+ @findex BOOL_TYPE_SIZE
+ @item BOOL_TYPE_SIZE
+ A C expression for the size in bits of the C++ type @code{bool} on the
+ target machine. If you don't define this, the default is
+ @code{CHAR_TYPE_SIZE}.
@findex FLOAT_TYPE_SIZE
@item FLOAT_TYPE_SIZE