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
* [Bug target/13899] [x86] -mfpmath misdocumented
2004-01-28 16:23 [Bug target/13899] New: [x86] -mfpmath misdocumented bangerth at dealii dot org
@ 2004-01-28 16:30 ` bangerth at dealii dot org
2004-01-28 16:31 ` bangerth at dealii dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-01-28 16:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-01-28 16:30 -------
Actually, the respective paragraph came in by this patch:
2003-06-25 H.J. Lu <hongjiu.lu@intel.com>
* doc/extend.texi: Document new builtin functions for Intel
Prescott New Intrunctions.
* doc/invoke.texi: Document new command-line options, -mpni and
-mno-pni, for Intel Prescott New Intrunctions.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |hjl at lucon dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13899
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/13899] [x86] -mfpmath misdocumented
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
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-01-28 16:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-01-28 16:31 -------
And it was the change from version 1.302 to 1.303.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13899
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/13899] [x86] -mfpmath misdocumented
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
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-28 21:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-28 21:58 -------
Patch is this PR.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |documentation, patch
Target Milestone|--- |3.3.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13899
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/13899] [x86] -mfpmath misdocumented
2004-01-28 16:23 [Bug target/13899] New: [x86] -mfpmath misdocumented bangerth at dealii dot org
` (2 preceding siblings ...)
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
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl at lucon dot org @ 2004-01-29 16:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hjl at lucon dot org 2004-01-29 16:54 -------
What about mainline and other branches?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13899
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/13899] [x86] -mfpmath misdocumented
2004-01-28 16:23 [Bug target/13899] New: [x86] -mfpmath misdocumented bangerth at dealii dot org
` (3 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2004-01-29 17:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bangerth at dealii dot org 2004-01-29 17:13 -------
This should go onto mainline, 3.4 and 3.3 branch. All other branches
regularly merge from mainline.
w.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13899
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/13899] [x86] -mfpmath misdocumented
2004-01-28 16:23 [Bug target/13899] New: [x86] -mfpmath misdocumented bangerth at dealii dot org
` (4 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-02-15 12:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-02-15 12:42 -------
Adjust milestone
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.3.3 |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13899
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/13899] [x86] -mfpmath misdocumented
2004-01-28 16:23 [Bug target/13899] New: [x86] -mfpmath misdocumented bangerth at dealii dot org
` (5 preceding siblings ...)
2004-02-15 12:42 ` gdr at gcc dot gnu dot org
@ 2004-02-22 15:05 ` gdr at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: gdr at gcc dot gnu dot org @ 2004-02-22 15:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2004-02-22 15:05 -------
This was fixed in 3.3.3 but the PR was never closed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|3.3.4 |3.3.3
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).