aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-25 14:20:53 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-25 14:20:53 -0400
commit099800e348474c5a682b1f61aa571c58051b2194 (patch)
tree94613f43d119a1107495d0e012610a1afe3bcc36 /gcc
parent8fbb5aeb7ca64ba8e198a0088ac14461d6860367 (diff)
downloadgcc-099800e348474c5a682b1f61aa571c58051b2194.zip
gcc-099800e348474c5a682b1f61aa571c58051b2194.tar.gz
gcc-099800e348474c5a682b1f61aa571c58051b2194.tar.bz2
(TARGET_NO_FANCY_MATH_387): New option.
From-SVN: r7151
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/i386.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index f879b18..828a8f7 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -90,6 +90,10 @@ extern int target_flags;
the 387 to be used, which is compatible with most calling conventions. */
#define TARGET_FLOAT_RETURNS_IN_80387 (target_flags & 0200)
+/* Disable generation of FP sin, cos and sqrt operations for 387.
+ This is because FreeBSD lacks these in the math-emulator-code */
+#define TARGET_NO_FANCY_MATH_387 (target_flags & 0400)
+
/* Macro to define tables used to set the flags.
This is a list in braces of pairs in braces,
each pair being { "NAME", VALUE }
@@ -114,6 +118,8 @@ extern int target_flags;
{ "no-ieee-fp", -0100}, \
{ "fp-ret-in-387", 0200}, \
{ "no-fp-ret-in-387", -0200}, \
+ { "no-fancy-math-387", 0400}, \
+ { "fancy-math-387", -0400}, \
SUBTARGET_SWITCHES \
{ "", TARGET_DEFAULT | TARGET_CPU_DEFAULT}}