Commit 80b9cbc9 by Brad Lucier Committed by Uros Bizjak

invoke.texi (i386 and x86-64 Options): Add the note about a significant loss of…

invoke.texi (i386 and x86-64 Options): Add the note about a significant loss of accuracy of some mathematical routines...

        * doc/invoke.texi (i386 and x86-64 Options) [-mpc32, -mpc64, -mpc80]:
        Add the note about a significant loss of accuracy of some
        mathematical routines when these options are used.

From-SVN: r124413
parent f0fc6ae6
2007-05-04 Bradley Lucier <lucier@math.purdue.edu>
* doc/invoke.texi (i386 and x86-64 Options) [-mpc32, -mpc64, -mpc80]:
Add the note about a significant loss of accuracy of some
mathematical routines when these options are used.
2007-05-04 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> 2007-05-04 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
* haifa-sched.c (rtx_vec_t): New typedef. * haifa-sched.c (rtx_vec_t): New typedef.
......
...@@ -10129,12 +10129,21 @@ the system libraries and startup modules. ...@@ -10129,12 +10129,21 @@ the system libraries and startup modules.
@opindex mpc80 @opindex mpc80
Set 80387 floating-point precision to 32, 64 or 80 bits. When @option{-mpc32} Set 80387 floating-point precision to 32, 64 or 80 bits. When @option{-mpc32}
is specified, the significand of floating-point operations is rounded to 24 is specified, the significands of results of floating-point operations are
bits (single precision), @option{-mpc64} rounds the significand of rounded to 24 bits (single precision); @option{-mpc64} rounds the the
floating-point operations to 53 bits (double precision) and @option{-mpc80} significands of results of floating-point operations to 53 bits (double
rounds the significand of floating-point operations to 64 bits (extended precision) and @option{-mpc80} rounds the significands of results of
double precision). Note that a change of default precision control may floating-point operations to 64 bits (extended double precision), which is
affect the results returned by some of the mathematical functions. the default. When this option is used, floating-point operations in higher
precisions are not available to the programmer without setting the FPU
control word explicitly.
Setting the rounding of floating-point operations to less than the default
80 bits can speed some programs by 2% or more. Note that some mathematical
libraries assume that extended precision (80 bit) floating-point operations
are enabled by default; routines in such libraries could suffer significant
loss of accuracy, typically through so-called "catastrophic cancellation",
when this option is used to set the precision to less than extended precision.
@item -mstackrealign @item -mstackrealign
@opindex mstackrealign @opindex mstackrealign
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment