From 84a5dbce41b185530f67d49edfc82986e37356f3 Mon Sep 17 00:00:00 2001 From: das Date: Sun, 10 Aug 2008 19:02:57 +0000 Subject: 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. --- contrib/gcc/config/i386/freebsd.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'contrib/gcc') 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 -- cgit v1.1