Make -mfancy-math-387 the default on FreeBSD, as it is on most other

operating systems. Previously, gcc would inhibit the generation of
fsqrt, fsin, and several other floating point instructions, for the
benefit of the old in-kernel math emulator, which was removed over 5
years ago.
This commit is contained in:
David Schultz 2008-08-10 19:02:57 +00:00
parent 86e82d6ef7
commit 1b93600c85

View File

@ -86,11 +86,6 @@ Boston, MA 02110-1301, USA. */
#define TARGET_ELF 1
/* This goes away when the math emulator is fixed. */
#undef TARGET_SUBTARGET_DEFAULT
#define TARGET_SUBTARGET_DEFAULT \
(MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387)
/* Don't default to pcc-struct-return, we want to retain compatibility with
older gcc versions AND pcc-struct-return is nonreentrant.
(even though the SVR4 ABI for the i386 says that records and unions are