public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/autopar_devel] config/cris/cris.h (REVERSIBLE_CC_MODE): Define to true.
@ 2020-08-22 21:01 Giuliano Belinassi
0 siblings, 0 replies; only message in thread
From: Giuliano Belinassi @ 2020-08-22 21:01 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:66557e68965e1b2f97e80ee2c3a498131ccfbb77
commit 66557e68965e1b2f97e80ee2c3a498131ccfbb77
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Mon Jan 27 01:33:42 2020 +0100
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.
Diff:
---
gcc/ChangeLog | 2 ++
gcc/config/cris/cris.h | 3 +++
2 files changed, 5 insertions(+)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3928ee780bf..dec4b5f98a9 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 e721d12d0a2..bc07dd5418d 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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-22 21:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 21:01 [gcc/devel/autopar_devel] config/cris/cris.h (REVERSIBLE_CC_MODE): Define to true Giuliano Belinassi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).