public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/13899] New: [x86] -mfpmath misdocumented
@ 2004-01-28 16:23 bangerth at dealii dot org
  2004-01-28 16:30 ` [Bug target/13899] " bangerth at dealii dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-01-28 16:23 UTC (permalink / raw)
  To: gcc-bugs

-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


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

end of thread, other threads:[~2004-02-22 15:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-28 16:23 [Bug target/13899] New: [x86] -mfpmath misdocumented bangerth at dealii dot org
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

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).