]> gcc.gnu.org Git - gcc.git/commitdiff
(TARGET_NO_FANCY_MATH_387): New option.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Apr 1994 18:20:53 +0000 (14:20 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 25 Apr 1994 18:20:53 +0000 (14:20 -0400)
From-SVN: r7151

gcc/config/i386/i386.h

index f879b18a9f190dd7210582783f48850604f63ef9..828a8f7e8f516ea6a05a883fc5ba2a6b27df2a7d 100644 (file)
@@ -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}}
 
This page took 0.061975 seconds and 5 git commands to generate.