public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/35777]  New: no DFP announcement, no example text, very vague documentation
@ 2008-03-31 18:40 bkoz at gcc dot gnu dot org
  2008-03-31 19:53 ` [Bug web/35777] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2008-03-31 18:40 UTC (permalink / raw)
  To: gcc-bugs

Filing this so that the multiple requests to add DFP docs don't continue to be
ignored.

First asked here:
http://gcc.gnu.org/ml/gcc/2007-06/msg00048.html

Asked again 9 months later:
http://gcc.gnu.org/ml/gcc/2008-03/msg01025.html

Janis indicates that some patch was proposed, but then not applied for lack of
examples. I suggest instead a gradual approach, where something is applied
immediately to gcc-4.3/changes.html and then refined.

See:
http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01139.html

For a starting point.

My preference would be for the examples and more extensive usage docs to go on
to the main manual node for DFP, and the announcement to link to that page.

The lapse in documenting this feature, after repeated requests to do so, is
highly annoying. GCC is a large and fast-moving target: it is hard for users
and maintainers to understand the whole  picture without the good-faith efforts
of developers to do due diligence and document new work. Significant new
features or experimental modes should be documented to give all maintainers an
equal foothold, and users a fighting chance to keep up with compiler
technology.

As it stands, DFP is not documented in changes.html, but *changes* to
*existing* DFP support *IS* mentioned. This is inconsistent.

In addition to the announcement text, the GCC manual is quite light on DFP
details:

Main DFP doc node:
http://gcc.gnu.org/onlinedocs/gcc/Decimal-Float.html#Decimal-Float

Does this need to be updated?

If DFP support and standard are a moving target, then it may be beneficial to
just add a dfp_status.html page, and update that in a similar manner to other
experimental support (like C++0x).

And the other hit:
http://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html#Option-Summary

lists:
-mno-mfpgpr -mhard-dfp

for RS/6000 only. Documentation of this is:

The -mhard-dfp option allows GCC to generate the decimal floating point
instructions implemented on some POWER processors.

This is pretty vague, and I believe incorrect if DFP is now supported on x86,
as recent gcc-patches activity implies.

Timely action on behalf of DFP maintainers will be appreciated.

best,benjamin


-- 
           Summary: no DFP announcement, no example text, very vague
                    documentation
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: web
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bkoz at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35777


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-10-15 17:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-31 18:40 [Bug web/35777] New: no DFP announcement, no example text, very vague documentation bkoz at gcc dot gnu dot org
2008-03-31 19:53 ` [Bug web/35777] " pinskia at gcc dot gnu dot org
2008-03-31 23:02 ` janis at gcc dot gnu dot org
2008-04-01  0:00 ` bje at gcc dot gnu dot org
2008-04-04 23:54 ` brian at dessent dot net
2008-04-05  0:08 ` pinskia at gcc dot gnu dot org
2009-08-06 14:41 ` manu at gcc dot gnu dot org
2009-10-15 17:29 ` bkoz at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).