This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: second stage of dfp-branch merge
> I don't see documentation for the new modes in rtl.texi, and a lot of new
> functions lack comments explaining what they do.
Here are the relevant document changes from the branch.
Tested with a `make info' run.
I'll work on addressing your point about more comments.
Cheers, Ben
--- gcc-trunk/gcc/doc/rtl.texi 2005-11-10 12:39:25.000000000 +1100
+++ gcc-dfp/gcc/doc/rtl.texi 2005-11-11 13:41:19.000000000 +1100
@@ -1081,6 +1081,22 @@
processors require such numbers to be padded to twelve bytes, others
to sixteen; this mode is used for either.
+@findex SDmode
+@item SDmode
+``Single Decimal Floating'' mode represents a four byte decimal
+floating point number (as distinct from conventional binary floating
+point).
+
+@findex DDmode
+@item DDmode
+``Double Decimal Floating'' mode represents an eight byte decimal
+floating point number.
+
+@findex TDmode
+@item TDmode
+``Tetra Decimal Floating'' mode represents a sixteen byte decimal
+floating point number all 128 of whose bits are meaningful.
+
@findex TFmode
@item TFmode
``Tetra Floating'' mode represents a sixteen byte floating point number
@@ -1173,6 +1189,11 @@
@code{HFmode}, @code{TQFmode}, @code{SFmode}, @code{DFmode},
@code{XFmode} and @code{TFmode}.
+@findex MODE_DECIMAL_FLOAT
+@item MODE_DECIMAL_FLOAT
+Decimal floating point modes. By default these are @code{SDmode},
+@code{DDmode} and @code{TDmode}.
+
@findex MODE_COMPLEX_INT
@item MODE_COMPLEX_INT
Complex integer modes. (These are not currently implemented).