aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2020-01-27 01:33:42 +0100
committerHans-Peter Nilsson <hp@axis.com>2020-05-09 03:41:35 +0200
commita4f15e7ae10e2ac5f3baa4c1d5e16801e5967c18 (patch)
tree6d73fcb043e083e94e5fcafe289f82b6dd273707 /gcc
parenta792c62c17aed562f415771b0f89b399470b4fee (diff)
downloadgcc-a4f15e7ae10e2ac5f3baa4c1d5e16801e5967c18.zip
gcc-a4f15e7ae10e2ac5f3baa4c1d5e16801e5967c18.tar.gz
gcc-a4f15e7ae10e2ac5f3baa4c1d5e16801e5967c18.tar.bz2
config/cris/cris.h (REVERSIBLE_CC_MODE): Define to true.
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/cris/cris.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3928ee7..dec4b5f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h
index e721d12..bc07dd5 100644
--- a/gcc/config/cris/cris.h
+++ b/gcc/config/cris/cris.h
@@ -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 */