i386.c (ix86_fpmath, [...]): New.
authorJan Hubicka <jh@suse.cz>
Fri, 14 Dec 2001 11:20:27 +0000 (12:20 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 14 Dec 2001 11:20:27 +0000 (11:20 +0000)
commit965f5423cdab8320a22279d1e84bd3294d235184
tree1d2e0ade9803c9559e66c4185f49776d5660b896
parent009c32817af8cfcdef68d05da04a930c448dd4f3
i386.c (ix86_fpmath, [...]): New.

Fri Dec 14 12:05:14 CET 2001  Jan Hubicka  <jh@suse.cz>

* i386.c (ix86_fpmath, ix86_fpmath_string): New.
(override_option): Set ix86_fpmath.
* i386.h (MASK_MIX_SSE_I387): Remove.
(TARGET_SSE_MATH): New.
(TARGET_MIX_SSE_I387): Use ix86_fpmath.
(TARGET_SWITCHES): Remove "mix-sse-i387".
(fpmath_unit): New enum.
(ix86_fpmath, ix86_fpmath_string): Declare.
* i386.md (swapsf): Fix condition.
(add?f, sub?f, mul?f, div?f, sqrt?f, min?f): Use TARGET_SSE_MATH.
(fp_?f_*_nosse): New.
(fp_*): Use TARGET_SSE_MATH.
* invoke.texi (-mfpmath): Document.
(-msse2): Add.

From-SVN: r47999
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/doc/invoke.texi