aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.def
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-04-07 02:24:45 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-04-07 02:24:45 -0700
commit0c99ec5c426117d4cd53e64e9ad4b22f3a903f36 (patch)
treea36fbb677db9b9d77dd79d4991fb6f4bd8349ebc /gcc/rtl.def
parent4c85a96d6e0a24baeeb64a13e1d522b5ee04d76f (diff)
downloadgcc-0c99ec5c426117d4cd53e64e9ad4b22f3a903f36.zip
gcc-0c99ec5c426117d4cd53e64e9ad4b22f3a903f36.tar.gz
gcc-0c99ec5c426117d4cd53e64e9ad4b22f3a903f36.tar.bz2
rtl.def (COND_EXEC): New.
* rtl.def (COND_EXEC): New. * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New. * tm.texi (MAX_CONDITIONAL_EXECUTE): Document. * genconfig.c (have_cond_arith_flag): Remove. (have_cond_exec_flag): New. (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE. (main): Print HAVE_conditional_execution. * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC. (sched_analyze_insn, print_pattern): Likewise. * reload.c (find_equiv_reg): Likewise. * rtlanal.c (reg_referenced_p): Likewise. (note_stores, dead_or_set_regno_p): Likewise. (reg_overlap_mentioned_p): Rewrite to use a switch. From-SVN: r32997
Diffstat (limited to 'gcc/rtl.def')
-rw-r--r--gcc/rtl.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/rtl.def b/gcc/rtl.def
index 570abdc..69c14e0 100644
--- a/gcc/rtl.def
+++ b/gcc/rtl.def
@@ -900,6 +900,13 @@ DEF_RTL_EXPR(CALL_PLACEHOLDER, "call_placeholder", "uuuu", 'x')
of canonical RTL. It is, however, easier to manipulate this way. */
DEF_RTL_EXPR(PHI, "phi", "E", 'x')
+/* Conditionally execute code.
+ Operand 0 is the condition that if true, the code is executed.
+ Operand 1 is the code to be executed (typically a SET).
+
+ Semantics are that there are no side effects if the condition
+ is false. */
+DEF_RTL_EXPR(COND_EXEC, "cond_exec", "ee", 'x')
/*
Local variables: