public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/13899] New: [x86] -mfpmath misdocumented
Date: Wed, 28 Jan 2004 16:23:00 -0000	[thread overview]
Message-ID: <20040128162345.13899.bangerth@dealii.org> (raw)

-mfpmath=X takes an argument X indicating what floating point 
units to use. The manual in invoke.texi lists these choices: 
---------------- 
@item -mfpmath=@var{unit} 
@opindex march 
generate floating point arithmetics for selected unit @var{unit}.  the choices 
for @var{unit} are: 
 
@table @samp 
@item 387 
Use the standard 387 floating point coprocessor present majority of chips and 
emulated otherwise.  Code compiled with this option will run almost 
everywhere. 
The temporary results are computed in 80bit precision instead of precision 
specified by the type resulting in slightly different results compared to most 
of other chips. See @option{-ffloat-store} for more detailed description. 
 
This is the default choice for i386 compiler. 
 
@item sse 
.... 
@item pni 
Use all SSE extensions enabled by @option{-msse2} as well as the new 
SSE extensions in Prescott New Instructions. @option{-mpni} also 
enables 2 builtin functions, @code{__builtin_ia32_monitor} and 
@code{__builtin_ia32_mwait}, for new instructions @code{monitor} and 
@code{mwait}. 
 
@item sse,387 
.... 
@end table 
 
However, compiling any program with -mfpmath=pni on any branch I 
have gives me this: 
g/x> /home/bangerth/bin/gcc-3.5-pre/bin/c++ -march=pentium4 -mfpmath=pni -c 
x.cc 
x.cc:0: error: bad value (pni) for -mfpmath= switch 
 
If this value is really not allowed, then it should be fixed on 
all active branches in the manual. If it is allowed, then the 
bug is somewhere in the option handling. 
 
W.

-- 
           Summary: [x86] -mfpmath misdocumented
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


             reply	other threads:[~2004-01-28 16:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-28 16:23 bangerth at dealii dot org [this message]
2004-01-28 16:30 ` [Bug target/13899] " bangerth at dealii dot org
2004-01-28 16:31 ` bangerth at dealii dot org
2004-01-28 21:58 ` pinskia at gcc dot gnu dot org
2004-01-29 16:54 ` hjl at lucon dot org
2004-01-29 17:13 ` bangerth at dealii dot org
2004-02-15 12:42 ` gdr at gcc dot gnu dot org
2004-02-22 15:05 ` gdr at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040128162345.13899.bangerth@dealii.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).