aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1996-11-05 22:41:13 +0000
committerStan Cox <coxs@gnu.org>1996-11-05 22:41:13 +0000
commit62acf5fda199986b46c9e3c6a510adab77ae8b49 (patch)
tree7263b8b19f3147f3f578ec1f4a62c32ba861b49b /gcc
parent4f74d15b9dc2d95340d17f97038d0f07d4a4427e (diff)
downloadgcc-62acf5fda199986b46c9e3c6a510adab77ae8b49.zip
gcc-62acf5fda199986b46c9e3c6a510adab77ae8b49.tar.gz
gcc-62acf5fda199986b46c9e3c6a510adab77ae8b49.tar.bz2
(CC_FCOMI): Define
From-SVN: r13100
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/i386/i386.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index f556745..a420954 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -546,7 +546,7 @@ extern int ix86_arch;
: FP_REGNO_P (REGNO) \
? (((int) GET_MODE_CLASS (MODE) == (int) MODE_FLOAT \
|| (int) GET_MODE_CLASS (MODE) == (int) MODE_COMPLEX_FLOAT) \
- && GET_MODE_UNIT_SIZE (MODE) <= 12) \
+ && GET_MODE_UNIT_SIZE (MODE) <= (LONG_DOUBLE_TYPE_SIZE == 96 ? 12 : 8))\
: (int) (MODE) != (int) QImode ? 1 \
: (reload_in_progress | reload_completed) == 1)
@@ -2233,7 +2233,7 @@ extern struct rtx_def *(*i386_compare_gen)(), *(*i386_compare_gen_eq)();
/* Here we define machine-dependent flags and fields in cc_status
(see `conditions.h'). */
-/* Set if the cc value is was actually from the 80387 and
+/* Set if the cc value was actually from the 80387 and
we are testing eax directly (i.e. no sahf) */
#define CC_TEST_AX 020000
@@ -2245,6 +2245,10 @@ extern struct rtx_def *(*i386_compare_gen)(), *(*i386_compare_gen_eq)();
the state of equality is indicated by zero in the carry bit. */
#define CC_Z_IN_NOT_C 010000
+/* Set if the CC value was actually from the 80387 and loaded directly
+ into the eflags instead of via eax/sahf. */
+#define CC_FCOMI 040000
+
/* Store in cc_status the expressions
that the condition codes will describe
after execution of an instruction whose pattern is EXP.