diff options
author | Richard Henderson <rth@redhat.com> | 2002-03-29 15:24:20 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-03-29 15:24:20 -0800 |
commit | 30c99a84e097d6d8f55921361b7d3c5c20e3835b (patch) | |
tree | a15cc507a152b1fe5af92175843a37d8425c9986 /gcc/doc/invoke.texi | |
parent | 4d6ac5424e9c34988954c62da68b39dd5374a095 (diff) | |
download | gcc-30c99a84e097d6d8f55921361b7d3c5c20e3835b.zip gcc-30c99a84e097d6d8f55921361b7d3c5c20e3835b.tar.gz gcc-30c99a84e097d6d8f55921361b7d3c5c20e3835b.tar.bz2 |
i386.c (x86_arch_always_fancy_math_387): New.
* config/i386/i386.c (x86_arch_always_fancy_math_387): New.
(override_options): Disable NO_FANCY_MATH_387 if the arch allows.
* config/i386/i386.h (x86_arch_always_fancy_math_387): New.
* config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
conditional.
* docs/invoke.texi: Update -mno-fancy-math-387 docs.
From-SVN: r51584
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index b1e6d5d..c26d183 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7366,9 +7366,12 @@ in ordinary CPU registers instead. @opindex mno-fancy-math-387 Some 387 emulators do not support the @code{sin}, @code{cos} and @code{sqrt} instructions for the 387. Specify this option to avoid -generating those instructions. This option is the default on FreeBSD@. -As of revision 2.6.1, these instructions are not generated unless you -also use the @option{-funsafe-math-optimizations} switch. +generating those instructions. This option is the default on FreeBSD, +OpenBSD and NetBSD@. This option is overridden when @option{-march} +indicates that the target cpu will always have an FPU and so the +instruction will not need emulation. As of revision 2.6.1, these +instructions are not generated unless you also use the +@option{-funsafe-math-optimizations} switch. @item -malign-double @itemx -mno-align-double |