* arm.h (REVERSE_CONDITION): Define.
(REVERSIBLE_CC_MODE): All comparisons are now reversible.
From-SVN: r86738
+2004-08-29 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm.h (REVERSE_CONDITION): Define.
+ (REVERSIBLE_CC_MODE): All comparisons are now reversible.
+
2004-08-29 Richard Earnshaw <rearnsha@arm.com>
* flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not
2004-08-29 Richard Earnshaw <rearnsha@arm.com>
* flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not
#define SELECT_CC_MODE(OP, X, Y) arm_select_cc_mode (OP, X, Y)
#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 \
#define CANONICALIZE_COMPARISON(CODE, OP0, OP1) \
do \