diff options
author | das <das@FreeBSD.org> | 2008-08-10 19:02:57 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2008-08-10 19:02:57 +0000 |
commit | 84a5dbce41b185530f67d49edfc82986e37356f3 (patch) | |
tree | 18491cdb58b3de14cc7f19e23e397f674ec8840d /contrib/gcc | |
parent | e5067d55c3287c93c340c4d0436ed76a93d2f8b2 (diff) | |
download | FreeBSD-src-84a5dbce41b185530f67d49edfc82986e37356f3.zip FreeBSD-src-84a5dbce41b185530f67d49edfc82986e37356f3.tar.gz |
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.
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/config/i386/freebsd.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index 97f725b..53de63f 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -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 |