aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJames Van Artsdalen <jrv@gnu.org>1992-10-10 09:31:37 +0000
committerJames Van Artsdalen <jrv@gnu.org>1992-10-10 09:31:37 +0000
commit0041680483b7108a571266fcc0cdfa7305fab88d (patch)
tree84c6620e1e5590d3cb5733599a9b2a5d80ba3fd9 /gcc
parentc4756552404234af1fd900f17f3aa21b0610d0b2 (diff)
downloadgcc-0041680483b7108a571266fcc0cdfa7305fab88d.zip
gcc-0041680483b7108a571266fcc0cdfa7305fab88d.tar.gz
gcc-0041680483b7108a571266fcc0cdfa7305fab88d.tar.bz2
(TARGET_DEFAULT): New macro - don't make TARGET_IEE_FP default for SCO.
From-SVN: r2390
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/sco.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config/i386/sco.h b/gcc/config/i386/sco.h
index 28c3af4..8f1c8a0 100644
--- a/gcc/config/i386/sco.h
+++ b/gcc/config/i386/sco.h
@@ -5,6 +5,17 @@
#include "i386v.h"
+/* By default, target has a 80387, uses IEEE compatible arithmetic,
+ and returns float values in the 387, ie,
+ (TARGET_80387 | TARGET_FLOAT_RETURNS_IN_80387)
+
+ SCO's software emulation of a 387 fails to handle the `fucomp'
+ opcode. fucomp is only used when generating IEEE compliant code.
+ So don't make TARGET_IEEE_FP default for SCO. */
+
+#undef TARGET_DEFAULT
+#define TARGET_DEFAULT 0201
+
/* Use crt1.o as a startup file and crtn.o as a closing file. */
#undef STARTFILE_SPEC