diff options
author | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-22 07:26:00 +0000 |
---|---|---|
committer | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-22 07:26:00 +0000 |
commit | d9d89d92ed2db17abea5f21c65dc2a4e83382945 (patch) | |
tree | ee9f4c968ffd6c4f3e6f24c445abeb18d376052e /gcc/sel-sched.c | |
parent | 507af1c13e34764d40f217334513bacd4924e1f9 (diff) | |
download | gcc-d9d89d92ed2db17abea5f21c65dc2a4e83382945.tar.gz |
Cleanup and improve multipass_dfa_lookahead_guard
* config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,)
(core2i7_first_cycle_multipass_begin,)
(core2i7_first_cycle_multipass_issue,)
(core2i7_first_cycle_multipass_backtrack): Update signature.
* config/ia64/ia64.c
(ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove.
(ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature.
(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove
hook definition.
(ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from
ia64_first_cycle_multipass_dfa_lookahead_guard_spec. Update return
values.
* config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update
return values.
* doc/tm.texi: Regenerate.
* doc/tm.texi.in
(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove.
* haifa-sched.c (ready_try): Make signed to allow negative values.
(rebug_ready_list_1): Update.
(choose_ready): Simplify.
(sched_extend_ready_list): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210747 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sel-sched.c')
-rw-r--r-- | gcc/sel-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index e255d62c7c3..0c864acd7f7 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -4225,7 +4225,7 @@ invoke_dfa_lookahead_guard (void) if (! have_hook || i == 0) r = 0; else - r = !targetm.sched.first_cycle_multipass_dfa_lookahead_guard (insn); + r = targetm.sched.first_cycle_multipass_dfa_lookahead_guard (insn, i); gcc_assert (INSN_CODE (insn) >= 0); |