From 62acf5fda199986b46c9e3c6a510adab77ae8b49 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Tue, 5 Nov 1996 22:41:13 +0000 Subject: [PATCH] (CC_FCOMI): Define From-SVN: r13100 --- gcc/config/i386/i386.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index f556745fa4e..a4209542dcf 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. -- 2.30.2