From: Richard Earnshaw Date: Sun, 29 Aug 2004 22:18:25 +0000 (+0000) Subject: arm.h (REVERSE_CONDITION): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=880873be2de242fcc62e4fb303b916f4897b0c14;p=gcc.git arm.h (REVERSE_CONDITION): Define. * arm.h (REVERSE_CONDITION): Define. (REVERSIBLE_CC_MODE): All comparisons are now reversible. From-SVN: r86738 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4134edff1f..888f316d5fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-08-29 Richard Earnshaw + + * arm.h (REVERSE_CONDITION): Define. + (REVERSIBLE_CC_MODE): All comparisons are now reversible. + 2004-08-29 Richard Earnshaw * flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 23e72ab184d..37bda83091a 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -2304,7 +2304,12 @@ extern int making_const_table; #define SELECT_CC_MODE(OP, X, Y) arm_select_cc_mode (OP, X, Y) -#define REVERSIBLE_CC_MODE(MODE) ((MODE) != CCFPEmode) +#define REVERSIBLE_CC_MODE(MODE) 1 + +#define REVERSE_CONDITION(CODE,MODE) \ + (((MODE) == CCFPmode || (MODE) == CCFPEmode) \ + ? reverse_condition_maybe_unordered (code) \ + : reverse_condition (code)) #define CANONICALIZE_COMPARISON(CODE, OP0, OP1) \ do \