config/cris/cris.h (REVERSIBLE_CC_MODE): Define to true.
authorHans-Peter Nilsson <hp@axis.com>
Mon, 27 Jan 2020 00:33:42 +0000 (01:33 +0100)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 9 May 2020 01:41:35 +0000 (03:41 +0200)
For some reason (like a buglet in the user in jump.c), defining this makes
a beneficial difference in ledf2, thus this is separated to its own commit.
Also, add comment on (not defining) REVERSE_CONDITION.

gcc:
* config/cris/cris.h (REVERSIBLE_CC_MODE): Define to true.

gcc/ChangeLog
gcc/config/cris/cris.h

index 3928ee7..dec4b5f 100644 (file)
@@ -40,6 +40,8 @@
 
        * config/cris/cris.c (TARGET_FLAGS_REGNUM): Define.
 
+       * config/cris/cris.h (REVERSIBLE_CC_MODE): Define to true.
+
 2020-05-08  Vladimir Makarov  <vmakarov@redhat.com>
 
        * ira-color.c (update_costs_from_allocno): Remove
index e721d12..bc07dd5 100644 (file)
@@ -701,6 +701,9 @@ struct cum_args {int regs;};
 /* FIXME: Maybe define TARGET_CANONICALIZE_COMPARISON later, when
    playing with optimizations.  Definitely define SELECT_CC_MODE.  */
 
+#define REVERSIBLE_CC_MODE(MODE) true
+
+/* No known need to define REVERSE_CONDITION, the default is good.  */
 
 /* Node: Costs */