summaryrefslogtreecommitdiff
path: root/gcc/target.def
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-27 14:17:36 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-27 14:17:36 +0000
commit6c2d9e41bd78b2d0671431f523933ff3606db874 (patch)
treec11396d3bdf8e3a81e9606d61321ebfaf8526942 /gcc/target.def
parent414a9d63ca2871b389705f0e34b2bddacdfa9009 (diff)
downloadgcc-6c2d9e41bd78b2d0671431f523933ff3606db874.tar.gz
* sched-int.h (struct _haifa_deps_insn_data): New members cond
and reverse_cond. (INSN_COND, INSN_REVERSE_COND): New macros. * sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev once. (sched_get_condition_with_rev): Cache the results, and look them up if possible. (sched_analyze_insn): Destroy INSN_COND of previous insns if they are clobbered by the current insn. * target.def (exposed_pipline): New sched data hook. * doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook. * doc/tm.texi: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.def')
-rw-r--r--gcc/target.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/target.def b/gcc/target.def
index 6137e976619..ea283f374ef 100644
--- a/gcc/target.def
+++ b/gcc/target.def
@@ -897,6 +897,13 @@ DEFHOOK
bool, (rtx insn, int x),
hook_bool_rtx_int_false)
+DEFHOOKPOD
+(exposed_pipeline,
+"True if the processor has an exposed pipeline, which means that not just\n\
+the order of instructions is important for correctness when scheduling, but\n\
+also the latencies of operations.",
+bool, false)
+
HOOK_VECTOR_END (sched)
/* Functions relating to vectorization. */