[haifa-sched] model load/store multiples properly in autoprefetcher scheduling
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 19 Oct 2015 09:23:07 +0000 (09:23 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Mon, 19 Oct 2015 09:23:07 +0000 (09:23 +0000)
commit613743a2cb9e09a864e0b913cbb7721d96c2079d
tree28d9759757f90c9e8bdef847447a24705e156f03
parenteb5ea58e9edce24e6142e6f6f5d9ab0d1dfc4c84
[haifa-sched] model load/store multiples properly in autoprefetcher scheduling

* sched-int.h (struct autopref_multipass_data_): Remove offset
field.  Add min_offset, max_offset, multi_mem_insn_p fields.
* haifa-sched.c (analyze_set_insn_for_autopref): New function.
(autopref_multipass_init): Use it.  Handle PARALLEL sets.
(autopref_rank_data): New function.
(autopref_rank_for_schedule): Use it.
(autopref_multipass_dfa_lookahead_guard_1): Likewise.

From-SVN: r228962
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-int.h